Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

bitlocker unlock fixed drive recovery password

$
0
0

we have servers that have fixed drives in which bitlocker locks during reboot. we need to unlock them with a recovery key but right now it is a manual process. below is the powershell component I wrote to help resolve the manual part... will this work?

$SecureString = ConvertTo-SecureString "1234-1568-9123-4567" -AsPlainText -Force
Unlock-BitLocker -MountPoint "E:" -RecoveryPassword $SecureString

Also I saved the text file of the recovery key, could I use the -RecoveryKeyPathswitch to reference the file?


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>