You select Check for updates, Windows downloads the update, and then it stops with error 0x80070005 and "Access is denied". It's your own PC, so it can feel odd that Windows won't let itself install a security update.
It feels random, but it isn't. Windows was refused access to something specific, and the logs further down may help identify it. I've been fixing Windows update problems for more than 20 years, and this guide starts with the quick checks and finishes with the repairs that put Windows' own files back.
What Causes Windows Update error 0x80070005?
0x80070005 is Windows' general "Access is denied" code. During an update it means something the update needed to read, replace or start was refused: a file, a folder, a registry key or a service. In Settings it usually shows as "There were some problems installing updates, but we'll try again later. If you keep seeing this and want to search the web or contact support for information, this may help: (0x80070005)", or as the code next to one update in Update history.
Windows Update runs as a system service, but some updates still need administrator access, and so does running an update package yourself or using the Command Prompt steps below.
The usual causes are:
- A damaged update cache. Files in the SoftwareDistribution folder or the catroot2 signature store that Windows can't open or replace, often after an update was interrupted.
- Damaged system files or component store. The update can't replace a file because the store it repairs from is itself damaged.
- Security software in the way. A third-party antivirus or "hardening" tool blocking the Windows Modules Installer (TrustedInstaller) from changing system files.
- Changed permissions. Someone, or a tweak tool, took ownership of a system folder or registry key and the update can no longer write to it.
- A policy on a work or school PC that limits where updates come from or what the PC may install.
The logs in fix 6 can show more about the failure, and may name the file or registry key that was denied.
Windows Update error 0x80070005 Quick Fix
These checks are safe and quick, and they're worth doing before anything that changes Windows itself.
Restart, Then Note the Failed Update Easy
- Restart, not shut down
Choose Start > Power > Restart. A restart finishes work that's waiting for a reboot and releases files that were in use. - Try again
Go to Settings > Windows Update and select Check for updates. - Write down what failed
If it fails again, open Settings > Windows Update > Update history. Note the update's name, its KB number if it has one, and the error. You'll need the KB number for fix 7.
Run the Windows Update Troubleshooter Easy
- Open it
On Windows 11, go to Settings > System > Troubleshoot > Other troubleshooters and select Run next to Windows Update. On current versions it opens in the Get Help app. Windows 10's regular support ended on 14 October 2025. On a Windows 10 PC that's enrolled in Extended Security Updates or runs a supported LTSC edition, go to Settings > Update & Security > Troubleshoot > Additional troubleshooters > Windows Update. - Let it finish, then restart
Apply any fix it offers, restart and check for updates again.
Check Third-Party Security Software Easy
- Leave Microsoft Defender alone
Defender Antivirus is built into Windows and doesn't block Windows Update, so there's no reason to turn it off for this. - Look in the other product's log
If you use a third-party antivirus, firewall or privacy tool, open its quarantine or blocked-actions log and look for anything about TrustedInstaller, Windows Modules Installer or files in C:\Windows around the time the update failed. - Test briefly if you need to
Pause its protection the way its maker describes, try the update straight away, then turn protection back on. Don't browse or open downloads while it's paused.
More Windows Update error 0x80070005 Solutions
These steps reset the update cache and repair Windows' own files. They need an administrator Command Prompt. To open one, search Start for cmd, right-click Command Prompt and choose Run as administrator.
Reset the Update Cache Medium
- Stop the update services
Runnet stop wuauserv,net stop bitsandnet stop cryptsvc, one at a time. - Rename the two caches
Runren %systemroot%\SoftwareDistribution SoftwareDistribution.oldand thenren %systemroot%\System32\catroot2 catroot2.old. Renaming keeps the old copies in case you need them. If a rename says access is denied, check that the three services have stopped. If they have, leave the folder's permissions alone and check the logs in fix 6 before going further. - Start the services again
Runnet start cryptsvc,net start bitsandnet start wuauserv, restart the PC, then check for updates.
Repair the Component Store and System Files Medium
- Run DISM first
RunDISM /Online /Cleanup-Image /RestoreHealth. It repairs the component store Windows updates from, using Windows Update as its source, so stay online. Let it reach 100% even if the percentage pauses for a while. - Then run SFC
Runsfc /scannowand wait for verification to reach 100%. - Read the result
If SFC says it found and repaired files, restart and try the update. If it says it couldn't repair some, the log in fix 6 shows which.
Find What Was Denied in the Logs Medium
- Read the servicing log
CopyC:\Windows\Logs\CBS\CBS.logto your desktop (the live file is in use), open the copy in Notepad and search for0x80070005orE_ACCESSDENIEDnear the time of the failure. The lines around it may identify the affected file, folder or registry key. - Read the Windows Update log
In PowerShell, runGet-WindowsUpdateLog. It writes WindowsUpdate.log to your desktop. Search it for 0x80070005 to see which step failed, such as downloading, installing or committing the update. - For a version upgrade
If it's a feature update (a new Windows version) that fails, look inC:\$WINDOWS.~BT\Sources\Panther\setuperr.logas well. The folder is hidden.
Advanced Windows Update error 0x80070005 Fixes
Fix 7 skips Windows Update altogether and installs the failed update by hand. If that fails too, fix 9 reinstalls Windows over itself and keeps your files, apps and settings. Back up your files before that one, and read fix 8 before you're tempted to change any permissions.
Install the Update From the Microsoft Update Catalog Hard
- Find the right file
Search the Microsoft Update Catalog for the KB number from fix 1. Settings > System > About shows your System type, such as x64 or ARM64, so you can pick the matching download for your Windows version. On Windows 11 24H2 and later, select Download and check whether the pop-up includes checkpoint cumulative updates. If it does, download every .msu file it lists. - Run it as an administrator
On Windows 11 24H2 and later, install any checkpoint .msu files first, in the listed order, then install the target KB. Double-click each file while signed in as an administrator, and restart when asked. - Read what it tells you
If the package installs, the standalone installer worked. If it fails with 0x80070005 too, that on its own doesn't tell you the cause, and it's no reason to change system permissions to force it through. Go back to the logs in fix 6, and only move on to fix 9 once you've backed up.
Don't Take Ownership of System Folders Hard
- Know why
Many guides tell you to take ownership of C:\Windows or give your account Full Control. Changing ownership or permissions on Windows system folders can stop Windows Update accessing protected files. Windows system files belong to TrustedInstaller, and updates expect them to stay that way. - Look without changing anything
If the log in fix 6 names a folder, runicacls "C:\path\from\the\log"in an administrator Command Prompt to see its permissions. Folder ownership and permissions vary by path, so keep this output with the log, and don't change anything to match an example you found online. - Don't repair system permissions by hand
Don't run permission reset scripts from forums or change ownership back yourself. Fix 9's repair install puts Windows system files and components right and keeps your files, apps and settings.
Repair Windows With an In-Place Reinstall Hard
- Back up first
Copy your documents, photos and anything else you can't replace to an external drive or cloud storage. If BitLocker or device encryption is on, have your recovery key ready. - Windows 11: use Fix problems using Windows Update
Go to Settings > System > Recovery. If you see Fix problems using Windows Update, select Reinstall now. It reinstalls your current version of Windows and keeps your files, apps and settings. Keep the PC plugged in and online. - Or use installation media
On a work or school PC, stop and ask IT. Otherwise, if you're using Windows 10 or the Windows 11 option isn't there, download installation media that matches your edition of Windows from Microsoft's software download page. While signed in to Windows, open setup.exe from the mounted ISO or USB stick, select Change what to keep, then select Keep personal files and apps. If that option isn't available, cancel setup rather than choosing another option. - Update afterwards
When it finishes, check for updates again.
If error 0x80070005 is still there after a repair install, check the logs again and consider causes outside Windows' system files, such as a drive fault, a security product blocking changes or a policy on the PC. That's the point where a second pair of eyes on the logs saves time.
For IT Pros: Windows Update error 0x80070005
On managed PCs, 0x80070005 often comes from where the device is told to get updates, rather than from the PC itself.
- Check the update source
Look atHKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdatefor WUServer and at itsAUsubkey for UseWUServer. If WUServer is present and UseWUServer is set to 1, Automatic Updates is configured to use that WSUS server instead of Windows Update. Check that the update is approved there and that the device can reach it. Configuration Manager can configure this through its software update point, so check its deployment too. - See which policies applied
Rungpresult /h gp.htmlfrom an elevated Command Prompt and open the report to see which Windows Update policies reached the device and from which GPO. On ARM64 Windows, run%windir%\SysWOW64\gpresult.exe /h gp.htmlinstead. For Intune-managed devices, check the device's update ring and any Windows Update for Business settings. - Read the client log centrally
The WindowsUpdateClient Operational log (Applications and Services Logs > Microsoft > Windows > WindowsUpdateClient > Operational) records each failed install with its error code, which you can collect across devices.
Preventing Windows Update error 0x80070005
Once you've fixed this error, avoid it happening again.
Don't interrupt an update. If the screen says not to turn off your PC, leave it on and plugged in while it's still making progress. An interrupted update is a common way for the update cache to end up damaged.
Keep an administrator account you can sign in to. Windows Update runs as a system service, but some updates still require administrator access. You'll need an administrator for the repairs on this page.
Keep some free space on C:. Updates need room to download and install, and a nearly full drive makes them fail in other ways. Settings > System > Storage shows what's using the space.
Sort out security software that gets in the way. Keep any third-party product up to date, and if it keeps blocking Windows updates, ask its maker how to stop that rather than turning protection off.
Don't modify system folder permissions unnecessarily. Changing access control lists (ACLs) on C:\Windows and its subfolders can break updates. If you think permissions were changed and Windows Update is failing, don't try to match them to an online example. Use the log in fix 6 and get help with the named path.
Run a check if something seems wrong. If Windows starts misbehaving, open Command Prompt as administrator, then run DISM /Online /Cleanup-Image /RestoreHealth and sfc /scannow. If you suspect malware, run a full Microsoft Defender scan.
Install updates promptly. Monthly security updates are cumulative, so installing the latest applicable update gives you the earlier fixes too. Staying up to date reduces the time your PC is missing security fixes.
Windows Update error 0x80070005 Summary
Error 0x80070005 means Windows Update was refused access to something it needed. The fix depends on what was refused: a damaged cache (reset it), damaged system files (DISM, then SFC), security software (check its log), changed permissions (repair install) or a policy (your IT team).
Work from the quick checks down. Before the advanced repairs, read CBS.log and the Windows Update log, because they may identify what was denied. Don't take ownership of system folders or delete policies on a work PC.
Still there after a repair install? Look at the logs again, this time for signs of a drive fault, a security product or a policy.

