Skip to main content

Bitlocker - Volume - Add Recovery Password Autofix

Summary​

The script is designed to add a recovery password to a drive where BitLocker is enabled but a key protector is not found. It is a copy of the script Bitlocker - Volume - Initialize script with a hardcoded parameter.

It will disable the currently applied BitLocker protection using the script Bitlocker - Remove Volume script before re-enabling it with a Recovery Password protector.

The script will initialize the TPM if it is not already initialized, but it will not restart the computer. Please note that this script is not intended for manual execution. It is designed to be executed as an Autofix script from the Bitlocker - Missing Key Protectors monitor set.

Sample Run​

Sample Run

Dependencies​

Variables​

NameDescription
Parameters-RecoveryPasswordProtector -AllowTPMInit -MountPoint '@MountPoint@' -SkipHardwareTest

User Parameter​

NameExampleRequiredDescription
MountPointC:True (for manual execution only)Drive Letter to add BitLocker Key Protector

Output​

  • Script logs

Changelog​

2025-04-10​

  • Initial version of the document