What Does Error 0x80070005 Mean
The code 0x80070005 is a standard system identifier that means "Access Denied". Windows attempts to write to, modify, or read a file, but current security settings or system policies are blocking the action.
You will typically encounter this message in several scenarios: when downloading updates via Windows Update, installing large applications or drivers, or attempting to open protected system folders. The full error message usually reads "There was a problem installing: 0x80070005" or "The process cannot access the file."
Causes
This error is not caused by a critical hardware failure, but rather by a permissions conflict. The main triggers include:
- Corrupted update cache: Files in the
SoftwareDistributionfolder were partially downloaded, but their access permissions became corrupted. - Antivirus or firewall blocking: Security software mistakenly flags the installer's actions or
svchost.exeas suspicious. - Incorrect account privileges: The current user is not a member of the
Administratorsgroup, or the user profile is corrupted. - Security policy misconfiguration: Third-party optimization tools or manual registry edits have altered the ACLs (Access Control Lists) for system directories.
Troubleshooting Steps
Start with basic checks and proceed to more advanced steps if the error persists.
Method 1: Temporarily Disable Security Software and Run with Elevated Privileges
The most common cause is overly aggressive third-party security solutions. They may block write operations to C:\Windows\System32 or the registry.
- Open your antivirus interface.
- Locate the "Protection", "Shield", or "Game/Quiet Mode" section and disable it for 15–30 minutes.
- Redownload the problematic update or installer.
- Right-click the file and select Run as administrator.
💡 Tip: If you are using the built-in Windows Defender, do not disable it completely. It is sufficient to temporarily turn off "Virus & threat protection" under "Windows Security → Virus & threat protection → Manage settings".
Method 2: Reset Windows Update Cache
If the error only occurs during system updates, corrupted temporary files are likely interfering with the process. Safely removing them forces Windows to redownload the components with correct permissions.
- Open Command Prompt or PowerShell as an administrator.
- Run the following commands sequentially to stop the services:
net stop wuauserv net stop cryptSvc net stop bits net stop msiserver - Rename the cache folders so the system creates fresh ones:
ren C:\Windows\SoftwareDistribution SoftwareDistribution.old ren C:\Windows\System32\catroot2 catroot2.old - Restart the stopped services:
net start wuauserv net start cryptSvc net start bits net start msiserver - Close the terminal and restart your computer. Try installing the updates again.
Method 3: Check and Repair System Files
If the basic methods do not resolve the issue, system libraries or registry entries responsible for access control are likely corrupted. Microsoft's built-in utilities can automatically restore the original file versions.
- Launch a terminal as an administrator.
- Run the system file integrity check:
The process will take 5–10 minutes. Wait for the message confirming that Windows resources were successfully restored.sfc /scannow - If SFC finds errors but cannot fix them, run an online image repair:
DISM /Online /Cleanup-Image /CheckHealth DISM /Online /Cleanup-Image /ScanHealth DISM /Online /Cleanup-Image /RestoreHealth - Restart the system and retry installing the application or update.
⚠️ Important: Ensure your computer is connected to the internet while running DISM. The utility downloads patches directly from Microsoft servers.
Prevention
To prevent 0x80070005 from recurring, follow these best practices for managing system permissions:
- Avoid "registry cleaners": They frequently delete or reset critical ACLs, leading to unpredictable access errors.
- Do not use an administrator account for daily tasks: Create a standard user account and use
Run as administratoronly when necessary. - Configure antivirus exclusions: Add the
C:\Windows\SoftwareDistributionandC:\Windows\Tempfolders to your exclusion list if your scanner frequently blocks updates. - Regularly check your drive for errors: Run
chkdsk C: /f /revery 2–3 months to rule out bad sectors that can corrupt file metadata.