A Required Privilege Is Not Held By a Client (code 1621)

Situation

A backup terminates with the following error: A required privilege is not held by the client. Current permissions or privileges are not enough to copy or create {n} files inside a directory

Cause

This error occurs in cases of attempts to copy or create a file inside a directory with no sufficient permissions or privileges. In other words, this error occurs when you try to copy, paste, or modify something inside Windows folders and Microsoft does not allow unauthorized access to the Windows installation. This applies to the following system folders:

  • Windows
  • Program Files
  • System32.

Solution

Disable Administrator Approval Mode

Note: This does not apply for Home Edition Windows

  1. Run secpol.msc utility using command line.
  2. Navigate to Security Settings -> Local Policies > Security Options.

  1. Make sure Security Options is highlighted in the left window. Then in the right window pane find User Account Control: Run all administrators in Admin Approval Mode.

  1. Double-click on it and select Disable.

  1. Click Apply.
  2. Close the Local Security Policy window, then reboot your PC.

Disable UAC using Registry Editor

  1. Run regedit.

  1. Navigate to the following registry subkey: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\system HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Policies\system

  2. In the right pane of the System key, find EnableLUA DWORD, then double-click on it.

  1. Change the key value to 0, then click OK.
  2. Reboot your PC to save changes.
https://git.cloudberrylab.com/egor.m/doc-help-kb.git