Bitlocker question


AshForeth

Member
Member
Local time
4:47 PM
Posts
64
OS
Windows 11 24H2
I have some Bitlocker questions
  1. How does Bitlocker use the TPM, does it store the recovery key in the TPM. What if your machine does not have a TPM?
  2. What happens if the TPM fails and you are prompted for a recovery code. What happens? I notice that it would keep prompting me for the recovery code 3x and then display a recovery screen where it indicated automatic repair is not possible.
  3. When you enter the recovery code, does it actually decrypt the drive? The reason is after I am in the recovery screen I have the option of booting into safe mode. If th drive has't been decrypted, how can that even happen?
  4. What triggers the recovery code. This seems to happen a lot more often than the other OS.
  5. Any tips of living with Bitlocker? I would like ecryption but is a bit scared of being locked out. Currently I do daily backup and save the recovery code. Is there anything else I can do?
 

My Computers

System One System Two

  • OS
    Windows 11 24H2
    Computer type
    Laptop
    Manufacturer/Model
    ASUS ProArt P16
    CPU
    AMD Ryzen AI 9 HX 370 Processor 2.0GHz
    Motherboard
    N/A
    Memory
    64 Gb
    Graphics Card(s)
    NVIDIA® GeForce RTX 4070 Laptop GPU
    Sound Card
    N/A
    Monitor(s) Displays
    N/A
    Screen Resolution
    3840 x 2400
  • Operating System
    Windows 11 23H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home Built
    CPU
    AMD Ryzen 5 5600
    Motherboard
    MSI MS-7C56
    Memory
    32 Gb
    Graphics card(s)
    AMD RX6600
I have some Bitlocker questions
  1. How does Bitlocker use the TPM, does it store the recovery key in the TPM. What if your machine does not have a TPM?
  2. What happens if the TPM fails and you are prompted for a recovery code. What happens? I notice that it would keep prompting me for the recovery code 3x and then display a recovery screen where it indicated automatic repair is not possible.
  3. When you enter the recovery code, does it actually decrypt the drive? The reason is after I am in the recovery screen I have the option of booting into safe mode. If th drive has't been decrypted, how can that even happen?
  4. What triggers the recovery code. This seems to happen a lot more often than the other OS.
  5. Any tips of living with Bitlocker? I would like ecryption but is a bit scared of being locked out. Currently I do daily backup and save the recovery code. Is there anything else I can do?
1) The key is embedded somewhere on both drive and BIOS. I say that because you can actually move the drive to a different PC, and if you've got the recovery key, you can still access the drive. Been there, done that.

2) DO NOT LOOSE YOUR RECOVERY KEY!!! If you loose your recovery key you will not be able to access the drive's contents and will be forced to wipe (reformat) the drive, (and thus loose the contents) in order to use the drive again. Been there, done that :(

3) Not clear on this question - what you do mean you need to boot into "Safe Mode"

4) Things like a BIOS change, hardware change, even something done to the OS. Normally, the drive will automatically unlock when you boot into the PC (OS drive). For Data drives, using a password, there's an option to auto unlock when booting into the PC as well (in keeping things simple).

