Fix: Windows 11 Update Error 0x80070005 (Access Denied)

Encountering the Error 0x80070005 while trying to update Windows 11 is a frustrating experience. This specific code is often referred to as the 'Access Denied' error. It typically occurs when the system lacks the necessary file or registry permissions to complete the update process. As a tech professional, I have found that this is usually caused by third-party antivirus interference or corrupted system files.

Follow this step-by-step guide to resolve the issue and get your system back on track.

Step 1: Run the Windows Update Troubleshooter

Windows 11 includes built-in diagnostic tools that can automatically detect and fix common update hurdles.

  • Open Settings 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 completes.

Step 2: Reset Windows Update Components

Sometimes the update cache becomes corrupted, leading to permission conflicts. Clearing the software distribution folder usually resolves this.

  • Search for cmd in the Start menu, right-click it, 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
  • Now, rename the folders by typing:
  • ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
  • ren C:\Windows\System32\catroot2 catroot2.old
  • Finally, restart the services:
  • net start wuauserv (and repeat for the other services stopped above).

Step 3: Use the System File Checker (SFC) and DISM

If the error persists, it is likely that core system files are damaged or missing.

  • Open Command Prompt (Admin) again.
  • Type sfc /scannow and press Enter. Wait for the verification to reach 100%.
  • After SFC is done, run the Deployment Image Servicing and Management tool by typing:
  • DISM /Online /Cleanup-Image /RestoreHealth
  • This will repair the Windows image using official Microsoft servers.

Step 4: Fix Permissions with SubInACL (Advanced)

Since 0x80070005 is a permission error, you may need to reset registry permissions manually.

  • Download the SubInACL tool from the official Microsoft website.
  • Create a new Notepad file and paste the specific reset scripts provided by Microsoft support.
  • Save the file as reset.bat and Run as Administrator.
  • Note: This is a powerful tool, so ensure you have a System Restore Point created before proceeding.

Step 5: Disable Third-Party Antivirus

In many cases, aggressive third-party antivirus software blocks the Windows Update service from modifying system files. Disable your antivirus temporarily and attempt to run the update again. If it works, you may need to whitelist Windows Update or switch to Windows Defender, which is fully optimized for Windows 11.


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


Category: #OS