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
S_OK
0 (0x0)
The method was successful.
S_FALSE
1 (0x1)
Group Policy does not permit the storage of recovery information to Active Directory.
FVE_E_NOT_ACTIVATED
2150694920 (0x80310008)
BitLocker is not enabled on the volume. Add a key protector to enable BitLocker.
FVE_E_INVALID_PROTECTOR_TYPE
2150694970 (0x8031003A)
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
Win32_encryptablevolume.mof

See also

Win32_EncryptableVolume