The error code 0x80070005 on Windows indicates an “Access Denied” issue. This typically happens when you or the system lacks the necessary permissions to make changes or install updates. Here are some steps you can try to fix it:
1. Run as Administrator
Right-click on the program or file you’re trying to access/update and choose “Run as administrator.” This will give the program elevated permissions that might resolve the access issue.
2. Check User Account
If you’re using a standard user account, try logging in with an administrator account and see if the error persists. Administrator accounts have more privileges and can bypass certain permission restrictions.
3. Update Windows
Outdated Windows system or applications can sometimes cause permission errors. Check for Windows updates and application updates to ensure you’re running the latest versions. You can find Windows updates by going to Settings > Update & Security > Check for updates.
4. Windows Update Troubleshooter
Windows has a built-in troubleshooter that can diagnose and fix common update errors. Run the Windows Update troubleshooter by going to Settings > Update & Security > Troubleshoot > Additional troubleshooters > Windows Update.
5. Repair Corrupted System Files
- Corrupted system files can also lead to permission issues. Run the System File Checker (SFC) tool and DISM tool to scan and repair corrupted system files.
- Search for “Command Prompt” and right-click to “Run as administrator”.
- Type sfc /scannow (and press Enter) to run the SFC scan.
- If the SFC scan finds issues, you can then try the DISM tool by running the following commands one by one, pressing Enter after each:
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /CheckHealth - (If the previous scan found corruption)
DISM /Online /Cleanup-Image /RestoreHealth
(This repairs the corruption)
6. Clear Update Cache
Clearing the Windows Update cache can sometimes resolve permission issues related to updates. Here’s how to do it:
- Press Windows Key + R to open the Run dialog.
- Type services.msc and press Enter to open the Services window.
- Find and stop the following services:
- Windows Update service
- Background Intelligent Transfer Service (BITS)
- Superfetch (now called Sysmain)
- Navigate to C:\Windows\SoftwareDistribution\Download and delete everything inside the Download folder (but don’t delete the folder itself).
- Restart the services you stopped earlier (Windows Update, BITS, Sysmain).
- Reboot your computer and try updating again.
7. Antivirus Interference
Temporarily disable your antivirus software to see if it’s conflicting with the update process. If the error goes away with antivirus disabled, you’ll need to configure exceptions for Windows Update in your antivirus settings.
These are some of the common methods to fix the 0x80070005 error. If the problem persists after trying these steps, consider searching online for more specific solutions based on the context of the error (e.g., Windows Update error, file access error, etc.).