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
- Incorrect permissions for system files or folders required by Windows Update.
- Corrupted system files or Windows Update components.
- Interference from third-party antivirus software or firewalls.
- Issues with the Component Object Model (COM) permissions.
- Problems with the Windows Update service itself.
Step-by-Step Fixes
1Run 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.
2Check 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.
3Reset 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.
4Temporarily 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
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.
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.
Frequently Asked Questions
What does error code 0x80070005 mean for Windows Update?
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.
Can third-party software cause 0x80070005?
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.
Is it safe to reset Windows Update components?
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.
Will fixing 0x80070005 affect my data?
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.