PC and Mac Error CodesWindows PC and Mac errors explained

Home › All codes › 0x80070522

Files and disks

0x80070522 - A required privilege is not held

0x80070522   Microsoft name: ERROR_PRIVILEGE_NOT_HELD

What it means

Your account does not have the permission needed for this action.

Where you see it

Copying to a protected folder, upgrading Windows, installing software.

Likely causes

Three safe steps, in order

Try them one at a time and test after each. No registry edits, no repair tools to buy, and no switching off your security. If a step needs a driver, firmware or Windows installation media, get it only from Microsoft or your device maker.

  1. Sign in with an administrator account and try again. Microsoft's upgrade guide lists this exact code as needing administrator rights.Related Microsoft page: Windows 10 upgrade resolution procedures
  2. Right-click the program and choose Run as administrator.Related Microsoft page: Fix problems that block programs from being installed or removed
  3. If it is a shared folder, ask the owner for write access.Related Microsoft page: Access Denied when you access a Server Message Block (SMB) file share

Stop and get help when…

it is a work PC or a protected Windows folder. Do not change Windows folder permissions yourself.

Source and date

Official Microsoft reference
System Error Codes (WinError.h)
More Microsoft help
Use the System File Checker tool to repair missing or corrupted system files
Date checked
24 November 2026. Microsoft changes its pages; if a step no longer matches, trust the Microsoft page.

Win32 error 1314 wrapped as an HRESULT (0x8007xxxx)

ERROR_PRIVILEGE_NOT_HELD

Microsoft describes it as: “A required privilege is not held by the client.”

Source: System Error Codes (WinError.h) (Microsoft Learn content, CC BY 4.0)

The wording above is ours. Where a box quotes Microsoft's description, it comes from Microsoft Learn documentation published under CC BY 4.0 and is credited to the page linked.

Related codes