Error code

0x80070005

Access denied. Windows blocked the action because the account did not have permission.

0x80070005 is the Windows code for access denied. Windows tried to do something, like install an update, change a setting or write a file, and the account running the action did not have permission, so Windows stopped.

It is one of the most common Windows errors because so many actions need the right permissions. The fix is almost always about running with the right rights or clearing whatever is blocking the write.

Common causes

  • •The account does not have permission to the file, folder or registry key involved.
  • •An update or installer could not write to a protected system location.
  • •Antivirus or a security policy blocked the change.
  • •Windows activation could not reach or write what it needed.

The fix

  1. 1

    Open the program as administrator and try the action again. Right click it and choose Run as administrator.

  2. 2

    If it happens during Windows Update, reset the update components. Open CMD as administrator and run this, one block at a time.

    CMD
    net stop wuauserv
    net stop bits
    net stop cryptsvc
    ren %systemroot%\SoftwareDistribution SoftwareDistribution.old
    net start wuauserv
    net start bits
    net start cryptsvc
  3. 3

    Run a system file check in case protected files are damaged.

    CMD
    sfc /scannow
  4. 4

    If a specific folder keeps failing, give your account full access to it. Replace the path with yours.

    CMD
    icacls "C:\YourFolder" /grant %username%:F /t
FixOS48 Pro

Rather not type these yourself?

FixOS48 Pro runs these same repairs for you and explains each result in plain words. It asks your permission before anything runs. Nothing happens on its own.

Get FixOS48 Pro $8.99, one time. All tools unlocked.

Related

Human written and based on documented Windows behaviour. Not affiliated with Microsoft.