PC Error Code MeaningsWindows PC errors explained

Home › All codes › 0x80070005

Windows Update

0x80070005 - Access denied

0x80070005   Microsoft name: ERROR_ACCESS_DENIED

What it means

Windows says the program or account does not have permission to do what it tried. It is the Windows error Access Denied, and the same code appears for many different jobs.

The same code is also reported in the Windows Update and activation tables, so the right fix depends on where you saw it.

This number is listed more than once in Microsoft's tables (see the source box). Use the entry that matches where you saw it.

Where you see it

Windows Update, activation, Microsoft Store, app installs and file or folder changes. Which step is failing matters more than the code.

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. Restart, sign in with an administrator account, and try again. If it is an app, right-click it and choose Run as administrator.Related Microsoft page: Troubleshoot problems updating Windows
  2. If it appears in Windows Update, run the Windows Update troubleshooter, then repair files with DISM /Online /Cleanup-Image /RestoreHealth and then sfc /scannow.Related Microsoft page: Troubleshoot Windows Update error 0x80070005
  3. If it appears when activating Windows, Microsoft's activation article for this code covers that case. Open Command Prompt as administrator as it describes.Related Microsoft page: Error 0x80070005 access denied (activation)

Stop and get help when…

it is a work PC, or you would need to change permissions on system folders. Do not change permissions on Windows folders yourself.

Source and date

Official Microsoft reference
System Error Codes (WinError.h)
More Microsoft help
Fix Windows Update errors
Date checked
24 November 2026. Microsoft changes its pages; if a step no longer matches, trust the Microsoft page.

Win32 error 5 wrapped as an HRESULT (0x8007xxxx)

ERROR_ACCESS_DENIED

Microsoft describes it as: “Access is denied.”

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

HRESULT

E_ACCESSDENIED

Microsoft describes it as: “General access denied error”

Source: COM error codes (Microsoft Learn content, CC BY 4.0)

Windows Update error

E_ACCESSDENIED

Source: Windows Update common errors

Windows activation error

Access denied. The requested action requires elevated privileges.

Source: Troubleshoot Windows activation error codes

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.

All Windows Update errors

Related codes