Reference: Windows encryption management

Encryption management policies encrypt drives on endpoints using Windows BitLocker Drive Encryption. For more information, see Microsoft Documentation: BitLocker.

Endpoint requirements

  • Windows 10 Education, Pro Education, Enterprise, or Pro

  • Windows 11 Enterprise or Pro1

  • Windows Server 2019 and later

For more information about Windows endpoint requirements and TPM compatibility, see Microsoft Documentation: BitLocker.

1 Windows 11 endpoints with Arm processors are supported with Enforce 2.4.213 or later. For versions of the Tanium Client that support this architecture, see Client version and operating system requirements.

Configuration requirements

Generate the Key Encryption Key

Before you create a BitLocker policy, you must generate the Key Encryption Key (KEK). Recovery keys are encrypted using this KEK for additional security.

If needed, you can generate a new KEK to replace an existing KEK. If you generate a new KEK, existing keys are re-encrypted using the new KEK.

  1. From the Main menu, go to Modules > Enforce to open the Enforce Overview page. Click Settings cog and then click Endpoint Encryption > General Settings.
  2. Click Generate Key > Generate.
  3. Click Copy to Clipboard copy-clipboard and save the key in a secure location.
    Important: Save this key in a secure location, outside of Tanium Console, for future use. In a disaster recovery scenario, you must use this key to retrieve recovery keys.
  4. Click Save.

Create a database to store the recovery keys

Recovery keys are used to unlock the drive if a user forgets the PIN or password. Before you create and enforce encryption management policies, you must create a database to store the recovery keys. That database can be hosted on the Tanium Module Server (TMS hosted) or you can host it on your own server (self hosted). Hosting the database on the TMS requires no additional configuration beyond selecting the TMS hosted option during configuration. For more information about creating a self-hosted database, see Reference: Creating a self-hosted database to store recovery keys.

For more information about managing recovery keys, see Managing recovery keys

Note: If you configure the optional encryption key recovery portal, a user can retrieve their recovery key by signing in to the encryption key recovery portal to retrieve their recovery key using the recovery key ID or their computer name. Users can only retrieve their own recovery keys.

Install the End-User Notifications service and initialize endpoints

Encryption management policies use the End-User Notifications service to display notifications throughout the encryption process. This service must be installed and initialized on endpoints before you can enforce encryption management policies. For more information, see Installing Enforce.

If this service is not installed and pushed out to endpoints, the policy fails to enforce. In this scenario, the End-User Notifications service is listed as the enforcement failure reason.

Install and configure Direct Connect

Encryption management policies use Direct Connect to transfer encryption keys securely from the client to the recovery key database during the encryption process. This service must be installed and initialized on endpoints before you enforce encryption management policies. For more information, see Installing Direct Connect.

If this service is not installed and pushed out to endpoints, the policy fails to enforce. In this scenario, the Direct Connect service is listed as the enforcement failure reason.

(Optional) Install and configure the encryption key recovery portal

The encryption key recovery portal is an optional self-service website that users can access if they forget their PIN or password. This website is typically internet-facing in a DMZ so that users who forget their PIN or password can access it from another device. For more information, see Reference: Encryption key recovery portal.

Create and enforce the encryption management policy

Create the policy and enforce it on endpoints. For more information, see Create a BitLocker policy.

Endpoint workflow

After the policy is enforced and pushed out to endpoints, the encryption process takes place in several stages.

Note: For endpoints with multiple users, notifications appear for the user with the lowest active session ID. For example, when two users are logged in at the same time, User1 gets the notification but User2 does not. If User1 logs off and User3 logs in, User2 gets the notification because User2 now has the lowest active session ID.

Prepare the drive for encryption

After the policy is enforced on an endpoint, a notification appears to instruct the user to reboot the computer to prepare the drive for encryption. The user can dismiss this message. It appears every hour until the user reboots the computer.

Configure the text for this notification in the Reboot Computer section of the BitLocker policy.

