BackupRecoveryInformationToActiveDirectory method of the Win32_EncryptableVolume class
The BackupRecoveryInformationToActiveDirectory method of the Win32_EncryptableVolume class backs up recovery data to Active Directory. This method requires a numerical password protector to be present on the volume. Group Policy must also be configured to enable backup of recovery information to Active Directory.
Syntax
uint32 BackupRecoveryInformationToActiveDirectory(
[in] string VolumeKeyProtectorID
);
Parameters
-
VolumeKeyProtectorID [in]
-
Type: string
A unique string identifier used to manage an encrypted volume key protector. This key protector must be a numerical password protector.
Return value
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. |
|
Group Policy does not permit the storage of recovery information to Active Directory. |
|
BitLocker is not enabled on the volume. Add a key protector to enable BitLocker. |
|
The specified key protector is not a numerical key protector. You must enter a numerical password protector. |
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows 7 Enterprise, Windows 7 Ultimate [desktop apps only] |
Minimum supported server |
Windows Server 2008 R2 [desktop apps only] |
Namespace |
Root\CIMV2\Security\MicrosoftVolumeEncryption |
MOF |
|
See also