大网数据广告活动
Windows排障命令

manage-bde unlock

· 52CE 我爱测

Reference article for the manage-bde unlock command, which unlocks a BitLocker-protected drive by using a recovery password or a recovery key.

Unlocks a BitLocker-protected drive by using a recovery password or a recovery key.

Syntax

manage-bde -unlock {-recoverypassword -password | -recoverykey <pathtoexternalkeyfile>} <drive> [-certificate {-cf pathtocertificatefile | -ct certificatethumbprint} {-pin}] [-password] [-computername <name>] [{-?|/?}] [{-help|-h}]

Parameters

Parameter Description
-recoverypassword Specifies that a recovery password will be used to unlock the drive. You can also use -rp as an abbreviated version of this command. This is the recovery key that's saved to a text file and must be written exactly as shown including dashes.
-password Represents the recovery password that can be used to unlock the drive that either you or your administrator has set.
-recoverykey Specifies that an external recovery key file will be used to unlock the drive. You can also use -rk as an abbreviated version of this command. This method searches for the .bek recovery key file that is saved to a USB drive.
<pathtoexternalkeyfile> Represents the external recovery key file that can be used to unlock the drive.
<drive> Represents a drive letter followed by a colon.
-certificate The local user certificate for a BitLocker certificate to unlock the volume is located in the local user certificate store. You can also use -cert as an abbreviated version of this command.
-cf <pathtocertificatefile> Path to the certificate file.
-ct <certificatethumbprint> Certificate thumbprint which may optionally include the PIN (-pin).
-password Presents a prompt for the password to unlock the volume. You can also use -pw as an abbreviated version of this command.
-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.

Examples

To unlock drive E with a password, type:

manage-bde -unlock E: -password

To unlock drive E with a recovery password, type:

manage-bde -unlock E: -recoverypassword xxxxxx-xxxxxx-xxxxxx-xxxxxx-xxxxxx-xxxxxx-xxxxxx-xxxxxx

To unlock drive E with a recovery key file that's been saved to a backup folder on another drive, type:

manage-bde -unlock E: -recoverykey F:\Backupkeys\recoverykey.bek

Related links

Source: Microsoft Learn / Windows Server documentation by Microsoft and contributors (upstream author metadata: robinharwood). Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Server documentation
适用范围
Windows Server · Source date 01/17/2023
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。