Fix: Windows Update Error 0x80070005 (Access Denied)

Encountering the Windows Update Error 0x80070005 is a common frustration for Windows 11 and 10 users. Often referred to as the 'Access Denied' error, it typically occurs when the system lacks the necessary permissions to install a specific update or when system files are corrupted. This guide provides a comprehensive, step-by-step approach to resolving this error and getting your system back on track.

Step 1: Run the Windows Update Troubleshooter

Windows includes a built-in tool designed to diagnose and fix update-related issues automatically. This should always be your first step.

  • Open the Settings app by pressing Windows + I.
  • Navigate to System > Troubleshoot > Other troubleshooters.
  • Locate Windows Update and click the Run button.
  • Follow the on-screen instructions and restart your PC once the process is complete.

Step 2: Switch to an Administrator Account

Since 0x80070005 is a permission-related error, you must ensure you are logged in as an Administrator. Standard user accounts often lack the privileges required to modify system files during an update.

  • Click the Start menu and select your profile icon.
  • If you are not the admin, sign out and log back in using an Administrator account.
  • Attempt the update again.

Step 3: Reset Windows Update Components

Sometimes the folders where Windows stores update files (SoftwareDistribution and Catroot2) become corrupted. Resetting these folders often clears the error.

  • Type cmd in the Windows search bar, right-click Command Prompt, and select Run as administrator.
  • Type the following commands one by one, pressing Enter after each:
  • net stop wuauserv
    net stop cryptSvc
    net stop bits
    net stop msiserver

  • Next, rename the update folders by typing:
  • ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
    ren C:\Windows\System32\catroot2 catroot2.old

  • Finally, restart the services:
  • net start wuauserv
    net start cryptSvc
    net start bits
    net start msiserver

Step 4: Use SFC and DISM to Repair System Files

Corrupted system files can block updates. The System File Checker (SFC) and Deployment Image Servicing and Management (DISM) tools are powerful utilities to fix these underlying issues.

  • Open Command Prompt as an Administrator.
  • Type sfc /scannow and press Enter. Wait for the scan to finish.
  • After SFC completes, type the following command: DISM /Online /Cleanup-Image /RestoreHealth and press Enter.
  • Once finished, Restart your computer and try updating again.

Step 5: Change the 'Packages' Folder Permissions

If the error persists, it may be due to incorrect permissions in the AppData folder. You can manually grant full control to fix this.

  • Press Windows + R, type %localappdata%, and press Enter.
  • Locate the Packages folder, right-click it, and select Properties.
  • Go to the Security tab and click Advanced.
  • Ensure that your user account has Full Control. If not, click Add, select your principal, and check the Full Control box.
  • Check the box that says "Replace all child object permission entries with inheritable permission entries from this object" and click OK.

Step 6: Temporarily Disable Third-Party Antivirus

Third-party antivirus software can sometimes over-protect your system, blocking Windows Update from modifying system files. Disable your antivirus software temporarily and attempt the update. Remember to Enable it again immediately after the update finishes to keep your system secure.


💡 Pro Tip: Keep your software updated to avoid these issues in the future.


Category: #OS