5) If using a Microsoft Account to log into your PC, when setting up BitLocker, you are asked where you want to install the key (can't be installed on encrypted drive). My suggestion is to install in your Microsoft Account. This way you have it in a secure place when/if you need it. There are also other placement options (again, not on the encrypted drive) so wherever you store, again, do not loose.

Many will opine resetting the TPM will erase the keys, and allow access, No it will not. Also, and obviously for security reasons, Microsoft will not provide any tools or help in recovering any lost keys, so again, don't lose. Been there done, done that.

If you have further questions, please ask.
 
Last edited:

My Computers

System One System Two

  • OS
    Windows 11 Pro 24H2 (Build 26100.3476)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom built
    CPU
    Intel Core 9 Ultra
    Motherboard
    Gigabyte Aorus Z890 Xtreme AI Top
    Memory
    64G (4x16) DDR5 Corsair RGB Dominator Platinum (6400Mhz)
    Graphics Card(s)
    Radeon (XFX MERC 310) RX 7900XT
    Sound Card
    Onboard (ESS Sabre HiFi using Realtek drivers)
    Monitor(s) Displays
    27-inch Eizo Color Edge - CG2700X
    Screen Resolution
    3840 x 2160
    Hard Drives
    4 Samsung NVM 990 Pro drives: 1 X 1TB (OS) 2X TB, 1 X 1TB.
    PSU
    Seasonic TX-1300 (1300 Watts)
    Case
    Cooler Master H500M
    Cooling
    Corsair Link Titan 280 RX RGB
    Keyboard
    Logitech Craft
    Mouse
    Logitech MX Master 3
    Internet Speed
    1TB Download. 512mb Upload
    Browser
    Microsoft Edge Chromium
    Antivirus
    Windows Security
    Other Info
    System used for gaming, photography, music, school.
  • Operating System
    Windows 11 Pro 23H2 (Build 22631.4391)
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo ThinkPad X1 Carbon (Gen 12)
    CPU
    Intel Core Ultra 7 165U vPro® Processor
    Motherboard
    Vendor
    Memory
    32 GB LPDDR5X-6400MHz (Soldered)
    Graphics card(s)
    Intel Graphics
    Sound Card
    Onboard
    Monitor(s) Displays
    14" 2.8K OLED, Anti Reflection, Touch, HDR 500, 400 nits, 120Hz
    Screen Resolution
    2880 x 1800
    Hard Drives
    1 TB SSD M.2 2280 PCIe Gen4 Performance TLC Opal
    PSU
    Vendor
    Case
    Lenovo
    Cooling
    Vapor Chamber Cooling
    Mouse
    Touchpad: Haptic Touchpad
    Keyboard
    Backlit, Black with Fingerprint Reader and WWAN
    Internet Speed
    100MB
    Browser
    Edge Chromium
    Antivirus
    Windows Security
    Other Info
    202. Build Your Own laptop.
    vPro Certified Model: vPro Enterprise
I assume when you say recovery key is the one saved to the MS account? That particular key is saved to both the NAS and teh password manager and both are backed up and have off-site backup. I think we are good on that one. I guess my fear is that it will change without me knowing due to a configuration change.

If the TPM is erase, can you use the recovery key in your MS account to recover?

As for the safe mode, this is based on the issue I encountered recently.
  1. The laptop boots with a prompt for the bitlocker recovery key. The system indicating that it cannot read from the TPM.
  2. I enter the recovery key, the laptop restarts and prompts for the recovery key again warning again that it can't read from the TPM.
  3. I enter the recovery key, the laptop restarts and prompts for the recovery key again.warning again that it can't read from the TPM.
  4. After the recovery key entry, Windows no longer boots into the recovery key prompt but goes into the Windows recovery mode. Windows informed me that it is doning automatic repairs but fails. Windows goes into recovery mode if it falls to boot 3 times.
At this point, I notice that in the recovery mode, I can go into the command line or boot to safe mode. While In safe mode or the command line I can access the drive's content, which means it is decrypted. I am just wondering if you enter the recovery key, the drives get decrypted and it stays that way?
 

My Computers

System One System Two

  • OS
    Windows 11 24H2
    Computer type
    Laptop
    Manufacturer/Model
    ASUS ProArt P16
    CPU
    AMD Ryzen AI 9 HX 370 Processor 2.0GHz
    Motherboard
    N/A
    Memory
    64 Gb
    Graphics Card(s)
    NVIDIA® GeForce RTX 4070 Laptop GPU
    Sound Card
    N/A
    Monitor(s) Displays
    N/A
    Screen Resolution
    3840 x 2400
  • Operating System
    Windows 11 23H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home Built
    CPU
    AMD Ryzen 5 5600
    Motherboard
    MSI MS-7C56
    Memory
    32 Gb
    Graphics card(s)
    AMD RX6600
The recovery key unlocks the drive. It does not decrypt the contents.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 24H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC12WSHi7
    CPU
    12th Gen Intel Core i7-1260P, 2100 MHz
    Motherboard
    NUC12WSBi7
    Memory
    64 GB
    Graphics Card(s)
    Intel Iris Xe
    Sound Card
    built-in Realtek HD audio
    Monitor(s) Displays
    Dell U3219Q
    Screen Resolution
    3840x2160 @ 60Hz
    Hard Drives
    Samsung SSD 990 PRO 1TB
    Keyboard
    CODE 104-Key Mechanical with Cherry MX Clears
    Antivirus
    Microsoft Defender
  • Operating System
    Linux Mint 21.2 (Cinnamon)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC8i5BEH
    CPU
    Intel Core i5-8259U CPU @ 2.30GHz
    Memory
    32 GB
    Graphics card(s)
    Iris Plus 655
    Keyboard
    CODE 104-Key Mechanical with Cherry MX Clears
The recovery key unlocks the drive. It does not decrypt the contents.

Is the decryption key stored in the TPM? If the TPM fail, tthen the recovery key won't help because all it does is unlock the drive but not decrypt it?
 

My Computers

System One System Two

  • OS
    Windows 11 24H2
    Computer type
    Laptop
    Manufacturer/Model
    ASUS ProArt P16
    CPU
    AMD Ryzen AI 9 HX 370 Processor 2.0GHz
    Motherboard
    N/A
    Memory
    64 Gb
    Graphics Card(s)
    NVIDIA® GeForce RTX 4070 Laptop GPU
    Sound Card
    N/A
    Monitor(s) Displays
    N/A
    Screen Resolution
    3840 x 2400
  • Operating System
    Windows 11 23H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home Built
    CPU
    AMD Ryzen 5 5600
    Motherboard
    MSI MS-7C56
    Memory
    32 Gb
    Graphics card(s)
    AMD RX6600
The TPM does not have the keys.

The contents of the drive, the actual bits and bytes, are encrypted with a full volume encryption key (FVEK).

The FVEK is secured by encrypting it with a Volume Master Key (VMK). This is so you can change the VMK if it gets compromised, without having to decrypt and encrypt the entire disk.

The VMK is further protected by Key Protectors (KPs). Key protectors are things like the TPM or a password. So, you can change those or lose them or whatever, and still unlock your drive, as long as you still have one method to access the VMK… a recovery key for example. If you lose all your KPs, e.g. the TPM blows up and the dog eats your recovery key, you have no access to the VMK, so no way to unlock the drive.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 24H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC12WSHi7
    CPU
    12th Gen Intel Core i7-1260P, 2100 MHz
    Motherboard
    NUC12WSBi7
    Memory
    64 GB
    Graphics Card(s)
    Intel Iris Xe
    Sound Card
    built-in Realtek HD audio
    Monitor(s) Displays
    Dell U3219Q
    Screen Resolution
    3840x2160 @ 60Hz
    Hard Drives
    Samsung SSD 990 PRO 1TB
    Keyboard
    CODE 104-Key Mechanical with Cherry MX Clears
    Antivirus
    Microsoft Defender
  • Operating System
    Linux Mint 21.2 (Cinnamon)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC8i5BEH
    CPU
    Intel Core i5-8259U CPU @ 2.30GHz
    Memory
    32 GB
    Graphics card(s)
    Iris Plus 655
    Keyboard
    CODE 104-Key Mechanical with Cherry MX Clears
I assume when you say recovery key is the one saved to the MS account? That particular key is saved to both the NAS and teh password manager and both are backed up and have off-site backup. I think we are good on that one. I guess my fear is that it will change without me knowing due to a configuration change.
As I said, you can choose to save wherever (except the encrypted drive), but I STILL recommend you save it to your Microsoft account as well. Nothing preventing you from saving it to multiple places ;-)

