This script will backup a computer’s Bitlocker key and export it as a text file.
Script:
@ECHO OFF REM Set your backup directory SET DIRECTORY="YOUR DIRECTORY" REM Sets the Date SET CURRENTDATE="%date:~4,2%%date:~7,2%%date:~10,4%" ECHO Backing up Bitlocker Keys ping -n 3 127.0.0.1>nul REM Copying Bitlocker keys to a textfile manage-bde -protectors c: -get >"%DIRECTORY%\%CURRENTDATE%_%COMPUTERNAME%.txt CLS ECHO DONE ping -n 3 127.0.0.1>nul