Printable checklist

Error 0x80070005 During Windows Update: 6 Fixes That Work

Error 0x80070005 means access was denied while Windows Update tried to write its files. Reset the update cache and its services, remove the antivirus blocking, and the update usually completes on the next try.

By 52runoob Editorial Team · 15 steps · Updates & Drivers · Updated December 6, 2026

Back to the guide
  1. 1. Run the Update Once More as Administrator

    Sign in with an administrator account and run Windows Update again. Access-denied errors sometimes come from a standard-user session trying to install a cumulative update that needs elevation. If it gets past the rollback point this time,…

  2. 2. Pause Third-Party Antivirus

    Security tools that watch system folders block update writes and produce exactly this error. Open your antivirus console and disable real-time protection for the next half hour — every major vendor has a temporary switch. Leave Windows…

  3. 3. Disconnect VPNs and Proxies

    A VPN client that installs its own network filter can interfere with the download verification step. Disconnect the VPN, and in `Settings > Network > Proxy` make sure no manual proxy is configured. Run the update on the plain connection…

  4. 4. Check Free Disk Space

    Feature updates unpack into the update cache and need room to stage. Open `Settings > System > Storage` and make sure the system drive has at least 20 GB free. Below that, writes start failing in ways that surface as access errors. Run…

  5. 5. Use the Built-In Update Troubleshooter

    Go to `Settings > System > Troubleshoot > Other troubleshooters` and run Windows Update. The troubleshooter checks service registrations and cache permissions — the two things 0x80070005 is usually about — and resets what it can without a…

  6. 6. Stop the Four Update Services

    Open an elevated terminal — right-click Start, choose Terminal (Admin). Stop the services in order: `net stop wuauserv`, `net stop bits`, `net stop cryptsvc`, `net stop msiserver`. These hold the cache folder open, and the rename in the…

  7. 7. Rename the SoftwareDistribution Folder

    Still in the elevated terminal, run `ren C:\Windows\SoftwareDistribution SoftwareDistribution.old`. This folder holds the downloaded update files, and when its permissions or contents are damaged, every install fails with access denied.…

  8. 8. Rename the Catroot2 Folder as Well

    Run `ren C:\Windows\System32\catroot2 catroot2.old`. Catroot2 holds the cryptographic signatures for update packages, and a damaged signature store also blocks the install. Like SoftwareDistribution, Windows rebuilds it automatically.

  9. 9. Restart the Services You Stopped

    Bring the services back in any order: `net start wuauserv`, `net start bits`, `net start cryptsvc`, `net start msiserver`. Watch each one report it started successfully. If a service refuses to start, note which — that service itself is…

  10. 10. Run the Update Again and Watch the Cache Rebuild

    Open Windows Update and check for updates. The download restarts from zero into a fresh SoftwareDistribution folder with default permissions. Installs that failed at the same percentage every time almost always pass after this reset,…

  11. 11. Repair System Files With SFC

    If the reset cache still gets access-denied writes, the protected system files are involved. Run `sfc /scannow` in an elevated terminal and let it finish. SFC checks the files Windows Update depends on and restores any that were modified…

  12. 12. Rebuild the Component Store With DISM

    Follow SFC with `DISM /Online /Cleanup-Image /RestoreHealth`. DISM repairs the component store that updates are installed from, pulling clean copies from Microsoft's servers when the local ones are damaged. When it reports completion, run…

  13. 13. Install the Update Manually From the Catalog

    Every update exists as a standalone package. Note the KB number that fails, go to the Microsoft Update Catalog, download the `.msu` for your architecture, and run it by double-clicking. The standalone installer uses a different code path…

  14. 14. Try a Clean Boot Before Updating

    Third-party services can block the install even when their antivirus shield is off. Run `msconfig`, hide all Microsoft services, disable the rest, disable startup items, and reboot into the clean state. Run the update there. If it…

  15. 15. Reset Windows Update Components via Repair Install

    If everything fails, download the Windows installation media for your version and run `setup.exe`, choosing `Keep files and apps`. This repair-install re-registers every update component and service without touching your data. It is the…