text
stringlengths
0
4.23k
Forces a BitLocker-protected drive into recovery mode on restart. This command deletes all Trusted Platform Module (TPM)-related key protectors from the drive. When the computer restarts, only a recovery password or recovery key can be used to unlock the drive.
Syntax
manage-bde –forcerecovery <drive> [-computername <name>] [{-?|/?}] [{-help|-h}]
Parameters
Parameter
Description
<drive>
Represents a drive letter followed by a colon.
-computername
Specifies that manage-bde.exe will be used to modify BitLocker protection on a different computer. You can also use -cn as an abbreviated version of this command.
<name>
Represents the name of the computer on which to modify BitLocker protection. Accepted values include the computer's NetBIOS name and the computer's IP address.
-? or /?
Displays brief Help at the command prompt.
-help or -h
Displays complete Help at the command prompt.
<drive>
<name>
Examples
To cause BitLocker to start in recovery mode on drive C, type:
manage-bde –forcerecovery C:
manage-bde keypackage
Generates a key package for a drive. The key package can be used in conjunction with the repair tool to repair corrupted drives.
Syntax
manage-bde -keypackage [<drive>] [-ID <keyprotectoryID>] [-path <pathtoexternalkeydirectory>] [-computername <name>] [{-?|/?}] [{-help|-h}]
Parameters
Parameter
Description
<drive>
Represents a drive letter followed by a colon.
-ID
Creates a key package using the key protector with the identifier specified by this ID value. Tip: Use the manage-bde –protectors –get command, along with the drive letter that you want to create a key package for, to get a list of available GUIDs to use as the ID value.
-path
Specifies the location to save the created key package.
-computername
Specifies that manage-bde.exe will be used to modify BitLocker protection on a different computer. You can also use -cn as an abbreviated version of this command.
<name>
Represents the name of the computer on which to modify BitLocker protection. Accepted values include the computer's NetBIOS name and the computer's IP address.
-? or /?
Displays brief Help at the command prompt.
-help or -h
Displays complete Help at the command prompt.
<drive>
<name>
Examples
To create a key package for drive C, based on the key protector identified by the GUID, and to save the key package to F:\Folder, type:
manage-bde -keypackage C: -id {84E151C1...7A62067A512} -path f:\Folder
manage-bde lock
Locks a BitLocker-protected drive to prevent access to it unless the unlock key is provided.
Syntax
manage-bde -lock [<drive>] [-computername <name>] [{-?|/?}] [{-help|-h}]
Parameters
Parameter
Description