CYBERAUTOMATIONSStart a project

BitLocker recovery key: find it at the blue screen, or fix a lost one

Find your BitLocker recovery key, or learn what to do if you lost it.

How to use it

  1. Write down the Recovery Key ID shown on the blue screen. If your drive has more than one saved key, the ID tells you which one to use.
  2. On your phone or another computer, sign in at aka.ms/myrecoverykey if the PC uses a personal Microsoft account. For a work or school PC, go to aka.ms/aadrecoverykey, choose Devices, then View BitLocker Keys, or ask your IT team for the key.
  3. Find the key whose ID matches the one on the blue screen and type its 48-digit recovery password. If your setup used a startup key instead, insert the USB drive that holds the .BEK file.
  4. After Windows starts, restart once so BitLocker is protecting the drive normally again, and save the recovery key somewhere you can reach from another device.

The full guide

Start with the Recovery Key ID

Look for the line that says Recovery key ID (older screens say Key ID). Write down the first 8 characters, for example 1A2B3C4D. Some screens show the full 32-character ID if you press Esc for more recovery options.

That ID tells you which key unlocks this drive. Every saved key is labeled with its own ID, and a PC can have more than one saved key over its life, so you only want the one that matches. If the PC has several encrypted drives, each drive has its own key and its own ID.

On Windows 11 version 24H2 and newer, the recovery screen also shows a hint of the Microsoft account the key was saved to. That tells you which account to sign in with.

Personal PC: check your Microsoft account

Most Windows 10 and 11 home laptops turn on encryption by themselves and back the key up to the Microsoft account used to set up the PC. On your phone or another computer, go to aka.ms/myrecoverykey and sign in with that account.

You will see a list of keys, each with a Key ID, a device name and a 48-digit recovery key. Pick the one whose Key ID starts with the 8 characters on your screen.

If someone else set up the PC or turned on BitLocker (a family member, the shop that sold it, a previous owner), the key may be in their Microsoft account instead of yours. Ask them to check the same page.

Work or school PC: check Microsoft Entra ID

If the PC was ever signed in with a work or school account, the key may be saved to that organization's Microsoft Entra ID (the new name for Azure AD). On another device, go to aka.ms/aadrecoverykey and sign in with your work or school account.

Choose Devices, expand the locked PC, and select View BitLocker Keys. Use the Recovery Key ID to pick the right key.

Some organizations hide this option from employees. If you do not see it, call your IT help desk and give them the Recovery Key ID. They can look the key up in the Entra or Intune admin center.

Office PC on a company network: Active Directory

PCs joined to an on-premises Windows domain often store their recovery keys in Active Directory. You cannot look this up yourself. Call your IT team, read them the Recovery Key ID, and they can find the matching key and read it to you.

A printout, a .TXT file or a password manager

Whoever turned on BitLocker may have chosen Print or Save to a file. Look where you keep papers for the computer, and search other drives, USB sticks and cloud storage for a file named like BitLocker Recovery Key followed by a long ID and ending in .TXT.

The file and the printout both show the Recovery Key ID and the 48-digit key together. Open the .TXT file on a different device and check that its ID matches the screen before you type anything.

If you or your IT team keep a password manager, search it for BitLocker or for the 8-character ID.

Make sure the Recovery Key ID matches

A key with the wrong ID will not work, no matter how carefully you type it. This is the most common reason people say their key is rejected.

A mismatch usually means the drive was encrypted again later, a new protector was added, or the key belongs to a different PC or a different drive. Keep looking for a key whose ID starts with the same 8 characters. Old keys for the same PC can stay in your account after the drive gets a new one.

Typing the 48-digit key

The recovery key is 48 digits in eight groups of six. Type digits only; the screen adds the dashes for you.

On many laptops the number row works when the numeric keypad does not, or the other way around. If keys seem dead, try the other set.

.BEK files: the USB startup key

A .BEK file is a different kind of key. It is a startup key that BitLocker reads from a USB drive, so you plug the drive in instead of typing. You cannot open a .BEK file and read a number from it, and the recovery screen will never read a .TXT file this way.

The file is named after its key ID and ends in .BEK. Windows hides it by default, so you may need to turn on Show hidden files and uncheck Hide protected operating system files to see it on the USB drive.

To use it at the blue screen, plug the USB drive in first, then choose the option to load your recovery key from a USB device. The .BEK file has to be in the top folder of the drive, and FAT32 is the safest format. If the screen cannot see the drive, try another USB port, or fall back to typing the 48-digit key.

If Windows is already running and only a data drive is locked, you can unlock it from an admin Command Prompt with manage-bde -unlock D: -RecoveryKey E:\<file name>.BEK, where D: is the locked drive and E: is the USB drive. With the 48-digit key instead, use manage-bde -unlock D: -RecoveryPassword <48 digits>.

Why it happened after a BIOS, firmware or TPM update

BitLocker keeps the key inside the PC's security chip, the TPM. Every time the PC starts, the TPM checks that the firmware and startup files look the same as last time. If anything changed, it holds the key back and asks for the recovery key to confirm it is really you.

