BitLocker Drive Encryption: Repair Tool
repair-bde
- C:\Windows\system32\repair-bde.exe /?
Output:
BitLocker Drive Encryption: Repair Tool version 10.0.19041
Copyright (C) 2013 Microsoft Corporation. All rights reserved.
Usage:
repair-bde[.exe] InputVolume
{ OutputVolumeOrImage }
{ {-RecoveryPassword|-rp} NumericalPassword |
{-RecoveryKey|-rk} PathToExternalKeyFile |
{-Password|-pw} }
[{-KeyPackage|-kp} PathToKeyPackage]
[{-LogFile|-lf} PathToLogFile]
[{-?|/?}]
Description:
Attempts to repair or decrypt a damaged BitLocker-encrypted volume using the
supplied recovery information. If BitLocker was in the process of encryption
or decryption or had been suspended prior to volume failure a clear key will
be present on the volume. Repair-bde attempts to use this clear key by
default if another key is not specified.
WARNING! To avoid additional data loss, you should have a spare hard drive
available. Use this spare drive to store decrypted output or to back up the
contents of the damaged volume.
Parameters:
InputVolume
The BitLocker-encrypted volume to repair.
Example: "C:",
"\\?\Volume{26a21bda-a627-11d7-9931-806e6f6e6963}".
OutputVolumeOrImage
The volume to store decrypted contents, or the file
location to create an image file of the contents.
Examples: "D:", "D:\imagefile.img".
WARNING! All information on this output volume will be
overwritten.
-rk or -RecoveryKey
Provide an external key to unlock the volume.
Example: "F:\RecoveryKey.bek".
-rp or -RecoveryPassword
Provide a numerical password to unlock the volume.
Example: "111111-222222-333333-...".
-pw or -Password
Provide a password to unlock the volume.
-kp or -KeyPackage
Optional. Provide a key package to unlock the volume.
Example: "F:\ExportedKeyPackage"
If this option is blank, the tool will look for the key package
automatically. This option is needed only if required by the tool.
-lf or -LogFile
Optional. Provide a path to a file that will store progress
information. Example: "F:\log.txt".
-f or -Force
Optional. When used, forces a volume to be dismounted even if
it cannot be locked. This option is needed only if required by
the tool.
-? or /?
Shows this screen.
Examples:
repair-bde C: D: -rk F:\RecoveryKey.bek -Force
repair-bde C: D: -rp 111111-222222-[...] -lf F:\log.txt
repair-bde C: D: -kp F:\KeyPackage -rp 111111-222222-[...]
repair-bde C: D:\imagefile.img -kp F:\KeyPackage -rk F:\RecoveryKey.bek
repair-bde C: D: -pw
Return Code: 1
C:\Windows\system32\repair-bde.exe
c:\>ver
Microsoft Windows [Version 10.0.19045.2075]
| File | Info |
|---|---|
| File Size | 129024bytes |
| Creation Time | 2019/12/07 18:10:10 |
| LastWrite Time | 2019/12/07 18:50:56 |
| ProductVersion | 10.0.19041.1 |
| FileVersion | 10.0.19041.1 (WinBuild.160101.0800) |
| Hash | Value |
|---|---|
| MD5 | 9fa5c71841fde30c7d62cc95e5389e6a |
| SHA1 | b00760877633fb4a34fce53c1c5142f2ffd43284 |
| SHA224 | 15ba08c52448becfed66bf5d32403f9c6b707e3b98628a856249c380 |
| SHA256 | 13930144928b4c55ac75120678f3c523b6e6e1730b0e5bc972a15faeae399259 |
| SHA384 | 5b0087441ad8ecdaa326ace1605b5f71fba1bd2e0bab3bfeaeb4648d54d556e9da336f89335348f07956449e2ab5b877 |
| SHA512 | b37c82ec0f6ecab0887263be677b1a1d6cfcabb775d22c4af62a22ae544d6bde8b31d2f99cb3bcbcd9a9c160692f69efdaeef387596434a3971d2e1e0ebde412 |