If the TPM is erase, can you use the recovery key in your MS account to recover?
If you read my pose, on your first #1) I stated "you can actually move the drive to a different PC, and if you've got the recovery key, you can still access the drive. Been there, done that". So that says (means) the key is somehow also embedded on the drive. I have no how's and whys answers, I just know from doing this, it works. That said, best to keep the drive with the original drive in case something has changed.

As for the safe mode, this is based on the issue I encountered recently.
  1. The laptop boots with a prompt for the bitlocker recovery key. The system indicating that it cannot read from the TPM.
  2. I enter the recovery key, the laptop restarts and prompts for the recovery key again warning again that it can't read from the TPM.
  3. I enter the recovery key, the laptop restarts and prompts for the recovery key again.warning again that it can't read from the TPM.
  4. After the recovery key entry, Windows no longer boots into the recovery key prompt but goes into the Windows recovery mode. Windows informed me that it is doning automatic repairs but fails. Windows goes into recovery mode if it falls to boot 3 times.
If you're getting a "cannot read from TPM" notice there's an issue. What/why, I don't know. Have you messed with the setting... did a reset?

My advice is to never reset the credential of the TPM on an active machine. Some may differ, so.... Microsoft also doesn't recommend unless absolutely required for security reasons. All that said, regarding this question....
At this point, I notice that in the recovery mode, I can go into the command line or boot to safe mode. While In safe mode or the command line I can access the drive's content, which means it is decrypted. I am just wondering if you enter the recovery key, the drives get decrypted and it stays that way?
@pseymour has answered your question - The recovery key unlocks the drive. The data itself is not encrypted, just the drive.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 24H2 (Build 26100.3476)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom built
    CPU
    Intel Core 9 Ultra
    Motherboard
    Gigabyte Aorus Z890 Xtreme AI Top
    Memory
    64G (4x16) DDR5 Corsair RGB Dominator Platinum (6400Mhz)
    Graphics Card(s)
    Radeon (XFX MERC 310) RX 7900XT
    Sound Card
    Onboard (ESS Sabre HiFi using Realtek drivers)
    Monitor(s) Displays
    27-inch Eizo Color Edge - CG2700X
    Screen Resolution
    3840 x 2160
    Hard Drives
    4 Samsung NVM 990 Pro drives: 1 X 1TB (OS) 2X TB, 1 X 1TB.
    PSU
    Seasonic TX-1300 (1300 Watts)
    Case
    Cooler Master H500M
    Cooling
    Corsair Link Titan 280 RX RGB
    Keyboard
    Logitech Craft
    Mouse
    Logitech MX Master 3
    Internet Speed
    1TB Download. 512mb Upload
    Browser
    Microsoft Edge Chromium
    Antivirus
    Windows Security
    Other Info
    System used for gaming, photography, music, school.
  • Operating System
    Windows 11 Pro 23H2 (Build 22631.4391)
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo ThinkPad X1 Carbon (Gen 12)
    CPU
    Intel Core Ultra 7 165U vPro® Processor
    Motherboard
    Vendor
    Memory
    32 GB LPDDR5X-6400MHz (Soldered)
    Graphics card(s)
    Intel Graphics
    Sound Card
    Onboard
    Monitor(s) Displays
    14" 2.8K OLED, Anti Reflection, Touch, HDR 500, 400 nits, 120Hz
    Screen Resolution
    2880 x 1800
    Hard Drives
    1 TB SSD M.2 2280 PCIe Gen4 Performance TLC Opal
    PSU
    Vendor
    Case
    Lenovo
    Cooling
    Vapor Chamber Cooling
    Mouse
    Touchpad: Haptic Touchpad
    Keyboard
    Backlit, Black with Fingerprint Reader and WWAN
    Internet Speed
    100MB
    Browser
    Edge Chromium
    Antivirus
    Windows Security
    Other Info
    202. Build Your Own laptop.
    vPro Certified Model: vPro Enterprise