Common triggers Microsoft lists: a BIOS or UEFI firmware update, clearing or turning off the TPM, a TPM self-test failure, a new motherboard, changing the boot order or Secure Boot settings, booting from a network or USB device, plugging into or out of a docking station, moving the drive to another PC, and too many wrong PIN or password attempts.

Laptops from Dell, HP, Lenovo and others ship BIOS updates through Windows Update or their own update tools, which is why this screen often shows up right after an update you did not start yourself. On PCs with AMD fTPM or Intel PTT, the TPM lives in the firmware, so a firmware update or a CMOS reset can change it too.

Once you enter the key and Windows starts, BitLocker normally settles on the new measurements. If it asks again on the next restart, restart once more after signing in. If it keeps asking, check for a USB stick or dock that changes the boot path.

How to update the BIOS without seeing this screen

Before a BIOS or firmware update, suspend BitLocker. Suspending does not decrypt the drive; it just lets the PC start without the TPM check for a set number of restarts.

From an admin Command Prompt, run manage-bde -protectors -disable C: -RebootCount 1 to suspend for one restart, or use the PowerShell command Suspend-BitLocker -MountPoint "C:" -RebootCount 1. A count of 0 keeps it suspended until you turn it back on with manage-bde -protectors -enable C: or Resume-BitLocker -MountPoint "C:".

You can also do it from Control Panel: open BitLocker Drive Encryption and choose Suspend protection. Then run the update and restart. With a count of 1, protection turns back on by itself after that restart. With a count of 0, turn it back on yourself once you reach the desktop.

When no key exists anywhere

Microsoft cannot create, recover or bypass a BitLocker recovery key. Neither can a repair shop. If you have checked every place above and nothing has a matching ID, the files on that drive cannot be recovered.

If you made a change right before the screen appeared (a new boot order, a disabled TPM, a USB stick left plugged in), undo it and restart. That sometimes lets the TPM release the key again.

If that does not work, the only way to use the PC again is to reset it with one of the Windows recovery options, or reinstall Windows. Both erase everything on the drive. Restore your files from a backup afterward if you have one.

Preventing it next time

While Windows still works, list your drives and their key IDs with manage-bde -protectors -get C: in an admin Command Prompt. Repeat for each drive letter.

Keep at least two copies of each 48-digit key in different places, for example your Microsoft account plus a password manager or a printout stored with your important papers. Make sure you can reach at least one of them from your phone.

If you use a USB startup key, keep the .BEK file in the top folder of a FAT32 USB drive and store the 48-digit key separately as a backup.

Any time the drive is encrypted again or a protector is added, a new key ID is created. Save the new key and mark old copies as retired so you do not grab the wrong one later.

Suspend BitLocker before firmware updates, and unplug docks and USB drives you do not start from.

What it shows, and how

The formulas, assumptions and sources are in the tool's own Method section.

FAQ

Why did BitLocker ask for a recovery key, and how do I stop it after BIOS updates?

Common triggers are BIOS, firmware or TPM updates (Dell and most other makers can cause this), Secure Boot changes, a new boot device order, docking stations and hardware changes. BitLocker asks for the key to confirm it is really you. To avoid it after a BIOS update, suspend BitLocker before the update and it resumes after the next restart.

What is a .BEK file, and how is it different from a .TXT file?

A .BEK file is a BitLocker startup key. BitLocker reads it from a USB drive at boot, so you plug the drive in instead of typing anything. The file is named after the key's ID (a long string of letters and numbers ending in .BEK) and is hidden by default, so you may need to show hidden and protected system files to see it. You cannot open it and read a number from it. A .TXT file is different: it holds the 48-digit recovery password you type at the blue recovery screen. If Windows is already running, you can unlock a locked data drive with a .BEK file using manage-bde -unlock D: -RecoveryKey E:\<file name>.BEK, where D: is the locked drive and E: is the USB drive.

What is aka.ms/myrecoverykey, and what is the recovery key ID?

aka.ms/myrecoverykey is a Microsoft page that lists the BitLocker recovery keys saved to a personal Microsoft account. The key ID is the identifier on the blue screen. Each saved key has its own ID, so match the ID on the screen to the one listed to pick the right 48-digit password.

I lost my BitLocker recovery key. What can I do?

First check every place a copy could be: the Microsoft account you signed in with, your work or school account, your IT team's directory, a printout, a saved .TXT file or a USB drive. Microsoft cannot generate a replacement key. If no copy exists, the drive cannot be unlocked and the only option is to reset the PC, which erases it.

Where is the recovery key on an Azure AD or Entra ID work laptop?

If the laptop is joined to Microsoft Entra ID (formerly Azure AD), the key is usually saved to your work account. Open myaccount.microsoft.com, choose Devices, then View BitLocker Keys. If you do not see it, your IT administrator can look it up in the Entra or Intune admin portal.

Can you automate device recovery-key backups for my team?

Yes. We build monitoring that checks every device has an escrowed key and alerts when one is missing. Start a custom build from the contact page.

Last updated 2026-10-22

Related service

Keyword, price and uptime monitors, plus scheduled digests, so nothing has to be checked by hand.

Build this for your data

This tool runs on public information. We build the same kind of thing on your own data, wired into the systems you already use. Tell us what you have and we reply within 48 hours.