sodcalculator

10 Tech How-To

Fix Error 0x80070522: Client Lacks Required Privilege

Guide 10-28079 · Updated · Step by step

Error 0x80070522, which states “A required privilege is not held by the client,” typically occurs on Windows when you try to copy, move, or save files to certain system-protected locations (like the Program Files folder or the Windows directory) without administrator rights. The fix is to grant your user account the necessary permissions or to perform the action from an elevated (Administrator) command prompt or File Explorer window. Below, we explain the causes and provide step-by-step solutions.

What Causes Error 0x80070522?

This error is a Windows security feature that prevents unauthorized changes to critical system areas. It appears when a process lacks the SeRestorePrivilege or SeBackupPrivilege – privileges that are normally held by administrators. Common scenarios include:

  • Copying files into C:\Program Files or C:\Windows without elevation.
  • Modifying protected registry keys or system files.
  • Running an application that tries to write to a protected folder without requesting admin rights.
  • Using a standard (non-admin) user account.

The error is more frequent on Windows 10 and 11 because of User Account Control (UAC), which restricts even administrator accounts unless the action is explicitly elevated.

How to Fix It: Run as Administrator

The quickest fix is to launch the application or File Explorer with administrator privileges.

  1. Right-click on the program or File Explorer icon.
  2. Select Run as administrator.
  3. If prompted by UAC, click Yes.
  4. Now try the operation again (e.g., copy the file).

If you are using Command Prompt or PowerShell, open it as administrator (right-click > Run as administrator) before executing the copy or move command.

Enable Administrator Account (Windows Pro/Enterprise)

If you are on Windows Pro, Enterprise, or Education, you can enable the built-in Administrator account, which has full privileges by default.

  1. Open Command Prompt as administrator.
  2. Type net user administrator /active:yes and press Enter.
  3. Log out and log in as Administrator.
  4. Perform the file operation.
  5. Afterward, disable the account with net user administrator /active:no for security.

Note: This is not available on Windows Home edition.

Change Folder Permissions (Take Ownership)

If you need regular access to a protected folder, you can change its permissions to allow your user account full control.

  1. Right-click the folder (e.g., C:\Program Files\MyApp) and select Properties.
  2. Go to the Security tab.
  3. Click Advanced.
  4. Next to Owner, click Change.
  5. Enter your username, click Check Names, then OK.
  6. Check Replace owner on subcontainers and objects.
  7. Click OK, then in the Security tab, click Edit.
  8. Add your user and grant Full control.

Be cautious: modifying permissions on system folders can compromise security. Only do this for specific application folders you trust.

Disable User Account Control (UAC) Temporarily

UAC is the main gatekeeper. Lowering it may resolve the error, but it reduces system security.

  1. Press Win + R, type regedit (or search for “UAC”).
  2. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System.
  3. Change EnableLUA to 0.
  4. Restart your computer.

To re-enable, set it back to 1. This is a temporary workaround, not a permanent solution.

Common Misconception: It’s Not a Virus

Many users assume error 0x80070522 indicates malware. In most cases, it is simply a permission issue. However, if you consistently get this error even when running as administrator, it could be a sign of a corrupted user profile or a group policy restriction. Check your user account type (Settings > Accounts > Your info) to ensure it says “Administrator.”

Frequently Asked Questions

Why do I get error 0x80070522 when copying to a USB drive?

This usually happens if the USB drive is formatted with NTFS and the folder you are copying to has restrictive permissions. Right-click the destination folder, go to Properties > Security, and give your user account write permissions. Alternatively, copy to the root of the drive, which often has broader permissions.

Can I fix this error by disabling antivirus?

Antivirus software rarely causes this specific error. Disabling it is not recommended and unlikely to help. Focus on elevation and permissions instead.

Does this error occur on Windows 7 or 8?

Yes, but it is less common because UAC was less strict. The same fixes apply: run as administrator or change folder permissions.

How do I know if I have administrator rights?

Go to Settings > Accounts > Your info. Under “Your account,” it will say “Administrator” or “Standard user.” If it says Standard, you need to ask an admin to elevate you.

Is it safe to take ownership of the entire C: drive?

No. Taking ownership of the whole C: drive can break Windows. Only take ownership of specific folders you need to modify.

What if none of these fixes work?

Try creating a new user account with admin rights and see if the error persists. If it does, you may need to repair your Windows installation using the DISM and SFC commands (run as administrator: sfc /scannow and DISM /Online /Cleanup-Image /RestoreHealth).

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →