PowerTip: Use PowerShell to Get BitLocker Recovery Key


Summary: Use Windows PowerShell to get the BitLocker recovery key.

Hey, Scripting Guy! Question How can I quickly find my BitLocker recovery key?

Hey, Scripting Guy! Answer Jason Walker, Microsoft PFE, says:

From an elevated Windows PowerShell console, use the Get-BitlockerVolume function, select -MountPoint C, and choose the KeyProtector property:

(Get-BitLockerVolume -MountPoint C).KeyProtector

Comments (3)

  1. David Wyatt says:

    In Windows 7 and Windows Vista, it looks like you can get at the same information through the "Win32_EncryptableVolume" class in the "rootcimv2SecurityMicrosoftVolumeEncryption" namespace, but the code is not nearly as user-friendly as the new cmdlets
    in Windows 8.

    msdn.microsoft.com/…/aa376483(v=vs.85).aspx

  2. jrv says:

    Windows 2012 or later only.

  3. Ed Wilson says:

    @JRV you are right, this requires Windows Server 2012 or Windows 8 (or above). It also requires that PowerShell be started with admin rights. Thanks for pointing this out.

Skip to main content