goShoplet
PowerShell · BitLocker

How to Find & Export BitLocker Recovery Keys with PowerShell

By goShoplet · Windows administration, automated

A locked BitLocker drive at 4:55pm on a Friday is every technician's nightmare. The 48-digit recovery key is the way back in — but only if you can actually find it. Here's how the keys work, where they hide, and the fastest way to have every one of them on hand before you need it.

First: are you running as admin?

Reading BitLocker protectors requires an elevated PowerShell session. Open Windows Terminal or PowerShell as Administrator before you run anything below. The BitLocker cmdlets ship with Windows 10 and 11 (Pro, Enterprise and Education), so there's nothing to install.

The basic one: read the key on the machine in front of you

When you're sitting at the machine, one command shows the recovery password for a volume. In an elevated session:

# Recovery password for the C: volume
(Get-BitLockerVolume -MountPoint "C:").KeyProtector |
  Where-Object KeyProtectorType -eq 'RecoveryPassword'

Prefer the built-in tool? manage-bde -protectors -get C: returns the same thing and works even where the PowerShell module isn't available. That's all you need — for one drive, on one machine, when you're already logged into it.

Where it actually gets hard: everywhere else

Reading a single key is easy. Having the right key at the moment you need it is the real job — and that's where one command stops being enough:

Turning those one-off commands into something dependable — every volume, correlated to the right machine, collected into a single export you can hand off — is a scripting project in its own right. And it's one you have to get right: a recovery key is a master override for an encrypted disk, so how you collect, store and protect it matters as much as finding it.

Security note: treat a recovery key like the master key it is. Never leave an export on the machine it unlocks, never send it in plain text, and store it somewhere access-controlled — a password manager, a secured share, or your RMM's secure notes.

The shortcut: collect it once, cleanly

Pulling a machine's full picture — including its BitLocker recovery keys — into one tidy, exportable report is exactly what the System Inventory tool in the goShoplet Windows Admin Toolkit is built for. One run captures serial, model, BIOS, TPM, full network configuration and BitLocker recovery keys, ready to drop straight into your asset records. No stitching commands together, no missed volumes, no keys scattered across half a dozen windows.

Stop hunting for recovery keys

The System Inventory tool is one of eight in the goShoplet Windows Admin Toolkit — documented, safe to run, and yours with a license key that never expires.

Get the Windows Admin Toolkit — $49

FAQ

Do I need Windows Pro to read BitLocker keys?

Yes — BitLocker and its PowerShell module are available on Windows 10/11 Pro, Enterprise and Education, not Home. manage-bde is present on the same editions.

Why does the recovery password come back blank?

The volume may only have a TPM protector (no recovery-password protector), or your session isn't elevated. Run PowerShell as Administrator and confirm with manage-bde -protectors -get C:.

Where should I store exported keys?

In an access-controlled location only — a password manager, secured share or your RMM's secure notes. Treat the file like the master key it is, and delete local copies once it's filed.