19 KiB
Raw Blame History

title, description, ms.reviewer, ms.technology, ms.prod, ms.sitesec, ms.localizationpriority, author, ms.author, manager, audience, ms.collection, ms.topic, ms.date, ms.custom
title description ms.reviewer ms.technology ms.prod ms.sitesec ms.localizationpriority author ms.author manager audience ms.collection ms.topic ms.date ms.custom
Enforcing BitLocker policies by using Intune known issues provides assistance for issues that you may see if you use Microsoft Intune policy to manage silent BitLocker encryption on devices. kaushika windows w10 library medium Teresa-Motiv v-tea kaushika ITPro Windows Security Technologies\BitLocker troubleshooting 10/18/2019 bitlocker

Enforcing BitLocker policies by using Intune: known issues

This article helps you troubleshoot issues that you may experience if you use Microsoft Intune policy to manage silent BitLocker encryption on devices. The Intune portal indicates whether BitLocker has failed to encrypt one or more managed devices.

:::image type="content" alt-text="The BitLocker status indictors on the Intune portal." source="./images/4509189-en-1.png" lightbox="./images/4509189-en-1.png":::

To start narrowing down the cause of the problem, review the event logs as described in Troubleshoot BitLocker. Concentrate on the Management and Operations logs in the Applications and Services logs\Microsoft\Windows\BitLocker-API folder. The following sections provide more information about how to resolve the indicated events and error messages:

If you do not have a clear trail of events or error messages to follow, other areas to investigate include the following:

For information about how to verify that Intune policies are enforcing BitLocker correctly, see Verifying that BitLocker is operating correctly.

Event ID 853: Error: A compatible Trusted Platform Module (TPM) Security Device cannot be found on this computer

Event ID 853 can carry different error messages, depending on the context. In this case, the Event ID 853 error message indicates that the device does not appear to have a TPM. The event information resembles the following:

Details of event ID 853 (TPM is not available, cannot find TPM).

Cause

The device that you are trying to secure may not have a TPM chip, or the device BIOS might be configured to disable the TPM.

Resolution

To resolve this issue, verify the following:

  • The TPM is enabled in the device BIOS.
  • The TPM status in the TPM management console resembles the following:
    • Ready (TPM 2.0)
    • Initialized (TPM 1.2)

For more information, see Troubleshoot the TPM.

Event ID 853: Error: BitLocker Drive Encryption detected bootable media (CD or DVD) in the computer

In this case, you see event ID 853, and the error message in the event indicates that bootable media is available to the device. The event information resembles the following.

Details of event ID 853 (TPM is not available, bootable media found).

Cause

During the provisioning process, BitLocker Drive Encryption records the configuration of the device to establish a baseline. If the device configuration changes later (for example, if you remove the media), BitLocker recovery mode automatically starts.

To avoid this situation, the provisioning process stops if it detects removable bootable media.

Resolution

Remove the bootable media, and restart the device. After the device restarts, verify the encryption status.

Event ID 854: WinRE is not configured

The event information resembles the following:

Failed to enable Silent Encryption. WinRe is not configured.

Error: This PC cannot support device encryption because WinRE is not properly configured.

Cause

Windows Recovery Environment (WinRE) is a minimal Windows operating system that is based on Windows Preinstallation Environment (Windows PE). WinRE includes several tools that an administrator can use to recover or reset Windows and diagnose Windows issues. If a device cannot start the regular Windows operating system, the device tries to start WinRE.

The provisioning process enables BitLocker Drive Encryption on the operating system drive during the Windows PE phase of provisioning. This action makes sure that the drive is protected before the full operating system is installed. The provisioning process also creates a system partition for WinRE to use if the system crashes.

If WinRE is not available on the device, provisioning stops.

Resolution

You can resolve this issue by verifying the configuration of the disk partitions, the status of WinRE, and the Windows Boot Loader configuration. To do this, follow these steps.

Step 1: Verify the configuration of the disk partitions

The procedures described in this section depend on the default disk partitions that Windows configures during installation. Windows 11 and Windows 10 automatically create a recovery partition that contains the Winre.wim file. The partition configuration resembles the following.

Default disk partitions, including the recovery partition.

To verify the configuration of the disk partitions, open an elevated Command Prompt window, and run the following commands:

diskpart 
list volume

Output of the list volume command in the Diskpart app.

If the status of any of the volumes is not healthy or if the recovery partition is missing, you may have to reinstall Windows. Before you do this, check the configuration of the Windows image that you are using for provisioning. Make sure that the image uses the correct disk configuration. The image configuration should resemble the following (this example is from Microsoft Endpoint Configuration Manager).

Windows image configuration in Microsoft Endpoint Configuration Manager.

Step 2: Verify the status of WinRE

