BitLocker Encryption script

How to get the bitlocker recovery key ID ? This is a question that a colleague of mine asked me. He wanted to get the local bitlocker key, and compare it to the one stored in Active directory.

I wrote him this function which will retrieve the protector ID (Bitlocker recovery ID) with the possibility to choose which protector to retrieve.

[stextbox id=”note”]This function below would be the PowerShell equivalent as the : manage-bde -protectors c: -get command[/stextbox]

The function is based on Win32_EncryptableVolume WMI class. This function can easily be extended, or even incorporated in other functions / scripts.

Find the download link here below

[stextbox id=”info”]

Since the first developpement of this script, I have written a new cool tool name “BitlockerSAK” for “Bitlocker Swiss Army knife“. The bitlocker swiss army knifeallow to find the bitlocker recovery key id, but also a lot more neat stuff! You can get more information about BitlockerSAK right here –> “Bitlocker Swiss Army Knife

[/stextbox]

 

[stextbox id=”download”]Download the latest version of the script directly on technet right here. [/stextbox]

If this function is not what you were looking for, check out my BitLocker encryption function.

Here under is the function listing :

 

 
By | 2016-10-19T21:00:16+00:00 August 12th, 2014|Bitlocker, Functions, WMI|4 Comments

About the Author:

Stéphane is a dynamic and passionate Cloud and datacenter Microsoft MVP since. He is the founder of the Basel PowerShell user Group (BPUG), the co-founder of the French Speaking PowerShell UserGroup (FRPSUG), author, blogger, and received the community award "PowerShell Hero" from PowerShell.org. Stéphane has implemented microsoft infrastructure solutions in various countries of Europe and is currently working in Basel / Switzerland. Stéphane help his clients to reduce their global infrastructure costs by implementing Microsft infrastructure solutions by combining great products such as System Center, Windows Server, with heavy automation using Windows PowerShell. Stéphane loves languages, Belgium beer, French cheese and French Wine. If any of these topics are of your interest, don't hesitate to come and say hi.

4 Comments

  1. Berbece Sorin Gabriel December 7, 2016 at 10:16 am - Reply

    Hello,

    I have change my hard drive and reinstall the operating system on my PC (keyID:CBC92C8C-3EB7-4D79-88582-74FFCBF533B7) which I have lost the bit locker recovery key but I still remember the password
    I can not access the old hard drive anymore in order to copy the data. Are you able to help me please?

  2. Farshad April 20, 2016 at 4:29 pm - Reply

    Hi Dearest SIR,,,,

    How to find the key ID of internal hard drive?? I get heart attack in this case. please help sir…

  3. shad January 18, 2015 at 1:08 pm - Reply

    Hi sir,

    i have an external harddrive Seagate (keyID: B37A1817) which i have lost the bitlocker recovery key but i still remember the password.

    i can not access this external hard drive anymore. are you able to help me?

    Regards,
    Shad

    • Yones February 5, 2016 at 12:28 pm - Reply

      Hi sir
      I have an external hard driv toshiba (keyID:5CD1BF91-48DF-8446-EB46825CAB2)which I have lost the bit locker recovery key but I still remember the password
      I can not access this external hard drive anymore. Are you able to help me pleas

Leave a Reply

%d bloggers like this: