Error 0x80070005 translates to “access denied,” and in the Windows Update world it means the update engine was blocked from touching something it needed. Unlike the missing-file errors, everything is present — Windows just will not let the updater at it. The usual suspects are mangled folder permissions, overprotective security software, and service accounts running with the wrong identity.
Permission problems sound scary, but the fixes are methodical: identify what is blocking access, restore correct permissions on the update folders, and remove the interference. Resist the urge to seize ownership of system directories — the supported repairs below do the job safely.
Access denied errors provoke a particular anxiety — the machine seems to be refusing its own update — but the reality is more mundane. The Windows Update engine operates through specific system folders and service accounts, and when the permissions on those folders get mangled, the engine is locked out of its own workspace. Nothing is missing and nothing is broken; the doors are just locked from the inside. The fixes below re-cut the keys: restore correct permissions by rebuilding the update folders, remove the software standing in the doorway, and verify the services are running under the right identity.
Why this happens
- Wrong permissions on update folders: The SoftwareDistribution and catroot2 folders end up with permissions that block the update service.
- Antivirus file locks: Real-time scanners lock files the installer needs to replace, causing access denied mid-install.
- Ransomware protection guarding folders: Controlled folder access can block the update engine from writing where it must.
- Corrupted service account configuration: The update services must run under the correct built-in accounts; misconfiguration breaks their access.
- Third-party “privacy” tools: Tools that aggressively lock down system areas often break update permissions as a side effect.
- Damaged user profile: Profile permission corruption can fail updates that touch user-specific locations.
- Pending file operations: Files locked by a previous incomplete operation deny access to the next attempt.
- Disk errors: File system corruption can manifest as access denied when the real problem is unreadable structures.
How to fix it
Work through these in order — diagnose first, then act.
A warning worth repeating: do not ‘fix’ this by taking ownership of Windows system folders or loosening permissions across the board. That trades a contained update problem for a system-wide security and stability risk. Every fix below works within the supported permission model — rebuild, reset, and verify, never seize.
Fix 1: Run the update as a proper administrator
Eliminate the simple account-level causes first.
- Make sure you are signed in with an administrator account, not a standard user.
- Open Settings and check for updates normally — most update operations elevate automatically.
- If you use a Microsoft account, confirm it is syncing without errors in Accounts settings.
- Retry the update after confirming your account status.
Fix 2: Temporarily disable antivirus and ransomware protection
This is the highest-yield step for access denied errors.
- Open your third-party antivirus and pause real-time protection.
- Open Windows Security, Virus & threat protection, Ransomware protection, and temporarily turn off Controlled folder access.
- Retry the Windows update while protections are paused.
- Re-enable everything immediately after the update completes or fails.
Fix 3: Reset the Windows Update components
Rebuilding the update folders restores their correct default permissions.
- Open Command Prompt as administrator.
- Stop the services:
net stop wuauserv,net stop cryptSvc,net stop bits,net stop msiserver. - Rename the folders:
ren C:\Windows\SoftwareDistribution SoftwareDistribution.oldandren C:\Windows\System32\catroot2 catroot2.old. - Restart the services:
net start wuauserv,net start cryptSvc,net start bits,net start msiserver. - Reboot and retry the update — the rebuilt folders get correct permissions automatically.
Fix 4: Verify the update services run under correct accounts
Services running under the wrong identity lose access to everything.
- Open services.msc and double-click the Windows Update service.
- On the Log On tab, confirm it is set to Local System account.
- Check the Background Intelligent Transfer Service the same way.
- If either was changed, restore Local System, restart the service, and retry.
Fix 5: Run the Windows Update troubleshooter
The automated tool can repair several permission-related update faults.
- Open Settings, System, Troubleshoot, Other troubleshooters.
- Run the Windows Update troubleshooter and apply its fixes.
- Restart the laptop afterward.
- Test Windows Update again.
- If the troubleshooter itself misbehaves, our guide on fixing the Windows Update troubleshooter covers that scenario.
Fix 6: Repair system files
Corruption in the servicing stack can produce spurious access denied errors.
- In an admin Command Prompt, run
DISM /Online /Cleanup-Image /RestoreHealth. - Follow with
sfc /scannow. - Restart the laptop after both complete.
- Retry the update.
Fix 7: Test with a fresh administrator account
Isolate whether the problem lives in your user profile.
- Create a new local administrator account in Settings, Accounts, Other users.
- Sign in as the new account and run Windows Update there.
- If updates succeed, your original profile has permission damage — consider migrating to the new profile.
- If they fail identically, the problem is system-wide; continue with the remaining fixes.
Fix 8: Check the disk and install manually
Cover the last two angles: file system damage and bypassing the broken path.
- Run
chkdsk C: /fin an admin Command Prompt, schedule it, and restart. - After the scan, note the KB number of the failing update.
- Download the .msu from the Microsoft Update Catalog and install it directly.
- The standalone installer sometimes succeeds where the service-based path hits permission walls.
- For the full manual process, see how to manually install Windows updates .
The repeat offender for 0x80070005 is almost always security software with folder-guarding features — ransomware protection, ‘secure folders,’ or hardened antivirus profiles that treat the update engine as a suspicious process modifying system areas. If the error returns, check those features first and add proper exclusions for the Windows Update service rather than disabling protection wholesale. Correctly configured, security software and updates coexist peacefully; the conflict only arises when the guard does not recognize the updater. For the service-side companion to this error, our guide on fixing the Windows Update service not running covers the account and startup angles.
Closing
Access denied errors feel like Windows is fighting you, but they are usually just wrong permissions on update folders or an overprotective security tool standing in the way. Reset the components, pause the interference, verify the service accounts — and leave the ownership of system folders exactly where it is.
