FIX: A required privilege is not held by the client “0x80070522”

File operations such as copying or changing files in system folders like C:\Windows or C:\Program Files can fail immediately with error 0x80070522 and show no progress. This error means the user does not have the needed security permission to write in protected system locations.

A required privilege is not held by the client

The most common cause is not having administrator rights on a standard account. Other reasons include Group Policy settings that block access or a certain security privilege, such as SeBackupPrivilege, being turned off.

Now that you know the causes,let’s move to solutions.

1. Save the File as Administrator

This is the simplest and safest approach to bypass Microsoft’s limitations for OS root folders. The ability to use this method depends on the file type you need to save. Instead of directly creating or copying the file to a restricted directory, open the desired application—such as Notepad for text files or Photoshop for images—but run the program as an administrator. To do this, right-click the application and select Run as administrator. This action grants the necessary permissions to save files in protected locations. By taking this measure, you can create or save your file in the root folders without encountering any permission issues.

2016-09-01_014934

2. Copy the File Using an Command Prompt

This solution requires the use of an Command Prompt, which runs with administrator privileges. To open one, go to the Start menu, type cmd, right-click the Command Prompt result, and choose Run as administrator. You will need to know the exact path of your source file and destination. Use the following command format:

copy sourceAddress destinationAddress

For example, to move Test.txt located in the Work folder on the D: drive to the Windows folder on the C: drive, the command would look like this:

copy d:\work\test.txt c:\windows\

Executing this command will copy your file to the desired location, bypassing standard user restrictions.

3. Disable Admin Approval Mode

User Account Control (UAC) helps protect your system by limiting access to certain functions. However, its Admin Approval Mode can restrict necessary operations, such as copying or creating files within critical directories. You can temporarily disable this feature with just a few steps:

  1. Press Windows + R to open the Run dialog box.
  2. Type secpol.msc and press Enter. Allow any security prompts if they appear.
  3. In the Local Security Policy window, navigate to Local Policies in the left-hand pane.
  4. Click on Security Options.
  5. In the right-hand pane, scroll down and locate User Account Control: Run all administrators in Admin Approval Mode.
  6. Right-click on the policy and select Properties.
  7. Set the option to Disable, then click Apply and OK.
  8. Close the Local Security Policy window.
  9. Restart your computer to apply the changes.

Run all administrators in Admin Approval Mode

4. Completely Disable User Account Control

If the previous steps do not resolve the issue, you may need to fully disable User Account Control. This can be accomplished quickly through the System Configuration panel:

  1. Click on the Start menu and type msconfig in the search bar.
  2. Press Enter to open the System Configuration window.
  3. Navigate to the Tools tab.
  4. Scroll through the list and select Change UAC Settings.
  5. Click on Launch to open the User Account Control Settings window.
  6. Move the slider down to Low or Never Notify (Off) depending on your preference.
  7. Click OK to save the settings.
  8. Close the System Configuration window.
  9. Restart your computer for the changes to take effect.

disable uac windows 10

5. Take Ownership of the Operating System’s Partition

Taking ownership of your operating system’s partition grants you full control over its contents. In this example, we’ll use C: as the system drive. If your OS is installed on another partition, simply substitute that drive letter.

  1. Open This PC or My Computer from the desktop or Start menu.
  2. Right-click on the C: drive and select Properties.
  3. Navigate to the Security tab and click on the Advanced button.
  4. In the Advanced Security Settings window, go to the Owner tab.
  5. Click on Edit to change the ownership.
  6. From the list of users, select your username, Administrator, or the Administrators group.
  7. Check the box labeled Replace all existing inheritable permissions on all descendants with inheritable permissions from this object.
  8. Click Apply and then confirm by clicking Yes when prompted.

No matter which approach you choose, following these instructions will enable you to successfully copy or create files where needed, effectively overcoming Windows’ security restrictions. Always exercise caution when modifying system directories, and be sure to restore security settings once you have completed your task to keep your computer safe.

ABOUT THE AUTHOR

Kevin Arrows


Kevin Arrows is a highly experienced and knowledgeable technology specialist with over a decade of industry experience. He holds a Microsoft Certified Technology Specialist (MCTS) certification and has a deep passion for staying up-to-date on the latest tech developments. Kevin has written extensively on a wide range of tech-related topics, showcasing his expertise and knowledge in areas such as software development, cybersecurity, and cloud computing. His contributions to the tech field have been widely recognized and respected by his peers, and he is highly regarded for his ability to explain complex technical concepts in a clear and concise manner.