Error 0x80070005 means Windows has been denied access to a file, folder, or registry key it needs — it is the “Access Denied” error. You can fix it by taking ownership of the affected item, repairing permissions, or disabling conflicting security software, then retrying the update or installation.
What Causes Error 0x80070005
This error appears when the user account or the Windows Update service lacks the required permissions to read or modify a system resource. Common triggers include:
- Corrupted or incorrectly set ACL (access control list) entries on Windows Update folders like
C:\Windows\SoftwareDistribution. - Third-party antivirus or security software locking system files.
- A user profile with broken ownership settings, especially after a migration or restore.
- Group Policy restrictions that block writes to certain registry keys.
- Disk or file system corruption that makes a file appear read-only.
While the error is most often seen during Windows Update, it can also appear when installing Office, enabling the .NET Framework, or running certain system tools.
Before You Start: Basic Checks
Try these quick steps first — they resolve a surprising number of cases:
- Restart your PC. A pending file rename or a temporary lock often clears.
- Run the Windows Update troubleshooter: Settings → System → Troubleshoot → Other troubleshooters → Windows Update.
- Check that your Windows account is an administrator. If not, sign in with an admin account or ask the admin to run the fix.
- Disable any third-party antivirus temporarily (do not disable Windows Defender). If the error disappears, add an exclusion for the folder or reinstall the security software.
Fix 1: Run Windows Update Again as Administrator
Sometimes the update simply needs elevated rights. Open the Start menu, type Command Prompt, right-click it, and select Run as administrator. Then run:
wuauclt.exe /updatenow
That command forces Windows Update to check immediately. If the error persists, move to the next fix.
Fix 2: Take Ownership and Reset Permissions
The most reliable fix is to reset the permissions on the folders that Windows Update uses. This changes ownership to the Administrators group and reapplies default permissions.
- Open File Explorer and navigate to
C:\Windows. - Right-click the SoftwareDistribution folder and select Properties.
- Go to the Security tab, click Advanced, then next to “Owner” click Change.
- Type Administrators, click Check Names, then OK.
- Check the box “Replace owner on subcontainers and objects” and click OK.
- Back in the Advanced Security window, click Add, then Select a principal.
- Type SYSTEM, click OK, then check Full control under Basic permissions. Click OK.
- Check “Replace all child object permission entries” and click OK twice.
Repeat the same process for the C:\Windows\System32\catroot2 folder. Then restart and try the update again.
Fix 3: Repair Registry Permissions
If the error mentions a registry key, you need to fix its permissions. Open Registry Editor (regedit) as administrator and navigate to the key shown in the error message. Right-click the key, select Permissions, and ensure SYSTEM and Administrators have Full Control. If they don’t, click Advanced and add them. Be careful: editing the registry incorrectly can damage Windows, so only change the specific key mentioned in the error.
Fix 4: Run SFC and DISM
Corrupted system files can also cause permission errors. Run these commands in an elevated Command Prompt:
sfc /scannow
Wait for it to finish, then run:
DISM /Online /Cleanup-Image /RestoreHealth
Restart after both complete. This repairs the Windows image and often resolves underlying permission corruption.
Fix 5: Reset Windows Update Components
If nothing else works, reset the update components manually. In an elevated Command Prompt, run these commands one by one:
net stop wuauserv net stop cryptSvc net stop bits ren C:\Windows\SoftwareDistribution SoftwareDistribution.old ren C:\Windows\System32\catroot2 catroot2.old net start wuauserv net start cryptSvc net start bits
This renames the update cache folders, forcing Windows to recreate them with fresh permissions. After restarting, try the update again.
Frequently Asked Questions
Why does error 0x80070005 happen only for one user?
It usually means that user’s profile lacks the necessary permissions. Create a new local administrator account and try the update from there. If it works, migrate your files to the new profile.
Can I ignore this error and skip the update?
You can postpone it, but the update will keep failing and may leave your system vulnerable. The fixes above are safe and usually take less than 30 minutes.
Does this error mean my PC is hacked?
No. It is a permissions issue, not a security breach. However, if you see it after a malware infection, run a full antivirus scan first.
Will resetting Windows fix it?
Yes, but it’s a last resort. Try the ownership and DISM fixes first. If you do reset, choose “Keep my files” to avoid losing data.
Why does the error appear when installing Office?
Office installers often need write access to the same Windows folders. The same ownership and permission fixes apply — just run them before reinstalling Office.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- Disable Autocorrect on iPhone or iPad: Quick Guide
- View Notification Count on iPhone: Full Guide
- Custom Keyboard Shortcuts on Windows 11 & macOS
- Restore Windows 11 Display Scaling to Recommended
- Semiconductor Cycle: How Investors Track It0.0
- Microsoft Store Error 0x80073d12: Fixes That Work