If your PC boots to a blue screen saying “BitLocker recovery” and asks for a 48-digit key, it is not a virus: it is disk encryption protecting your data. This guide explains what that key is, where to look for it and how to prepare so you are never locked out of your own computer.
In short
- The recovery key is a 48-digit number that unlocks a BitLocker-encrypted drive.
- Windows asks for it when it detects a change at boot or in hardware (BIOS, TPM, board…).
- First place to look is your Microsoft account:
aka.ms/myrecoverykey.- Many Windows 10/11 Home laptops also ship encrypted (device encryption).
- Without the key, the only way out is to reinstall and lose the data on the drive.
What BitLocker and the recovery key are
BitLocker encrypts the whole drive. Normally the computer’s TPM chip unlocks it automatically at boot without you noticing.

The recovery key is plan B: a 48-digit number, grouped in blocks of 6, used when the TPM cannot unlock the drive by itself.
123456-234567-345678-456789-567890-678901-789012-890123
There are two variants with similar names:
- BitLocker Drive Encryption: available in Windows Pro, Enterprise and Education.
- Device encryption: a simplified version Microsoft also offers on Windows Home.
Device encryption turns on automatically when you set up the computer with a Microsoft account or a work or school account, and its key is tied to that account. That is why many people do not even know their drive is encrypted.
Why Windows asks for the key
BitLocker checks that boot has not changed. If it detects something different, it locks for safety. Examples listed by Microsoft:
| Cause | Typical example |
|---|---|
| Firmware update | Updating BIOS/UEFI |
| TPM changes | Disabling it, clearing it or a self-test failure |
| Hardware change | Replacing the motherboard (new TPM) |
| Boot changes | Modifying the boot manager or partition table |
| Boot order | Booting from USB, CD/DVD or network (PXE) |
| Moving the drive | Putting it in another computer |
| Wrong PIN | Entering the PIN wrong too many times |
| Laptops | Docking or undocking |

The Windows Recovery Environment (Windows RE) also asks for it if you start it manually from a repair disk, and external data drives ask if you forget their password.
Where to find the key

1. In your Microsoft account
The most common place for home computers.
- From another device (phone, another PC), go to
aka.ms/myrecoverykey. - Sign in with the Microsoft account you used to set up the PC.
- You will see a list of keys with the device name and a key ID.
- Compare the first 8 digits of the ID with those on the recovery screen.
- Type the 48-digit key on the locked PC.
If none appears, try other accounts: whoever set up the computer (a relative, the shop) or an old account.
2. In a work or school account
If the computer belongs to your company or school, the key is usually in Microsoft Entra ID (formerly Azure AD). Try aka.ms/aadrecoverykey, under Devices → View BitLocker Keys. If you have no access, ask your IT department.
3. In Active Directory
In companies with a local domain, the administrator stores it in Active Directory (AD DS). Only IT can look it up.
4. Printed
When turning on BitLocker you are offered to print the key. Check important papers: computer invoices, warranty, document folder.
5. On a USB or text file
If you saved it on a stick, connect it to the locked PC; the recovery screen can read it. If it is a .txt file, open it on another computer. Its name usually starts with BitLocker Recovery Key followed by the identifier.
Summary of locations
| Where | Who keeps it | How to access |
|---|---|---|
| Microsoft account | Home user | aka.ms/myrecoverykey |
| Entra ID | Company / school | aka.ms/aadrecoverykey or IT |
| Active Directory | Company with domain | IT only |
| Paper | You, if printed | Physical file |
| USB / file | You, if saved | Another computer |
If you cannot find it
Without the key there is no official way to decrypt the drive. Microsoft states that on an unmanaged computer the last option is to reset it from Windows recovery options, which deletes all files.
So what matters is next: save it before you need it.
How to avoid losing access
Check whether your drive is encrypted
On Windows 11: Settings → Privacy & security → Device encryption (or BitLocker Drive Encryption on Pro). Also from an admin console:
manage-bde -status C:
Look for the protection status line: if on, the drive is encrypted and protected.
Back up the key now
While Windows boots fine, you can see the key in an administrator console:
manage-bde -protectors -get C:
In PowerShell (as administrator):
(Get-BitLockerVolume -MountPoint "C:").KeyProtector
The key appears as Numerical Password (RecoveryPassword). Write it on paper or save it in your password manager.
On Windows Pro you can also go to Control Panel → BitLocker Drive Encryption → Back up your recovery key and choose to save it to your Microsoft account, a file, or print it.
Do not keep the key only inside the encrypted PC. If it locks, you cannot open it.
Suspend BitLocker before touching BIOS
Before updating BIOS/UEFI or changing TPM settings, suspend protection. The drive stays encrypted but will not ask for the key at next boot.
manage-bde -protectors -disable C:
According to Microsoft, protection resumes by itself after reboot unless you specify a number of reboots. Otherwise, re-enable it manually:
manage-bde -protectors -enable C:
In the BitLocker panel the equivalent option is Suspend protection.
Common mistakes
- Looking in the wrong account. Check all your Microsoft accounts and that of whoever set up the PC.
- Confusing the identifier with the key. The identifier helps find the right key; it unlocks nothing.
- Updating BIOS without suspending BitLocker. One of the most frequent causes.
- Reformatting without thinking. Before resetting, check every location: once erased there is no way back.
- Using a different keyboard. On the recovery screen, function keys (F1 to F10) also work as digits 1 to 0.
Frequently asked questions
Can Microsoft give me the key by phone?
You can only recover it if it is saved to your account. If it was never uploaded, Microsoft does not have it.
Does each drive have its own key?
Yes. Each encrypted drive has its key, and re-encrypting creates a new one. Use the identifier to match it.
Can I turn BitLocker off?
Yes, by decrypting the drive from the BitLocker panel or Device encryption. You lose protection if the computer is stolen, so weigh it first.



