When attempting to perform modification of the registry hive of a Domain Controller in a SureBackup Job, VDK encounters an error. You can successfully mount and modify the hive, but when you try to save it, the following error occurs:
<01> Info Execute VDK command: close * /F
<14> Info VDK close: Virtual Disk Driver for Windows version 4.0
<15> Info VDK close: Closing the image on the virtual disk 0...
<15> Info VDK close: Failed to dismount a partition.
<15> Info VDK close:
<15> Info VDK close: Access is denied.
<15> Info VDK close: The operation is forced to proceed
<01> Error A required privilege is not held by the client (System.ComponentModel.Win32Exception)
<01> Error at Veeam.Backup.Common.Windows.CRegistry.SaveKey(IntPtr hKey, String lpFile, UInt32 flag)
<01> Error at Veeam.Backup.Common.Windows.CRegistryHiveLoadSession.SaveHive(String fileName)
<01> Error at Veeam.Backup.Common.Windows.CRegistryHiveLoadSession.FlushHive()
<01> Error at Veeam.Backup.SureBackup.Tools.CVmRegistryFile.Dispose()
The issue may be caused by lack of permissions for the service account, under which the Veeam Backup Service runs in the Local Security Policy.