BitLocker recovery lets you regain access to a Windows encrypted drive when the system fails to unlock it automatically [1]. It kicks in when the system sees a security risk or a hardware change, and it then asks for a 48-digit recovery key [2]. If you are staring at a blue screen and do not know where to look, use our free tool BitLocker Recovery Key: Find It or Fix a Lost One to locate your code.

Why your computer asks for a recovery key

BitLocker encrypts drives so unauthorized users cannot read data if a device is stolen or lost [3]. Normally it unlocks on its own. Certain events push the system into recovery mode.

Common triggers include hardware changes or entering the wrong PIN too many times [1]. BIOS updates do it too. The update alters the boot environment, so BitLocker assumes the drive is in a different machine.

Sleek gaming desk setup with multiple screens and blue neon lighting, perfect for tech. Photo by Nikhil Soni on Pexels
Sleek gaming desk setup with multiple screens and blue neon lighting, perfect for tech. Photo by Nikhil Soni on Pexels

Where to find your recovery key

The recovery key is a 48-digit number, separate from your Windows login or user account credentials. Where it lives depends on how the drive was first set up.

Personal computers usually save the key to a Microsoft account. Work or school laptops often store it in an on-premises Active Directory or the organization's Entra ID (formerly Azure AD). You may also have printed it or saved it as a .TXT file on another drive.

Some systems use a startup key, which is a .BEK file on a USB drive. If your system requires one, you must insert that USB drive to boot the computer.

Actual working commands to find and manage BitLocker keys

If you can still sign in to Windows, you can read and back up the key yourself. The BitLocker PowerShell module and the manage-bde tool both list every protector on a drive [4]. Run them from an elevated prompt. To unlock with a .bek file, manage-bde wants the path to the file itself, not the drive letter [5]. Save any exported key to a drive other than the one it unlocks.

PowerShell cmdlets (recommended for Windows 11)

# Check BitLocker status on all volumes
Get-BitLockerVolume

# Get recovery key for specific drive (run as Admin)
$volume = Get-BitLockerVolume -MountPoint "C:"
$recovery = $volume.KeyProtector | Where-Object { $_.KeyProtectorType -eq "RecoveryPassword" } | Select-Object -First 1
$recovery | Select-Object KeyProtectorId, RecoveryPassword

# Save the key ID and recovery password to a USB drive (E: here)
"$($recovery.KeyProtectorId)  $($recovery.RecoveryPassword)" | Out-File -FilePath (Join-Path "E:" "BitLockerRecovery.txt")

# Back the same protector up to Active Directory (domain-joined) or Entra ID (Entra-joined)
Backup-BitLockerKeyProtector -MountPoint "C:" -KeyProtectorId $recovery.KeyProtectorId
BackupToAAD-BitLockerKeyProtector -MountPoint "C:" -KeyProtectorId $recovery.KeyProtectorId

# Add a new recovery password protector
Add-BitLockerKeyProtector -MountPoint "C:" -RecoveryPasswordProtector

# Remove a specific protector (use with caution)
Remove-BitLockerKeyProtector -MountPoint "C:" -KeyProtectorId "<KeyProtectorID>"

manage-bde.exe commands (works in CMD or PowerShell)

:: Check BitLocker status on all drives
manage-bde -status

:: Check status of specific drive
manage-bde -status C:

:: List all key protectors for a drive
manage-bde -protectors -get C:

:: Save the recovery key to a file on a USB drive, E: here (requires Admin)
manage-bde -protectors -get C: -type RecoveryPassword > E:RecoveryKey.txt

:: Force recovery on next boot (testing only)
manage-bde -forcerecovery C:

:: Unlock a locked data drive (D: here) with a .bek recovery key file.
:: -RecoveryKey takes the full path to the file itself, not just the USB drive letter.
:: The file name is the key protector ID, so list the USB drive (dir /a E:) to find it.
manage-bde -unlock D: -RecoveryKey "<path to the .bek file>"

:: Unlock a locked data drive with the 48 digit recovery password
manage-bde -unlock D: -RecoveryPassword 123456-789012-345678-901234-567890-123456-789012-345678

:: Turn off BitLocker (decrypt drive)
manage-bde -off C:

Backup recovery key to Microsoft Account (personal) or Entra ID (work)

# Personal accounts: device encryption saves the key to aka.ms/myrecoverykey.
# PowerShell cannot see whether that copy exists, but it can confirm the drive
# has a recovery password protector worth looking for:
Get-BitLockerVolume -MountPoint "C:" | Select-Object -ExpandProperty KeyProtector

# Work/school - check Entra ID
# Go to: https://myaccount.microsoft.com/devices > View BitLocker Keys

# Export to AD (domain-joined only, requires Admin). Use the protector ID from the earlier listing
manage-bde -protectors -adbackup C: -id "{KEY-PROTECTOR-ID}"

How to use the recovery tool

Your locked computer cannot get online, so you need a second computer or a phone to find the key. Our tool gives guidance based on your account type.

Worked example: imagine your laptop boots to a blue screen asking for a recovery key.

  1. Write down the Recovery Key ID shown on the blue screen. If you own multiple devices, this ID tells you which 48-digit key is the right one.
  2. Use your phone to open the BitLocker Recovery Key: Find It or Fix a Lost One tool.
  3. If you use a personal account, sign in at aka.ms/myrecoverykey.
  4. For work laptops, go to aka.ms/aadrecoverykey, select Devices, and then View BitLocker Keys. Contact your IT team if you cannot get in.
  5. Find the entry with the ID that matches the one from your blue screen.
  6. Enter the 48-digit recovery key into the locked laptop.
  7. Once Windows starts, restart the computer to return BitLocker to normal protection mode.

What to do if the key is lost

Microsoft Support cannot recreate, provide, or retrieve a lost recovery key [2]. The encryption is secure, and the manufacturer has no back door.

If you have checked your saved files, your organization's directory, and your Microsoft account without success, the drive cannot be unlocked. You must reset the PC, which erases all data on the drive so Windows can be installed fresh.

To avoid this, save your recovery key somewhere you can reach from a separate device. You can also use our BitLocker Recovery Key: Find It or Fix a Lost One tool to organize and locate your keys before an emergency happens.