Fix 0x80070522 A required privilege is not held by the client Error in Windows

Fix 0x80070522 A required privilege is not held by the client Error in Windows

What is the “required privilege is not held by the client”0x80070522 Error?

The 0x80070522 error “A required privilege is not held by the client” often interrupts many Windows users, when a user tries to rename, copy or create a file, or move or delete folders and files that need administrative privileges. It’s Window’s way of saying that you do not have sufficient permissions or privileges to perform the necessary actions.

This issue can also spring up while accessing or creating a file inside crucial system folders or inside a directory including but not limited to the Windows folder, System32, and Program Files.

Potential triggers of this frustrating glitch vary from corrupted system files to outdated drivers or even virus infections. 

What Causes the error 0x80070522 “A required privilege is not held by the client”?

We can identify several factors that may trigger this issue:

  1. Insufficient user permissions: Standard users may encounter this problem if they try to perform tasks that require administrative rights.
  2. Corrupted system files: The error can pop up when system files are damaged or malfunctioning, creating a barrier for certain operations.
  3. Malware or virus infections: Viruses and malicious software can corrupt critical system files and settings leading to the error.
  4. Outdated or incompatible drivers: Old device drivers may cause conflicts with other programs that eventually result in this error.
  5. Logged in as a standard user instead of an administrator: This could restrict access to certain files and operations resulting in the error.
  6. Trying to access protected system files or folders: If you try to modify these sensitive areas without proper privileges, it could trigger an error message.
  7. Modifying files or folders owned by another user group: Unauthorized manipulation of such data is often blocked by Windows, causing the alert to appear.
  8. Corrupted device drivers can also lead to the triggering of this particular error code, disrupting normal computer operations.

How to fix the error?

1: Enable the Administrator Account as a default

This solution provides the necessary authority to conduct these operations successfully.

Here’s how to do it:

  1. Click on the “Start” button.
  2. Type in “cmd” in the search bar.
  3. Right-click on Command Prompt and select “Run as Administrator.”
  4. Once in Command Prompt, type “net user administrator /active: yes” and hit enter.
  5. Close the command prompt window and log out of your current account.
  6. Log back in but this time select the new Administrator account that has been enabled.

2: Run the program as an administrator

This method allows you to access elevated permissions and resolve any privilege-related issues. 

Here’s how to do it:

  1. Right-click on the program or application that is causing the error.
  2. From the context menu, select “Run as administrator”.
  3. If you’re prompted for confirmation by User Account Control (UAC), click “Yes” to grant permission.
  4. The program will now run with administrative privileges, which should help bypass any privilege-related restrictions.

3: Run File Explorer with administrator privileges

Running the File Explorer as an administrator is an effective solution. 

This method allows users to bypass permission restrictions and access folders or files that require administrative privileges.

By running File Explorer as an administrator, users gain the necessary permissions to copy, create, or modify files in restricted locations.

  • To run File Explorer as an administrator, right-click on the File Explorer icon or shortcut and select “Run as administrator” from the context menu.
  • This action will prompt a User Account Control (UAC) dialog box for confirmation. Click “Yes” to proceed with administrative privileges.
  • Double-click on the “User Account Control: Run all administrators in Admin Approval Mode” policy.Best create a restore point before making any changes is recommended in case any issues arise during the process.

Related: This file doesn’t have an app associated with it

4: Disable User Account Control (UAC) settings

Admin Approval Mode is a feature of the User Account Control (UAC) that can restrict several functions on your computer, such as creating or modifying files inside the root folders.

The User Account Control (UAC) includes functionality called Admin Approval Mode, which can limit various actions on your computer, such as the ability to create or edit files within the main directories. 

To resolve the “A required privilege is not held by the client” error, you can try disabling User Account Control (UAC) settings or Admin approval mode. 