To verify the status of WinRE on the device, open an elevated Command Prompt window and run the following command:

reagentc /info

The output of this command resembles the following.

Output of the reagentc /info command.

If the Windows RE status is not Enabled, run the following command to enable it:

reagentc /enable

Step 3: Verify the Windows Boot Loader configuration

If the partition status is healthy, but the reagentc /enable command results in an error, verify that Windows Boot Loader contains the recovery sequence GUID. To do this, run the following command in an elevated Command Prompt window:

bcdedit /enum all

The output of this command resembles the following.

:::image type="content" alt-text="Output of the bcdedit /enum all command." source="./images/4509196-en-1.png" lightbox="./images/4509196-en-1.png":::

In the output, locate the Windows Boot Loader section that includes the line identifier={current}. In that section, locate the recoverysequence attribute. The value of this attribute should be a GUID value, not a string of zeros.

Event ID 851: Contact the manufacturer for BIOS upgrade instructions

The event information resembles the following:

Failed to enable Silent Encryption.

Error: BitLocker Drive Encryption cannot be enabled on the operating system drive. Contact the computer manufacturer for BIOS upgrade instructions.

Cause

The device must have Unified Extensible Firmware Interface (UEFI) BIOS. Silent BitLocker Drive Encryption does not support legacy BIOS.

Resolution

To verify the BIOS mode, use the System Information app. To do this, follow these steps:

  1. Select Start, and enter msinfo32 in the Search box.

  2. Verify that the BIOS Mode setting is UEFI and not Legacy.

    System Information app, showing the BIOS Mode setting.

  3. If the BIOS Mode setting is Legacy, you have to switch the BIOS into UEFI or EFI mode. The steps for doing this are specific to the device.

    Note

    If the device supports only Legacy mode, you cannot use Intune to manage BitLocker Device Encryption on the device.

Error message: The UEFI variable 'SecureBoot' could not be read

You receive an error message that resembles the following:

Error: BitLocker cannot use Secure Boot for integrity because the UEFI variable 'SecureBoot' could not be read. A required privilege is not held by the client.

Cause

A Platform Configuration Register (PCR) is a memory location in the TPM. In particular, PCR 7 measures the state of Secure Boot. Silent BitLocker Drive Encryption requires that Secure Boot is turned on.

Resolution

You can resolve this issue by verifying the PCR validation profile of the TPM and the Secure Boot state. To do this, follow these steps:

Step 1: Verify the PCR validation profile of the TPM

To verify that PCR 7 is in use, open an elevated Command Prompt window and run the following command:

Manage-bde -protectors -get %systemdrive%

In the TPM section of the output of this command, verify that the PCR Validation Profile setting includes 7, as follows.

Output of the manage-bde command.

If PCR Validation Profile doesn't include 7 (for example, the values include 0, 2, 4, and 11, but not 7), then Secure Boot is not turned on.

Output of the manage-bde command when PCR 7 is not present.

2. Verify the Secure Boot state

To verify the Secure Boot state, use the System Information app. To do this, follow these steps:

  1. Select Start, and enter msinfo32 in the Search box.

  2. Verify that the Secure Boot State setting is On, as follows:

    System Information app, showing a supported Secure Boot State.

  3. If the Secure Boot State setting is Unsupported, you cannot use Silent BitLocker Encryption on this device.

    System Information app, showing a unsupported Secure Boot State.

Note

You can also use the Confirm-SecureBootUEFI cmdlet to verify the Secure Boot state. To do this, open an elevated PowerShell window and run the following command:

PS C:\> Confirm-SecureBootUEFI

If the computer supports Secure Boot and Secure Boot is enabled, this cmdlet returns "True."

If the computer supports Secure Boot and Secure Boot is disabled, this cmdlet returns "False."

If the computer does not support Secure Boot or is a BIOS (non-UEFI) computer, this cmdlet returns "Cmdlet not supported on this platform."

Event ID 846, 778, and 851: Error 0x80072f9a

In this case, you are deploying Intune policy to encrypt a Windows 11, Windows 10, version 1809 device, and store the recovery password in Azure Active Directory (Azure AD). As part of the policy configuration, you have selected the Allow standard users to enable encryption during Azure AD Join option.

The policy deployment fails and generates the following events (visible in Event Viewer in the Applications and Services Logs\Microsoft\Windows\BitLocker API folder):

Event ID:846

Event: Failed to backup BitLocker Drive Encryption recovery information for volume C: to your Azure AD.

TraceId: {cbac2b6f-1434-4faa-a9c3-597b17c1dfa3} Error: Unknown HResult Error code: 0x80072f9a

Event ID:778

Event: The BitLocker volume C: was reverted to an unprotected state.

Event ID: 851

