Skip to main content

Backup-BitlockerRecoveryPW

Description

This script cycles through all volumes and backs up the recovery password for any drive that has an associated Recovery Password.

Requirements

  • PowerShell v5
  • Target must be domain-joined

Usage

  1. Starts the loop through all BitLocker volumes.
  2. Attempts to back up the Recovery Password to Active Directory for each volume, if one exists.
  3. Logs any failures to the error log.
.\Backup-BitlockerRecoveryPW.ps1

Attempts to back up any Recovery Password type key protectors to Active Directory.

Output

  • Microsoft.BitLocker.Structures.BitLockerVolume
  • .\Backup-BitlockerRecoveryPW-log.txt
  • .\Backup-BitlockerRecoveryPW-error.txt