I use BitLocker on the OS drive of every one of my systems. I have always found it to be a pain to manage all the BitLocker keys. Yes, I can store them online, and I even wrote a program to manage keys. But there is a much easier way that I thought I would share:
You can manually change the BitLocker key. I have done this so that all of my systems use the same key and it is a key that I can work out in my head so I have no need to record it anywhere.
To change the key, you need to first disable the existing key, then create a new key of your choosing.
NOTE: Changing the key does NOT require the drive to be re-encrypted. The change happens immediately. Here is how to accomplish this:
Change the Encryption Key on an OS Drive
Get the ID of the BitLocker encrypted volume like this:
NOTE: The ID shown in the next command below is only an example. Make sure to replace it with the ID you obtained in the above command.
Delete the current numerical password key:
Create a new numerical password key:
IMPORTANT:
1) The Numerical Password Key is a 48-digit key made up of 8 groups of 6 numeric digits each.
2) Each 6-digit group must be evenly divisible by 11.
3) Each group of 6 digits must be less than 720896.
4) You can specify the key as one long string of 48 digits or as 8 groups of 6 digits each with a "-" separating each group.
As a bonus, below are all my notes on managing BitLocker from a command line. This is useful for scripting or if you are working with a headless system since some GUI BitLocker operations are not allowed via Remote Desktop but the command line options will work just fine. I put these notes in a code block simply because the formatting is much easier to read that way.
You can manually change the BitLocker key. I have done this so that all of my systems use the same key and it is a key that I can work out in my head so I have no need to record it anywhere.
To change the key, you need to first disable the existing key, then create a new key of your choosing.
NOTE: Changing the key does NOT require the drive to be re-encrypted. The change happens immediately. Here is how to accomplish this:
Change the Encryption Key on an OS Drive
Get the ID of the BitLocker encrypted volume like this:
manage-bde C: -protectors -get -type RecoveryPassword
NOTE: The ID shown in the next command below is only an example. Make sure to replace it with the ID you obtained in the above command.
Delete the current numerical password key:
manage-bde C: protectors -delete -id {48FFDC29-66BA-4C31-974F-407B06A3F7AB}
Create a new numerical password key:
manage-bde C: protectors -add -rp Numerical_Password_Key
IMPORTANT:
1) The Numerical Password Key is a 48-digit key made up of 8 groups of 6 numeric digits each.
2) Each 6-digit group must be evenly divisible by 11.
3) Each group of 6 digits must be less than 720896.
4) You can specify the key as one long string of 48 digits or as 8 groups of 6 digits each with a "-" separating each group.
As a bonus, below are all my notes on managing BitLocker from a command line. This is useful for scripting or if you are working with a headless system since some GUI BitLocker operations are not allowed via Remote Desktop but the command line options will work just fine. I put these notes in a code block simply because the formatting is much easier to read that way.
Code:
Managing BitLocker from the Command Line
Before you follow any of the steps below, note that you should replace drive letters that I show in the commands, such as C: or D:, with the correct
drive letter for your system.
*****************************
* Working with the OS Drive *
*****************************
********************************************
* Encrypting an OS Drive not Yet Encrypted *
********************************************
If the drive is not yet encrypted, you can enable encryption like this:
manage-bde -on C: -rp -used -s -em xts_aes128
NOTE: The above command does not allow you to specify the key to be used. If you want to use a specific key, first encrypt the OS drive using the
command above (or use the GUI). Then use the steps below to change the key to a specific key that you can specify.
********************************************
* Change the Encryption Key on an OS Drive *
********************************************
Get the ID of the BitLocker encrypted volume like this:
manage-bde C: -protectors -get -type RecoveryPassword
NOTE: The ID shown in the next command below is only an example. Make sure to replace it with the ID you obtained in the above command.
Delete the current numerical password key:
manage-bde C: protectors -delete -id {48FFDC29-66BA-4C31-974F-407B06A3F7AB}
Create a new numerical password key:
manage-bde C: protectors -add -rp Numerical_Password_Key
IMPORTANT:
1) The Numerical Password Key is a 48-digit key made up of 8 groups of 6 numeric digits each.
2) Each 6-digit group must be evenly divisible by 11.
3) Each group of 6 digits must be less than 720896.
4) You can specify the key as one long string of 48 digits or as 8 groups of 6 digits each with a "-" separating each group.
********************************************
* Working with Data Drives (Non-OS Drives) *
********************************************
**********************************************
* Encrypting a Data Drive (NOT the OS Drive) *
**********************************************
To encrypt a data drive (NOT the OS drive), follow these steps:
manage-bde -on D: -pw -used -em xts_aes128
You will be asked to supply a password and then asked to confirm that password a second time.
*********************************************
* To Auto Unlock a Data Disk Once Encrypted *
*********************************************
manage-bde -autounlock -enable D:
******************************
* How to Disable Auto Unlock *
******************************
manage-bde -autounlock -disable D:
*****************************************************
* How to Clear BitLocker Auto Unlock for all Drives *
*****************************************************
NOTE: In the command below, if your Windows drive has a drive letter other than C:, use that drive letter in the command.
manage-bde -autounlock -clearallkeys C:
***********************************
* To Manually Unlock a Data Drive *
***********************************
manage-bde -Unlock D: -pw
My Computers
System One System Two
-
- OS
- Win11 Pro 24H2
- Computer type
- PC/Desktop
- Manufacturer/Model
- Kamrui Mini PC, Model CK10
- CPU
- Intel i5-12450H
- Memory
- 32GB
- Graphics Card(s)
- No GPU - Built-in Intel Graphics
- Sound Card
- Integrated
- Monitor(s) Displays
- HP Envy 32
- Screen Resolution
- 2560 x 1440
- Hard Drives
- 1 x 2TB NVMe SSD
1 x 4TB NVMe SSD
1 x 4TB 2.5" SSD
- PSU
- 120W "Brick"
- Keyboard
- Corsair K70 Mechanical Keyboard
- Mouse
- Logitech MX Master 3
- Internet Speed
- 1Gb Up / 1 Gb Down
- Browser
- Edge
- Antivirus
- Windows Defender
-
- Operating System
- Win11 Pro 23H2
- Computer type
- Laptop
- Manufacturer/Model
- Lenovo ThinkBook 13x Gen 2
- CPU
- Intel i7-1255U
- Memory
- 16 GB
- Graphics card(s)
- Intel Iris Xe Graphics
- Sound Card
- Realtek® ALC3306-CG codec
- Monitor(s) Displays
- 13.3-inch IPS Display
- Screen Resolution
- WQXGA (2560 x 1600)
- Hard Drives
- 2 TB 4 x 4 NVMe SSD
- PSU
- USB-C / Thunderbolt 4 Power / Charging
- Mouse
- Buttonless Glass Precision Touchpad
- Keyboard
- Backlit, spill resistant keyboard
- Internet Speed
- 1Gb Up / 1Gb Down
- Browser
- Edge
- Antivirus
- Windows Defender
- Other Info
- WiFi 6e / Bluetooth 5.1 / Facial Recognition / Fingerprint Sensor / ToF (Time of Flight) Human Presence Sensor