Event: Failed to enable Silent Encryption.

Error: Unknown HResult Error code: 0x80072f9a.

These events refer to Error code 0x80072f9a.

Cause

These events indicate that the signed-in user does not have permission to read the private key on the certificate that is generated as part of the provisioning and enrollment process. Therefore, the BitLocker MDM policy refresh fails.

The issue affects Windows 11 and Windows 10 version 1809.

Resolution

To resolve this issue, install the May 21, 2019 update.

Error message: There are conflicting Group Policy settings for recovery options on operating system drives

You receive a message that resembles the following:

Error: BitLocker Drive Encryption cannot be applied to this drive because there are conflicting Group Policy settings for recovery options on operating system drives. Storing recovery information to Active Directory Domain Services cannot be required when the generation of recovery passwords is not permitted. Please have your system administrator resolve these policy conflicts before attempting to enable BitLocker…

Resolution

To resolve this issue, review your Group Policy Object (GPO) settings for conflicts. For further guidance, see the next section, Review your BitLocker policy configuration.

For more information about GPOs and BitLocker, see BitLocker Group Policy Reference.

Review your BitLocker policy configuration

For information about how to use policy together with BitLocker and Intune, see the following resources:

Intune offers the following enforcement types for BitLocker:

  • Automatic (Enforced when the device joins Azure AD during the provisioning process. This option is available in Windows 10 version 1703 and later, or Windows 11.)
  • Silent (Endpoint protection policy. This option is available in Windows 10 version 1803 and later, or Windows 11.)
  • Interactive (Endpoint policy for Windows versions that are older than Windows 10 version 1803, or Windows 11.)

If your device runs Windows 10 version 1703 or later, or Windows 11, supports Modern Standby (also known as Instant Go) and is HSTI-compliant, joining the device to Azure AD triggers automatic device encryption. A separate endpoint protection policy is not required to enforce device encryption.

If your device is HSTI-compliant but does not support Modern Standby, you have to configure an endpoint protection policy to enforce silent BitLocker Drive Encryption. The settings for this policy should resemble the following:

Intune policy settings.

The OMA-URI references for these settings are as follows:

  • OMA-URI: ./Device/Vendor/MSFT/BitLocker/RequireDeviceEncryption
    Value Type: Integer
    Value: 1  (1 = Require, 0 = Not Configured)

  • OMA-URI: ./Device/Vendor/MSFT/BitLocker/AllowWarningForOtherDiskEncryption
    Value Type: Integer
    Value: 0 (0 = Blocked, 1 = Allowed)

Note

Because of an update to the BitLocker Policy CSP, if the device uses Windows 10 version 1809 or later, or Windows 11, you can use an endpoint protection policy to enforce silent BitLocker Device Encryption even if the device is not HSTI-compliant.

Note

If the Warning for other disk encryption setting is set to Not configured, you have to manually start the BitLocker Drive Encryption wizard.

If the device does not support Modern Standby but is HSTI-compliant, and it uses a version of Windows that is earlier than Windows 10, version 1803, or Windows 11, an endpoint protection policy that has the settings that are described in this article delivers the policy configuration to the device. However, Windows then notifies the user to manually enable BitLocker Drive Encryption. To do this, the user selects the notification. This action starts the BitLocker Drive Encryption wizard.

The Intune 1901 release provides settings that you can use to configure automatic device encryption for Autopilot devices for standard users. Each device must meet the following requirements:

  • Be HSTI-compliant
  • Support Modern Standby
  • Use Windows 10 version 1803 or later, or Windows 11

Intune policy setting.

The OMA-URI references for these settings are as follows:

  • OMA-URI: ./Device/Vendor/MSFT/BitLocker/AllowStandardUserEncryption
    Value Type: Integer Value: 1

Note

This node works together with the RequireDeviceEncryption and AllowWarningForOtherDiskEncryption nodes. For this reason, when you set RequireDeviceEncryption to 1, AllowStandardUserEncryption to 1, and AllowWarningForOtherDiskEncryption to 0. Intune can enforce silent BitLocker encryption for Autopilot devices that have standard user profiles.

Verifying that BitLocker is operating correctly

During regular operations, BitLocker Drive Encryption generates events such as Event ID 796 and Event ID 845.

Event ID 796, as shown in Event Viewer.

Event ID 845, as shown in Event Viewer.

You can also determine whether the BitLocker recovery password has been uploaded to Azure AD by checking the device details in the Azure AD Devices section.

BitLocker recovery information as viewed in Azure AD.

On the device, check the Registry Editor to verify the policy settings on the device. Verify the entries under the following subkeys:

  • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PolicyManager\current\device\BitLocker
  • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PolicyManager\current\device

Registry subkeys that relate to Intune policy.