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

manage-bde keypackage

· 52CE 我爱测

Reference article for the manage-bde keypackage command, which generates a key package for a drive.

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.

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

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 10/16/2017
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

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

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