Note: This action is the only BitLocker action that does not automatically repeat if it fails because manual intervention is usually required to recover from a failure during drive preparation. If this action fails on an endpoint, a failure message appears to the user and the policy is reported as unenforced with Failed to prepare volume for encryption as the enforcement error.

Configure the PIN or password

Note: This stage occurs only if you configured the policy for TPM + PIN or Allow BitLocker to run without a compatible TPM.

After the computer reboots, the user is prompted within five minutes to set a PIN or password. Configure the text for this message in the Enter New Credentials section of the BitLocker policy.

After the user enters a PIN or password and clicks Create PIN, a notification appears to alert the user that encryption begins after the next reboot. Configure the text for this message in the Encrypt Hard Drive section of the BitLocker policy. Depending on the operating system configuration, the user might also see a Windows notification that encryption begins after the computer is rebooted.

Encryption occurs

The next time that the user reboots the computer, they are prompted to enter the PIN or password if one was set. Encryption begins. The encryption process is not disruptive. The user sees an icon in the system tray that indicates that the drive is being encrypted, but the user can continue to work. If needed, the user can right click the system tray icon and select to pause the encryption process.

Behavior at subsequent starts or restarts

After encryption completes, users are prompted for the PIN or password each time they start or reboot the computer, if one was set. In the boot screen, users see the instructions for unlocking the drive using the recovery the key if they forget their PIN or password. Configure the text for this pre-boot message in the Key Recovery section of the BitLocker policy.

User forgets the PIN or password

If a user forgets their password, they can use a recovery key to access the operating system. For more information about the self-service workflow with the encryption key recovery portal, see End user self-service workflow. For more information about managing recovery keys from the Enforce workbench, see Managing recovery keys

When a user is prompted to enter the PIN or password, there is an instruction to Press Esc for BitLocker recovery. When the user presses the Esc key, the BitLocker recovery page opens where the user can enter the recovery key for the drive.

After the drive is unlocked, the user is prompted to change the PIN or password within five minutes. On subsequent starts or restarts, the user uses this new PIN or password to unlock the drive.

Prompt the user to reset their PIN or password

Enforce 2.10 and later includes the Enforce - Rotate Bitlocker Password package. You can use this package to prompt a user to change their PIN or password with an End User Notifications prompt. Only TPM and PIN and password (configured using the Allow BitLocker to run without a compatible TPM option for endpoints without a TPM) protectors are supported by this package. For more information about using actions to deploy packages to endpoints, see Deploying actions and playbooks in Console and Interact.

Note: This package is not supported for use on endpoints where a legacy BitLocker policy is enforced.

Suspend and resume BitLocker

During system maintenance or troubleshooting, you might need to temporarily suspend BitLocker. The key protectors are disabled when you suspend BitLocker, which allows you to bypass BitLocker without unencrypting the drive. You can resume BitLocker after you complete the maintenance or troubleshooting without having to encrypt the drive again.

Enforce includes these packages to suspend and resume BitLocker: Enforce - Suspend BitLocker and Enforce - Resume BitLocker.

Enforce - Suspend BitLocker

Use this package to suspend BitLocker on an endpoint. This package has one parameter, rebootcount. Use this parameter to specify the number of reboots before BitLocker automatically resumes. If you set this parameter to 0, BitLocker never automatically resumes and must be manually resumed by running the Enforce - Resume BitLocker package.

Enforce - Resume BitLocker

Use this package to resume BitLocker on an endpoint where it was previously suspended.

When you suspend BitLocker on an enforced endpoint, the BitLocker policy enforcement status is Unenforced with BitLocker has been suspended as the reason.

For more information about using actions to deploy packages to endpoints, see Deploying actions and playbooks in Console and Interact.

Remove BitLocker encryption from an endpoint

  1. Remove the BitLocker policy enforcement on the endpoint. For more information, see Remove an enforcement.
  2. Deploy an action to run one of these packages on the endpoint, depending on the type of drive:
    • Enforce - Decrypt BitLocker: Use this package to decrypt the drive on which the operating system is installed.

    • Enforce - Decrypt BitLocker Fixed Drives: Use this package to decrypt fixed drives other than the operating system drive.

    For more information, see Deploying actions and playbooks in Console and Interact.
    Note:
    • Use the operating system to manually decrypt removable drives.

    • This multi-step design is intentional so that encryption is not removed from a drive if an administrator inadvertently removes enforcement of the policy from an endpoint.

