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
Complete the following steps to configure your environment to use encryption management policies:
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.
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
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.
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.
Configure the PIN or password
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.
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
Managing recovery keys
-
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
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 to view health data. Click Recovery Keys to view recovery keys.
Retrieve a single recovery key
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.
-
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.
- From the Main menu, go to .
- (Optional) Complete these steps to export the recovery keys access log:
- Click .
- Read the warning about the contents of the file and click Generate.
- When the file is ready, click Download
.
- (Optional) Complete these steps to export the recovery keys:
- Click .
- Read the warning about the contents of the file and click Generate.
- When the file is ready, click Download
.
Rotate a recovery key
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
|
Algorithm |
Integer value |
|---|---|
|
AES_128_WITH_DIFFUSER |
1 |
|
AES_256_WITH_DIFFUSER |
2 |
|
AES_128 |
3 |
|
AES_256 |
4 |
encryptionMethodNoDiffuser
|
Algorithm |
Integer value |
|---|---|
|
AES_128 |
3 |
|
AES_256 |
4 |
encryptionMethodWithXtsOs
|
Algorithm |
Integer value |
|---|---|
|
AES_CBC_128 |
3 |
|
AES_CBC_256 |
4 |
|
XTS_AES_128 |
6 |
|
XTS_AES_256 |
7 |