Windows 0x80070005Medium

Fix Windows Error 0x80070005 (Access Denied) in 15 Minutes

Error 0x80070005 occurs due to insufficient permissions for system files or folders. We'll cover the root causes and provide 4 proven fixes.

Updated at April 4, 2026
15-30 min
Medium
FixPedia Team
Применимо к:Windows 10 (22H2+)Windows 11 (23H2+)Windows Server 2019/2022

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 SoftwareDistribution folder were partially downloaded, but their access permissions became corrupted.
  • Antivirus or firewall blocking: Security software mistakenly flags the installer's actions or svchost.exe as suspicious.
  • Incorrect account privileges: The current user is not a member of the Administrators group, 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.

  1. Open your antivirus interface.
  2. Locate the "Protection", "Shield", or "Game/Quiet Mode" section and disable it for 15–30 minutes.
  3. Redownload the problematic update or installer.
  4. 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.

  1. Open Command Prompt or PowerShell as an administrator.
  2. Run the following commands sequentially to stop the services:
    net stop wuauserv
    net stop cryptSvc
    net stop bits
    net stop msiserver
    
  3. Rename the cache folders so the system creates fresh ones:
    ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
    ren C:\Windows\System32\catroot2 catroot2.old
    
  4. Restart the stopped services:
    net start wuauserv
    net start cryptSvc
    net start bits
    net start msiserver
    
  5. 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.

  1. Launch a terminal as an administrator.
  2. Run the system file integrity check:
    sfc /scannow
    
    The process will take 5–10 minutes. Wait for the message confirming that Windows resources were successfully restored.
  3. 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
    
  4. 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 administrator only when necessary.
  • Configure antivirus exclusions: Add the C:\Windows\SoftwareDistribution and C:\Windows\Temp folders to your exclusion list if your scanner frequently blocks updates.
  • Regularly check your drive for errors: Run chkdsk C: /f /r every 2–3 months to rule out bad sectors that can corrupt file metadata.

F.A.Q.

Why does error 0x80070005 appear when installing updates?
Can I ignore this error if the system is running stably?
Will creating a new administrator account help?

Hints

Disable Third-Party Antivirus
Run Installer as Administrator
Clear Windows Update Cache
Repair System Files

Did this article help you solve the problem?

FixPedia

Free encyclopedia for fixing errors. Step-by-step guides for Windows, Linux, macOS and more.

© 2026 FixPedia. All materials are available for free.

Made with for the community