CmdID

CmdID / Commands / manage-bde

manage-bde protectors

Manages the protection methods used for the BitLocker encryption key. Windows commands reference

On Windows

Opens CmdID with your command. It is read in your browser and sent nowhere.

Windows

from the Windows commands reference, CC BY 4.0
manage-bde -protectors [{-get|-add|-delete|-disable|-enable|-adbackup|-aadbackup}] <drive> [-computername <name>] [{-?|/?}] [{-help|-h}]
manage-bde -protectors -add [<drive>] [-forceupgrade] [-recoverypassword <numericalpassword>] [-recoverykey <pathtoexternalkeydirectory>]
[-startupkey <pathtoexternalkeydirectory>] [-certificate {-cf <pathtocertificatefile>|-ct <certificatethumbprint>}] [-tpm] [-tpmandpin]
[-tpmandstartupkey <pathtoexternalkeydirectory>] [-tpmandpinandstartupkey <pathtoexternalkeydirectory>] [-password][-adaccountorgroup <securityidentifier> [-computername <name>]
[{-?|/?}] [{-help|-h}]
manage-bde -protectors -delete <drive> [-type {recoverypassword|externalkey|certificate|tpm|tpmandstartupkey|tpmandpin|tpmandpinandstartupkey|Password|Identity}]
[-id <keyprotectorID>] [-computername <name>] [{-?|/?}] [{-help|-h}]
manage-bde -protectors -disable <drive> [-rebootcount <integer 0 - 15>] [-computername <name>] [{-?|/?}] [{-help|-h}]
manage-bde -protectors -add E: -certificate -cf c:\File Folder\Filename.cer
manage-bde -protectors -add E: -sid DOMAIN\user
manage-bde -protectors -disable C: -rc 3
manage-bde -protectors -delete C: -type tpmandstartupkey
Show 40 options
-getDisplays all the key protection methods enabled on the drive and provides their type and identifier (ID).
-addAdds key protection methods as specified by using additional -add parameters.
-deleteDeletes key protection methods used by BitLocker. All key protectors will be removed from a drive unless the optional -delete parameters are used to specify which protectors to delete. When the last protector on a drive is deleted, BitLocker protection of the drive is disabled to ensure that access to data is not lost inadvertently.
-disableDisables protection, which will allow anyone to access encrypted data by making the encryption key available unsecured on drive. No key protectors are removed. Protection will be resumed the next time Windows is booted unless the optional -disable parameters are used to specify the reboot count.
-enableEnables protection by removing the unsecured encryption key from the drive. All configured key protectors on the drive will be enforced.
-adbackupBacks up recovery information for the drive specified to Active Directory Domain Services (AD DS). Append the -id parameter and specify the ID of a specific recovery key to back up. The -id parameter is required.
-aadbackupBacks up all recovery information for the drive specified to Microsoft Entra ID. Append the -id parameter and specify the ID of a specific recovery key to back up. The -id parameter is required.
<drive>Represents a drive letter followed by a colon.
-computernameSpecifies 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 -hDisplays complete help at the command prompt.
-recoverypasswordAdds a numerical password protector. You can also use -rp as an abbreviated version of this command.
<numericalpassword>Represents the recovery password.
-recoverykeyAdds an external key protector for recovery. You can also use -rk as an abbreviated version of this command.
<pathtoexternalkeydirectory>Represents the directory path to the recovery key.
-startupkeyAdds an external key protector for startup. You can also use -sk as an abbreviated version of this command.
-certificateAdds a public key protector for a data drive. You can also use -cert as an abbreviated version of this command.
-cfSpecifies that a certificate file will be used to provide the public key certificate.
<pathtocertificatefile>Represents the directory path to the certificate file.
-ctSpecifies that a certificate thumbprint will be used to identify the public key certificate
<certificatethumbprint>Specifies the value of the thumbprint property of the certificate you want to use. For example, a certificate thumbprint value of a9 09 50 2d d8 2a e4 14 33 e6 f8 38 86 b0 0d 42 77 a3 2a 7b should be specified as a909502dd82ae41433e6f83886b00d4277a32a7b.
-tpmandpinAdds a Trusted Platform Module (TPM) and personal identification number (PIN) protector for the operating system drive. You can also use -tp as an abbreviated version of this command.
-tpmandstartupkeyAdds a TPM and startup key protector for the operating system drive. You can also use -tsk as an abbreviated version of this command.
-tpmandpinandstartupkeyAdds a TPM, PIN, and startup key protector for the operating system drive. You can also use -tpsk as an abbreviated version of this command.
-passwordAdds a password key protector for the data drive. You can also use -pw as an abbreviated version of this command.
-adaccountorgroupAdds a security identifier(SID)-based identity protector for the volume. You can also use -sid as an abbreviated version of this command. IMPORTANT: By default, you can't add an ADaccountorgroup protector remotely using either WMI or manage-bde. If your deployment requires the ability to add this protector remotely, you must enable constrained delegation.
-typeIdentifies the key protector to delete. You can also use -t as an abbreviated version of this command.
recoverypasswordSpecifies that any recovery password key protectors should be deleted.
externalkeySpecifies that any external key protectors associated with the drive should be deleted.
certificateSpecifies that any certificate key protectors associated with the drive should be deleted.
tpmSpecifies that any TPM-only key protectors associated with the drive should be deleted.
tpmandstartupkeySpecifies that any TPM and startup key based key protectors associated with the drive should be deleted.
tpmandpinSpecifies that any TPM and PIN based key protectors associated with the drive should be deleted.
tpmandpinandstartupkeySpecifies that any TPM, PIN, and startup key based key protectors associated with the drive should be deleted.
passwordSpecifies that any password key protectors associated with the drive should be deleted.
identitySpecifies that any identity key protectors associated with the drive should be deleted.
-IDIdentifies the key protector to delete by using the key identifier. This parameter is an alternative option to the -type parameter.
<keyprotectorID>Identifies an individual key protector on the drive to delete. Key protector IDs can be displayed by using the manage-bde -protectors -get command.
rebootcountSpecifies that protection of the operating system volume has been suspended and will resume after Windows has been restarted the number of times specified in the rebootcount parameter. Specify 0 to suspend protection indefinitely. If this parameter isn't specified, BitLocker protection automatically resumes after Windows is restarted. You can also use -rc as an abbreviated version of this command.