Skip to content
PCFixWorkbench

Windows Update · Windows 11

Fix Windows Update error 0x80070005

Written November 26, 2026

Windows Update error 0x80070005 is an access-denied error: something the update needs to change is blocked by permissions, a service, or security software. Restore the update services and folders first, then repair the system files underneath.

What you need

Read the error before you touch it

  1. Know what the code means. Error 0x80070005 is the access-denied error. Windows Update reached a file, folder, or registry key it needs to change and was refused. The update itself is rarely the problem — the block in front of it is.
  2. Note when it appears. In Settings > Windows Update, note which update fails and whether the code appears at download, at install, or at the restart. A refusal during install, after a clean download, points at permissions on the folders and services the installer writes to.
  3. Think about what changed. A new antivirus, a hardening tool, or a moved system folder can all tighten permissions Windows Update depends on. If the error started right after a security change, that change is the first suspect, ahead of the update itself.

The simple fixes, in order

  1. Restart, then run the troubleshooter. Restart the PC once to clear any pending update work, then go to Settings > System > Troubleshoot > Other troubleshooters and run the Windows Update troubleshooter. It resets common service and permission faults itself. Microsoft covers it in Troubleshoot problems updating Windows. Try the update again when it finishes.
  2. Check the update services are allowed to run. Open the Services app and find Windows Update and Background Intelligent Transfer Service. Each should start — set Windows Update to Manual if it is set to Disabled, start both services, and note any service that refuses to start, because that refusal is the access problem showing itself.
  3. Pause third-party security software for one attempt. If you run antivirus or endpoint protection beyond Windows Security, pause it briefly and try the update once. Security software that scans or locks the update folders as files land can produce exactly this code. Turn it straight back on afterward, whatever the result.
  4. Rebuild the download folders. Stop the Windows Update and Background Intelligent Transfer services, then in File Explorer rename the SoftwareDistribution folder in the Windows folder to SoftwareDistribution.old, and the catroot2 folder in System32 to catroot2.old. Restart both services and the PC. Windows rebuilds both folders with fresh permissions, so a folder the installer could not write to is replaced rather than argued with.

The advanced route: repair the files underneath

  1. Repair the component store with DISM. Open Windows Terminal or Command Prompt as administrator and run DISM /Online /Cleanup-Image /RestoreHealth. A damaged component store can hand the installer files it then cannot replace. Microsoft documents the repair in Repair a Windows image. Let it finish, even if progress pauses for a while.
  2. Run the system file check with SFC. In the same administrator terminal, run sfc /scannow. SFC replaces damaged system files — including service files the update depends on — from the store DISM just repaired. The order matters: DISM first, then SFC.
  3. Retry the update from Settings. Restart the PC, go to Settings > Windows Update, and check for updates. Install the update that failed with 0x80070005 and give it any restart it asks for before judging the result.

End state

When it goes wrong

Related fixes

Sources