Example from the linked Microsoft Learn article. Check its paths, targets and availability before adapting it.
repair-bde C: D: -rk F:\RecoveryKey.bek -lf Z:\log.txtAttempts to reconstruct critical parts of a severely damaged drive and salvage recoverable data if the drive was encrypted by using BitLocker and if it has a valid recovery password or recovery key for decryption. This guide lists the documented syntax and parameters for repair bde; check Microsoft Learn for version, role and execution-context requirements.
repair-bde <inputvolume> <outputvolumeorimage> [-rk] [-rp] [-pw] [-kp] [-lf] [-f] [{-?|/?}]The linked Microsoft Learn article is the upstream authority. Availability may depend on Windows release, role, optional feature or interactive tool context.
Example from the linked Microsoft Learn article. Check its paths, targets and availability before adapting it.
repair-bde C: D: -rk F:\RecoveryKey.bek -lf Z:\log.txtExample from the linked Microsoft Learn article. Check its paths, targets and availability before adapting it.
repair-bde C: D: -rp <48-digit-recovery-password>Example from the linked Microsoft Learn article. Check its paths, targets and availability before adapting it.
repair-bde C: D: -kp F:\RecoveryKeyPackage -rk F:\RecoveryKey.bek -fExample from the linked Microsoft Learn article. Check its paths, targets and availability before adapting it.
repair-bde C: D: -pw| Option / clause | Description |
|---|---|
<inputvolume> | Specify the source BitLocker volume, including its colon (for example, C:). |
<outputvolumeorimage> | Specify the destination volume or image. All existing destination contents are deleted and overwritten. |
-rk <recoverykey> / -recoverykey | Unlock the volume with a recovery key file. |
-rp <recoverypassword> / -recoverypassword | Unlock the volume with the 48-digit recovery password. |
-pw / -password | Prompt for the volume password. |
-kp <keypackage> / -keypackage | Use a BitLocker recovery key package. |
-lf <logfile> / -logfile | Write repair messages to the specified log file. |
-f / -force | Force dismount even if the volume cannot be locked. |
-? / /? | Display command help. |
Review a command and its target before running it. Commands that alter files, services, accounts, disks, permissions or databases may be difficult to reverse. Test in a safe environment and keep backups.