共用方式為


Manage-bde: lock

 

Applies To: Windows 7, Windows 8.1, Windows Server 2008 R2, Windows Server 2012, Windows 8

Locks a BitLocker-protected drive to prevent access to it unless the unlock key is provided. For examples of how this command can be used, see Examples.

Syntax

manage-bde -lock [<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.

Examples

The following example illustrates using the -lock command to lock data drive D.

manage-bde –lock D:

Additional references