A required privilege is not held by the client

Veeam Backup & Replication
5.X 6.X
Last Modified:


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.


To call RegSaveKeyEx successfully, you need to assign the SE_BACKUP_NAME privilege.
You can check the privilege on your machine under Control Panel > Administrative Tools > Local Security Policy > Local Policies > User Rights Assignment > Back up files and directories

Rate the quality of this KB article: 
1.7 out of 5 based on 3 ratings

Couldn't find what you were looking for?

Below you can submit an idea for a new knowledge base article.

Report a typo on this page:

Please select a spelling error or a typo on this page with your mouse and press CTRL + Enter to report this mistake to us. Thank you!

Spelling error in text: