Fix: '0x80070005' Windows Update Error: A Complete Troubleshooting Guide

The 0x80070005 error, often referred to as the 'Access Denied' error, is one of the most common hurdles Windows 11 users face. It typically occurs when the Windows Update service or a specific application lacks the necessary permissions to modify system files or registry entries. If your updates are failing repeatedly, this guide will walk you through the proven solutions to regain control of your system.

1. Run the Windows Update Troubleshooter

Windows 11 includes built-in diagnostic tools designed to automatically identify and resolve common update-related permission issues.

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

2. Switch to an Administrator Account

Since this is an 'Access Denied' error, the culprit is often a lack of administrative privileges. Ensure you are logged in with an Administrator account rather than a Standard user profile.

  • Go to Settings > Accounts > Your info to verify your account status.
  • If you are not the administrator, log out and sign back in with an account that has full administrative rights.
  • Try running the update again to see if the error persists.

3. Reset the SoftwareDistribution Folder

The SoftwareDistribution folder is where Windows stores temporary update files. If these files become corrupted, they can trigger the 0x80070005 error.

  • Search for cmd in the Start menu, right-click it, and select Run as Administrator.
  • Type net stop wuauserv and press Enter.
  • Type net stop bits and press Enter.
  • Open File Explorer and navigate to C:\Windows\SoftwareDistribution. Delete all files and folders inside (this is safe; Windows will recreate them).
  • Return to the Command Prompt and type net start wuauserv and net start bits to restart the services.

4. Use SFC and DISM to Repair System Files

Corrupt system files can cause permission conflicts that block updates. The System File Checker (SFC) and Deployment Image Servicing and Management (DISM) tools are essential for repairing the underlying Windows image.

  • Open Command Prompt (Admin).
  • Type sfc /scannow and press Enter. Wait for the verification to reach 100%.
  • After SFC finishes, type DISM /Online /Cleanup-Image /RestoreHealth and press Enter.
  • Once the repair is finished, restart your computer and check for updates again.

5. Correct User Permissions via the Registry

Sometimes, the error is caused by the system's inability to write to the Registry. You can manually ensure that the 'System' and 'Administrator' have full control.

  • Press Win + R, type regedit, and press Enter.
  • Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate.
  • Right-click the key, select Permissions, and ensure that Full Control is checked for both SYSTEM and Administrators.
  • Warning: Always back up your registry before making manual changes, as incorrect edits can cause system instability.

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


Category: #OS