The TPM does not have the keys.

The contents of the drive, the actual bits and bytes, are encrypted with a full volume encryption key (FVEK).

The FVEK is secured by encrypting it with a Volume Master Key (VMK). This is so you can change the VMK if it gets compromised, without having to decrypt and encrypt the entire disk.

The VMK is further protected by Key Protectors (KPs). Key protectors are things like the TPM or a password. So, you can change those or lose them or whatever, and still unlock your drive, as long as you still have one method to access the VMK… a recovery key for example. If you lose all your KPs, e.g. the TPM blows up and the dog eats your recovery key, you have no access to the VMK, so no way to unlock the drive.

So let me see if I understand this properly.
  • Full Volume Encryption Key (FVEK) handles the encryption and decryption of the data.
  • Volume Master Key (VMK) handles the encryption and decryption of FVEK, allow FVEK to be stored on the encrypted volume.
  • Key protector (KP) protects the VMK by encrypting its own copy of VMK which is stored on disk.You would have separate copies for TPM and recovery key.
So in the scenario I list in my post, I indicated that I was able to access my laptop in safe mode even though I did not enter a recovery key and it couldn't access the TPM. Is the reason that when I enter the recovery key, windows decrypt the drive?
 

My Computers

System One System Two

  • OS
    Windows 11 24H2
    Computer type
    Laptop
    Manufacturer/Model
    ASUS ProArt P16
    CPU
    AMD Ryzen AI 9 HX 370 Processor 2.0GHz
    Motherboard
    N/A
    Memory
    64 Gb
    Graphics Card(s)
    NVIDIA® GeForce RTX 4070 Laptop GPU
    Sound Card
    N/A
    Monitor(s) Displays
    N/A
    Screen Resolution
    3840 x 2400
  • Operating System
    Windows 11 23H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home Built
    CPU
    AMD Ryzen 5 5600
    Motherboard
    MSI MS-7C56
    Memory
    32 Gb
    Graphics card(s)
    AMD RX6600