Managing recovery keys

Note:
  • For more information about the roles that can view the recovery keys for users on the Endpoint Encryption page in the Enforce workbench, see User role requirements.

  • You can only view and download keys for endpoints for which you have management rights.

  • Enforce does not automatically delete recovery keys. To view deleted recovery keys, select Show Deleted Keys. If needed, you can manually delete a recovery key by clicking Delete Key trash in the row for that key.

View BitLocker recovery keys

View recovery key information, such as computer name, user name, recovery key ID, and last rotation.

From the Main menu, go to Modules > Enforce > Endpoint Encryption > Overview to view health data. Click Recovery Keys to view recovery keys.

Retrieve a single recovery key

  1. From the Enforce menu, click Endpoint Encryption > Recovery Keys.
  2. In the row for the endpoint for which you want to save the recovery key, click Copy Key copy-clipboard.
    Tip: Use the Platform filter to show only BitLocker keys.
    Example screen capture from Enforce that shows the Platform filter
  3. Save the key to a local file.

Export all recovery keys and the recovery keys access log

You can generate a recovery key access log to audit access to the recovery keys. You can also export endpoint encryption recovery keys to a CSV file to use for disaster recovery purposes. To export recovery keys, you must have the Disk Encryption Recovery Keys - Export permission. This permission is granted only to the Enforce Administrator and Enforce Operator roles by default.

Note:
  • You can download keys only from endpoints for which you have management rights.

  • Generated files are available to download for 10 minutes. After that time, the file must be generated again.

  • You can filter the recovery keys shown on the Recovery Keys page using the Category filter, but this filter is not applied to generated files.

CAUTION: The generated files include sensitive data. Ensure that you store the files in a secure location.
  1. From the Main menu, go to Modules > Enforce > Endpoint Encryption > Recovery Keys.
  2. (Optional) Complete these steps to export the recovery keys access log:
    1. Click Export > Recovery Key Access Log.
    2. Read the warning about the contents of the file and click Generate.
    3. When the file is ready, click Download download_2.0.
  3. (Optional) Complete these steps to export the recovery keys:
    1. Click Export > Recovery Keys.
    2. Read the warning about the contents of the file and click Generate.
    3. When the file is ready, click Download download_2.0.

Rotate a recovery key

  1. From the Enforce menu, click Endpoint Encryption > Recovery Keys.
  2. In the row for the endpoint for which you want to rotate the recovery key, click Rotate Key refresh.

    You can also use the Enforce - Rotate Bitlocker Recovery Keys package to rotate recovery keys for endpoints. For more information about using actions to deploy packages to endpoints, see Deploying actions and playbooks in Console and Interact.

    Note: On endpoints where a legacy BitLocker policy is enforced, this action is supported only for use with operating system drives.

BitLocker encryption method values in exported policies

When you export a BitLocker policy, the encryption method settings appear in the JSON as unsigned integer values rather than algorithm names. Use the following tables to translate these integers to the corresponding algorithm. The mapping depends on which field contains the value, so the same integer can represent different algorithms in different fields.

For more information about these values, see Microsoft Documentation: GetEncryptionMethod method of the Win32_EncryptableVolume class.

encryptionMethod

Table 1. Values for the encryptionMethod field

Algorithm

Integer value

AES_128_WITH_DIFFUSER

1

AES_256_WITH_DIFFUSER

2

AES_128

3

AES_256

4

encryptionMethodNoDiffuser

Table 2. Values for the encryptionMethodNoDiffuser field

Algorithm

Integer value

AES_128

3

AES_256

4

encryptionMethodWithXtsOs

Table 3. Values for the encryptionMethodWithXtsOs field

Algorithm

Integer value

AES_CBC_128

3

AES_CBC_256

4

XTS_AES_128

6

XTS_AES_256

7