Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
The GetKeyProtectors method of the Win32_EncryptableVolume class lists the protectors used to secure the volume's encryption key. If a protector type is provided, then only volume key protectors of the specified type are returned.
uint32 GetKeyProtectors(
[in, optional] uint32 KeyProtectorType,
[out] string VolumeKeyProtectorID[]
);
KeyProtectorType [in, optional]
Type: uint32
An unsigned integer that specifies the type of key protector to return.
If this parameter is not specified, all available key protectors of the volume are returned.
Value | Meaning |
---|---|
|
All types. All key protectors are returned. |
|
Trusted Platform Module (TPM). |
|
External key. |
|
Numeric password. |
|
TPM And PIN. |
|
TPM And Startup Key. |
|
TPM And PIN And Startup Key. |
|
Public Key. |
|
Passphrase. |
|
TPM Certificate |
|
Security Identifier (SID) |
VolumeKeyProtectorID [out]
Type: string[]
An array of strings that identify the key protectors used to secure the volume's encryption key.
Type: uint32
This method returns one of the following codes or another error code if it fails.
Return code/value | Description |
---|---|
|
The method was successful. |
|
The VolumeKeyProtectorID parameter is specified but does not refer to a valid KeyProtectorType. |
|
BitLocker is not enabled on the volume. Add a key protector to enable BitLocker. |
Managed Object Format (MOF) files contain the definitions for Windows Management Instrumentation (WMI) classes. MOF files are not installed as part of the Windows SDK. They are installed on the server when you add the associated role by using the Server Manager. For more information about MOF files, see Managed Object Format (MOF).
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista Enterprise, Windows Vista Ultimate [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |
Namespace |
Root\CIMV2\Security\MicrosoftVolumeEncryption |
MOF |
|
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register today