WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

ADSI
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

BitLocker Recovery Key

 Keywords: BitLocker recovery key msFVE-RecoveryPassword Property msFVE-RecoveryInformation Class  

Question:

I'm trying to identify how to retrieve the BitLocker recovery key stored in the msFVE-RecoveryPassword Property of the msFVE-RecoveryInformation class for the sub object of the computer object in ADSI Edit. Does anyone know the ADSI options to use to get this key?

Answer:

AddExtender("WWADS44I.DLL")
Computer = `computername`
Company = `netBIOSname`
LDAP = StrCat(`LDAP://`,Company)
ComputerPath = dsFindPath(LDAP,StrCat(`CN=`,ComputerName))
RecoveryObjects = dsGetChldPath(ComputerPath, `msFVE-RecoveryInformation`);Find recovery information subsections
For j = 1 To ItemCount(RecoveryObjects,@TAB)
        RecoveryObject = ItemExtract(j,RecoveryObjects,@TAB)
        RecoveryKey = dsGetProperty(RecoveryObject, `msFVE-RecoveryPassword`)
        Message(`msFVE-RecoveryPassword`,RecoveryKey)
Next

Article ID:   W17521
Filename:   BitLocker Recovery Key.txt
File Created: 2014:05:13:10:14:18
Last Updated: 2014:05:13:10:14:18