Here’s how:

  • Open the Control Panel on your Windows computer.
  • Click on “User Accounts” or “User Accounts and Family Safety”.
  • Select “Change User Account Control settings“.
  • Move the slider to the bottom to set it to “Never notify“.
  • Click on “OK” to save the changes.
  • Restart your computer for the changes to take effect.

5: Take Full Ownership of the File or Folder or Root Drive

This will grant you full control over the operating system’s partition, such as the C drive. Here’s how to do it:

  1. Access the properties of the file, folder, or root drive.
  2. Go to the Security tab.
  3. Click on Advanced.
  4. From the list – select your administrator account and click edit.
  5. Under Group or user names – check the box that says “Replace owner on subcontainers and objects” if you want to apply ownership changes recursively.
  6. Check “Replace all child object permission entries with inheritable permission entries from this object” if you want to apply the permissions to all subfolders and files.
  7. Click Apply or OK to close all windows.

6: Copy the File with Command Prompt

You can try copying the file using Command Prompt

Here’s how:

  1. Open Command Prompt by pressing Windows Key + X and selecting “Command Prompt (Admin).” ( or elevated command prompt )
  2. In the Command Prompt window, navigate to the location of the file or folder you want to copy. For example, if the file is located on your desktop, use the command: cd C:\Users\YourUsername\Desktop
  3. Once you’re in the correct directory, use the copy command followed by the source and destination paths. For example, if you want to copy a file named “example.txt” to another location on your computer, use this command: copy example.txt C:\NewLocation
  4. Press Enter to execute the command and initiate the file copy process.
  5. Depending on the size of the file and your system’s performance, it may take some time to complete.
  6. Once the process is finished, check if you can access and use the copied file without encountering any errors.

7: Save the file as administrator

This will ensure that you have the necessary privileges to access and modify the file.

Here’s how you can do it:

  1. Right-click on the file or folder that is giving you the error.
  2. From the context menu, select “Save as administrator.”
  3. A UAC (User Account Control) prompt may appear asking for permission to make changes to your system. Click “Yes” to proceed.
  4. Choose a location to save the file or folder, preferably a location where you have full control or ownership.
  5. Click “Save” to complete the process.

8: Take ownership of the operating system’s partition

Here’s how:

  1. Open File Explorer and navigate to the partition or drive where the operating system is installed.
  2. Right-click on the partition and select “Properties” from the context menu.
  3. In the Properties window, go to the “Security” tab and click on the “Advanced” button.
  4. In the Advanced Security Settings window, click on the “Change” link next to the current owner’s name.
  5. In the Select User or Group window, enter your username in the text box under “Enter object name to select”.
  6. Click on “Check Names” to validate your username and then click on “OK”.
  7. Back in the Advanced Security Settings window, make sure your username is selected in the list of owners.
  8. Checkmark the option that says “Replace owner on subcontainers and objects”.
  9. Also check “Replace all existing inheritable permissions on all descendants with inheritable permissions from this object.“
  10. Click on “Apply” and then click on “OK” to close all windows.
  11. You may encounter a security warning message asking if you want to continue; click on “Yes”.

Also Read: Failed to Enumerate Objects in the Container in Windows 10 [Fix]

9: Modify EnableLUA registry key to 0

You can try modifying the EnableLUA registry key to 0.

This solution can unlock certain functions, such as creating or copying files in root folders.

Here’s how you can do it:

  1. Press the Windows key + R to open the Run dialog box.
  2. Type “regedit” (without quotes) and press Enter to open the Registry Editor.
  3. Navigate to the following location: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
  4. In the right pane, double-click on the “EnableLUA” DWORD value.
  5. Change the value data from 1 to 0 and click OK.
  6. Close the Registry Editor and restart your computer.

10: Disable Any Third Party Antivirus Software

To resolve the “A required privilege is not held by the client” error, you can temporarily disable your antivirus program.