You’re mostly correct. The drive does not get decrypted, it gets unlocked. The contents are still encrypted, but you can see them.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 24H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC12WSHi7
    CPU
    12th Gen Intel Core i7-1260P, 2100 MHz
    Motherboard
    NUC12WSBi7
    Memory
    64 GB
    Graphics Card(s)
    Intel Iris Xe
    Sound Card
    built-in Realtek HD audio
    Monitor(s) Displays
    Dell U3219Q
    Screen Resolution
    3840x2160 @ 60Hz
    Hard Drives
    Samsung SSD 990 PRO 1TB
    Keyboard
    CODE 104-Key Mechanical with Cherry MX Clears
    Antivirus
    Microsoft Defender
  • Operating System
    Linux Mint 21.2 (Cinnamon)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC8i5BEH
    CPU
    Intel Core i5-8259U CPU @ 2.30GHz
    Memory
    32 GB
    Graphics card(s)
    Iris Plus 655
    Keyboard
    CODE 104-Key Mechanical with Cherry MX Clears
The data is decrypted on-the-fly but only in memory with the FVEK which is a symmetric key. Symmetric encryption is much faster. Part of the reason for the dual keys VMK and FVEK
 

My Computer

System One

  • OS
    Windows 11
You’re mostly correct. The drive does not get decrypted, it gets unlocked. The contents are still encrypted, but you can see them.
So you can view the file directory but the file is still encrypted?
 

My Computers

System One System Two

  • OS
    Windows 11 24H2
    Computer type
    Laptop
    Manufacturer/Model
    ASUS ProArt P16
    CPU
    AMD Ryzen AI 9 HX 370 Processor 2.0GHz
    Motherboard
    N/A
    Memory
    64 Gb
    Graphics Card(s)
    NVIDIA® GeForce RTX 4070 Laptop GPU
    Sound Card
    N/A
    Monitor(s) Displays
    N/A
    Screen Resolution
    3840 x 2400
  • Operating System
    Windows 11 23H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home Built
    CPU
    AMD Ryzen 5 5600
    Motherboard
    MSI MS-7C56
    Memory
    32 Gb
    Graphics card(s)
    AMD RX6600
So you can view the file directory but the file is still encrypted?
No. Bitlocker encrypts the entire volume, including the directory structure, filenames, file metadata, everything. When you unlock a volume, Bitlocker presents the volume to you as if it were unencrypted without writing unencrypted data back to the volume; it does everything on the fly, as needed, and the data on the drive remains encrypted.

I don't know what you observed in Safe Mode. My PCs either use TPM plus another protector like a USB key or a password if they lack a TPM. Windows is unable to unlock the system drives unless I provide the correct protectors when I boot, assuming protection hasn't been suspended. Safe Mode has no special powers in this respect.
 

My Computer

System One

  • OS
    Windows 11
No. Bitlocker encrypts the entire volume, including the directory structure, filenames, file metadata, everything. When you unlock a volume, Bitlocker presents the volume to you as if it were unencrypted without writing unencrypted data back to the volume; it does everything on the fly, as needed, and the data on the drive remains encrypted.

I don't know what you observed in Safe Mode. My PCs either use TPM plus another protector like a USB key or a password if they lack a TPM. Windows is unable to unlock the system drives unless I provide the correct protectors when I boot, assuming protection hasn't been suspended. Safe Mode has no special powers in this respect.
Ok, I think I got it. So being unlock allow someone to view encrypted content. I am thinking that the laptop has a TPM only policy so when the TPM malfunction, the system prompts me for a recovery key but doesn't let me boot normally. If I enter the key 3 times, it starts booting into recovery mode without prompiting for the recovery key. I am guessing that Windows leaves the volume unlock but only allow boot into safe mode. This is why I can access the files in safe mode without entering the recovery key.
 

My Computers

System One System Two

  • OS
    Windows 11 24H2
    Computer type
    Laptop
    Manufacturer/Model
    ASUS ProArt P16
    CPU
    AMD Ryzen AI 9 HX 370 Processor 2.0GHz
    Motherboard
    N/A
    Memory
    64 Gb
    Graphics Card(s)
    NVIDIA® GeForce RTX 4070 Laptop GPU
    Sound Card
    N/A
    Monitor(s) Displays
    N/A
    Screen Resolution
    3840 x 2400
  • Operating System
    Windows 11 23H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home Built
    CPU
    AMD Ryzen 5 5600
    Motherboard
    MSI MS-7C56
    Memory
    32 Gb
    Graphics card(s)
    AMD RX6600

Latest Support Threads

Latest Tutorials

Back
Top Bottom