How to Fix 0x80070005 (Windows Update)

Quick Answer: Error 0x80070005, "Access is denied," typically indicates that Windows Update lacks the necessary permissions to access files or services required for the update process. The fastest resolution often involves running the Windows Update Troubleshooter or ensuring proper folder permissions.

What Causes This Error

Step-by-Step Fixes

Fix 1: Run the Windows Update Troubleshooter

Open Settings by pressing Windows Key + I.,Navigate to 'Update & Security' (Windows 10) or 'System' > 'Troubleshoot' (Windows 11).,Select 'Troubleshoot' > 'Additional troubleshooters' (Windows 10) or 'Other troubleshooters' (Windows 11).,Locate 'Windows Update' and click 'Run the troubleshooter'.,Follow the on-screen instructions and apply any recommended fixes.,Restart your computer and attempt the update again.

Fix 2: Check and Repair System Files

Open Command Prompt as an administrator. To do this, type 'cmd' in the Windows search bar, right-click 'Command Prompt', and select 'Run as administrator'.,Type 'sfc /scannow' and press Enter.,Allow the System File Checker to complete its scan and repair any corrupted files. This may take some time.,After the scan, type 'DISM /Online /Cleanup-Image /RestoreHealth' and press Enter.,Wait for the Deployment Image Servicing and Management (DISM) tool to finish its operation.,Restart your computer and attempt the update again.

Fix 3: Reset Windows Update Components to Fix 0x80070005

Open Command Prompt as an administrator.,Stop the Windows Update services by typing the following commands, pressing Enter after each:,net stop wuauserv,net stop cryptSvc,net stop bits,net stop msiserver,Rename the SoftwareDistribution and Catroot2 folders by typing the following commands, pressing Enter after each:,ren C:\Windows\SoftwareDistribution SoftwareDistribution.old,ren C:\Windows\System32\catroot2 Catroot2.old,Restart the Windows Update services by typing the following commands, pressing Enter after each:,net start wuauserv,net start cryptSvc,net start bits,net start msiserver,Close Command Prompt and restart your computer.,Attempt to run Windows Update again.

Fix 4: Temporarily Disable Antivirus/Firewall

Locate your antivirus software icon in the system tray (bottom-right corner of the screen) or through the Start menu.,Right-click the icon and look for options like 'Disable protection', 'Pause protection', or 'Exit'.,If using Windows Defender Firewall, go to 'Settings' > 'Update & Security' > 'Windows Security' > 'Firewall & network protection'.,Select your active network profile (e.g., 'Domain network', 'Private network', 'Public network') and turn off 'Microsoft Defender Firewall'.,Attempt to run Windows Update.,Remember to re-enable your antivirus and firewall immediately after testing to maintain system security.

Advanced Fixes

Advanced Fix 1: Adjust Folder Permissions for Windows Update

Open File Explorer and navigate to C:\Windows.,Right-click on the 'SoftwareDistribution' folder and select 'Properties'.,Go to the 'Security' tab and click 'Edit'.,Click 'Add', type 'Everyone' in the 'Enter the object names to select' field, and click 'Check Names', then 'OK'.,With 'Everyone' selected, ensure 'Full control' is checked under 'Allow'. Click 'Apply' and 'OK'.,Repeat these steps for the 'Catroot2' folder located at C:\Windows\System32\catroot2.,Restart your computer and attempt the update.

Advanced Fix 2: Grant Full Control to the System Account for the C: Drive

Open File Explorer and right-click on your C: drive (Local Disk (C:)).,Select 'Properties', then go to the 'Security' tab.,Click 'Edit' and then 'Add'.,Type 'SYSTEM' (without quotes) into the 'Enter the object names to select' field and click 'Check Names', then 'OK'.,With 'SYSTEM' selected, ensure 'Full control' is checked under 'Allow'.,Click 'Apply' and then 'OK'.,If prompted with a security warning about applying changes to subfolders, click 'Continue'.,Restart your computer and try Windows Update again.

FAQs

Q: What does error code 0x80070005 mean for Windows Update?

A: Error 0x80070005, also known as 'Access is denied,' indicates that Windows Update lacks the necessary permissions to access specific files, folders, or services required to complete an update installation. This often points to permission issues or corrupted system components.

Q: Can third-party software cause 0x80070005?

A: Yes, third-party antivirus programs, firewalls, or other security software can sometimes interfere with Windows Update processes, leading to permission-related errors like 0x80070005. Temporarily disabling such software can help diagnose if it is the cause.

Q: Is it safe to reset Windows Update components?

A: Resetting Windows Update components is generally safe and is a common troubleshooting step. It clears the update cache and restarts related services, which can resolve issues caused by corrupted update files or stuck processes. Your personal files and installed applications will not be affected.

Q: Will fixing 0x80070005 affect my data?

A: The troubleshooting steps provided for error 0x80070005 are designed to resolve system-level issues related to Windows Update and permissions. They do not typically involve operations that would delete or modify user data. However, it is always recommended to have a backup of important data as a general best practice.

Related Errors