1-800-691-1991 | 9am - 8pm ET

A required privilege is not held by the client


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
Veeam Backup & Replication
5.X 6.X
Last Modified:
Please rate how helpful this article was to you:
5 out of 5 based on 1 ratings
Thank you for helping us improve!
An error occurred during voting. Please try again later.

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

Knowledge base content request
By submitting, you agree that your personal data will be managed by Veeam in accordance with the Privacy Policy.

ty icon

Thank you!

We have received your request and our team will reach out to you shortly.


error icon

Oops! Something went wrong.

Please go back try again later.