Here’s how:

  • Open your antivirus software from the system tray or Start menu.
  • Look for an option to temporarily disable or turn off the antivirus protection. This may be found in settings, preferences, or options.
  • Click on the disable or turn off option, and confirm if any additional prompts appear.
  • After disabling the antivirus program, try performing the action that was giving you the error message again.
  • If the error no longer appears, you can proceed with your task.
  • Remember to re-enable your antivirus program once you have completed the task.

11: Perform an SFC and ChkDsk scan

To perform a System File Checker Scan, follow these steps:

  • Press the Windows key + X on your keyboard to open the Power User menu.
  • Select Command Prompt (Admin) or PowerShell (Admin) from the list.
  • In the Command Prompt or PowerShell window, type “sfc /scannow” and press Enter.
  • The System File Checker will now scan your system for any corrupt files and automatically replace them with cached copies from a specifically designated folder.
  1. Open the command prompt as an administrator.
  2. Type “chkdsk C: /f” and press Enter. Replace “C:” with the drive letter of the partition where you’re encountering the error.
  3. You’ll see a message asking if you want to schedule a disk check for the next system restart. Type “Y” for yes and press Enter.
  4. Restart your computer for the disk check to run.

12: Update Your Drivers via Device Manager

Updating your drivers can help fix issues related to outdated or incompatible drivers.

Here’s how you can do it:

  1. Press the Windows key + X on your keyboard and select “Device Manager” from the menu that appears.
  2. In the Device Manager window, locate the category of the device for which you want to update the driver.
  3. Right-click on the device and select “Update driver” from the context menu.
  4. Choose the option to search automatically for updated driver software. This will allow Windows to search for and install the latest driver for your device.
  5. If Windows finds an updated driver, follow any prompts or instructions provided to complete the installation process.
  6. If Windows doesn’t find an updated driver, you can try visiting the manufacturer’s website to download and install a compatible driver manually.
  7. To manually install a driver, right-click on the device in Device Manager and select “Update driver” again.
  8. This time, choose the option to browse your computer for driver software.
  9. Browse to the location where you downloaded or saved the driver file, then click “Next” to begin installing it.
  10. Follow any additional prompts or instructions provided by Windows during the installation process.

13: Clean Boot Your System

Here’s how to do it:

  1. Press the Windows key + R to open the Run dialog box.
  2. Type “msconfig” and click OK to open the System Configuration window.
  3. In the General tab, check the Selective Startup option.
  4. Uncheck the Load startup items box.
  5. Go to the Services tab and check the Hide all Microsoft services box at the bottom.
  6. Click on Disable All to disable all non – Microsoft services.
  7. Click OK to apply the changes and restart your computer.

14: Perform a system restore

Last but not least, a system restore may be the only option.

Here are the steps:

  1. Press the Windows key + R on your keyboard to open the Run dialog box.
  2. Type “rstrui.exe” into the Run dialog box, and then press Enter.
  3. The System Restore window will appear. Click on “Next” to proceed.
  4. Select a restore point from the list that represents a time when your system was functioning properly.
  5. Click on “Next” to continue.
  6. Review the details of the selected restore point and make sure it is the correct one.
  7. If you have any important files or data that you don’t want to lose, it’s recommended to back them up before proceeding with the restore.
  8. Click on “Finish” to start the process.
  9. Your computer will restart, and Windows will begin restoring your system to the selected restore point.
  10. Once the process is complete, Windows will prompt you with a message indicating that the system restore was successful.


Can I fix this error myself without administrative access?

In most cases, fixing this error will require administrative access as it involves modifying system-level settings and permissions. Without administrative access, you may be limited in resolving this issue on your own. It is recommended to seek assistance from someone with appropriate administrative rights or contact your system administrator for further guidance.

I am a computer engineer holding a bachelor's degree in Computer Science, complemented by a Master's in Business Administration from University of Strathclyde, Scotland. I currently work as a Senior IT Consultant in Melbourne, Australia. With over 15 years of...