IT technician troubleshooting Windows Update error on laptop computer
0x80070005Windows UpdateWindows

Fix Windows Update Error 0x80070005 – Access Denied 2026

Windows Update error 0x80070005 occurs when the system lacks proper permissions to access update files or registry keys. This comprehensive guide provides five proven methods to resolve access denied errors during Windows updates.

Emanuel DE ALMEIDAEmanuel DE ALMEIDA
10 Mar 202612 min read2 views
Error Code0x80070005
ProductWindows Update
KB ArticleKB5034441
Solutions5 methods
Sources2 official
Affected SystemsWindows 10, Windows 11
Quick Fix

Run Windows Update Troubleshooter from SettingsSystemTroubleshootOther troubleshootersWindows Update. If that fails, run sfc /scannow in an elevated Command Prompt to repair system files and reset Windows Update permissions.

Symptoms

  • Windows Update fails with error code 0x80070005
  • "Access is denied" message appears during update installation
  • Updates download but fail to install
  • Windows Update service stops responding
  • System shows "We couldn't complete the updates" message on restart
  • Update history shows failed installations with 0x80070005 error

Possible Causes

  • Corrupted Windows Update components or system files
  • Insufficient permissions on Windows Update folders or registry keys
  • Third-party antivirus software blocking update processes
  • Windows Update service running under incorrect user context
  • Damaged user profile or security token corruption
  • Registry corruption affecting Windows Update permissions
1

Run Windows Update Troubleshooter

Windows 11 and Windows 10 include a built-in troubleshooter that can automatically detect and fix common update issues including permission problems.

  1. Press Windows + I to open Settings
  2. Navigate to SystemTroubleshootOther troubleshooters
  3. Locate Windows Update and click Run
  4. Wait for the troubleshooter to scan and detect issues
  5. Follow any recommended actions presented by the troubleshooter
  6. Restart your computer when prompted
  7. Test Windows Update by checking for updates manually

Verification: Open SettingsWindows Update and click Check for updates. The error should no longer appear.

2

Reset Windows Update Components

This method manually resets all Windows Update components and clears the update cache, which often resolves permission-related issues.

  1. Press Windows + X and select Windows Terminal (Admin)
  2. Stop Windows Update services by running these commands:
net stop wuauserv
net stop cryptSvc
net stop bits
net stop msiserver
  1. Rename the SoftwareDistribution and catroot2 folders:
ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
ren C:\Windows\System32\catroot2 catroot2.old
  1. Restart the Windows Update services:
net start wuauserv
net start cryptSvc
net start bits
net start msiserver
  1. Close the command prompt and restart your computer
  2. Check for Windows Updates to test the fix

Verification: Run Get-Service wuauserv,cryptsvc,bits,msiserver in PowerShell to confirm all services are running.

3

Run System File Checker and DISM

Corrupted system files can cause permission errors during Windows Updates. SFC and DISM tools repair these files and restore proper system integrity.

  1. Open Windows Terminal (Admin) from the Start menu
  2. Run System File Checker to scan and repair corrupted files:
sfc /scannow
  1. Wait for the scan to complete (this may take 15-30 minutes)
  2. Run DISM to repair the Windows image:
DISM /Online /Cleanup-Image /RestoreHealth
  1. After DISM completes, run SFC again to ensure all issues are resolved:
sfc /scannow
  1. Restart your computer and test Windows Update
Pro tip: If DISM fails to download repair files, use a Windows installation media as the source: DISM /Online /Cleanup-Image /RestoreHealth /Source:D:\Sources\install.wim

Verification: Check the SFC log at C:\Windows\Logs\CBS\CBS.log for "Windows Resource Protection did not find any integrity violations" message.

4

Reset Windows Update Permissions

This method manually resets file and registry permissions for Windows Update components, addressing the core cause of access denied errors.

  1. Download and run the Windows Update Reset PowerShell script or manually reset permissions
  2. Open Windows Terminal (Admin)
  3. Reset permissions on the SoftwareDistribution folder:
takeown /f C:\Windows\SoftwareDistribution /r /d y
icacls C:\Windows\SoftwareDistribution /grant administrators:F /t
  1. Reset permissions on the Windows Update registry keys:
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate" /v "DisableWindowsUpdateAccess" /t REG_DWORD /d 0 /f
  1. Reset the Windows Update Agent by running:
regsvr32 /s atl.dll
regsvr32 /s urlmon.dll
regsvr32 /s mshtml.dll
regsvr32 /s shdocvw.dll
regsvr32 /s browseui.dll
regsvr32 /s jscript.dll
regsvr32 /s vbscript.dll
regsvr32 /s scrrun.dll
regsvr32 /s msxml.dll
regsvr32 /s msxml3.dll
regsvr32 /s msxml6.dll
regsvr32 /s actxprxy.dll
regsvr32 /s softpub.dll
regsvr32 /s wintrust.dll
regsvr32 /s dssenh.dll
regsvr32 /s rsaenh.dll
regsvr32 /s gpkcsp.dll
regsvr32 /s sccbase.dll
regsvr32 /s slbcsp.dll
regsvr32 /s cryptdlg.dll
regsvr32 /s oleaut32.dll
regsvr32 /s ole32.dll
regsvr32 /s shell32.dll
regsvr32 /s initpki.dll
regsvr32 /s wuapi.dll
regsvr32 /s wuaueng.dll
regsvr32 /s wuaueng1.dll
regsvr32 /s wucltui.dll
regsvr32 /s wups.dll
regsvr32 /s wups2.dll
regsvr32 /s wuweb.dll
regsvr32 /s qmgr.dll
regsvr32 /s qmgrprxy.dll
regsvr32 /s wucltux.dll
regsvr32 /s muweb.dll
regsvr32 /s wuwebv.dll
  1. Restart the computer and test Windows Update
Warning: Always create a system restore point before modifying registry permissions.

Verification: Check folder permissions by right-clicking C:\Windows\SoftwareDistributionPropertiesSecurity and confirm SYSTEM and Administrators have Full Control.

5

Create New User Profile and Advanced Registry Fix

If previous methods fail, the issue may be related to user profile corruption or deep registry problems requiring advanced intervention.

  1. Create a new local administrator account:
New-LocalUser -Name "TempAdmin" -Password (ConvertTo-SecureString "TempPass123!" -AsPlainText -Force) -FullName "Temporary Administrator"
Add-LocalGroupMember -Group "Administrators" -Member "TempAdmin"
  1. Log out and sign in with the new account
  2. Test Windows Update from the new profile
  3. If updates work, the original profile is corrupted. If not, proceed with advanced registry fixes:
  4. Open Registry Editor and navigate to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update
  1. Delete any corrupted values and recreate the default structure
  2. Navigate to and reset permissions on:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired
  1. Use PowerShell to reset Windows Update policies:
Remove-Item "HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" -Recurse -Force -ErrorAction SilentlyContinue
Restart-Service wuauserv -Force
  1. Run Windows Update Standalone Installer for critical updates:
wusa.exe /uninstall /kb:XXXXXXX /quiet /norestart
  1. Restart and test updates from both the new and original user accounts

Verification: Run Get-WindowsUpdateLog in PowerShell to generate a readable update log and check for permission errors.

Verification

To confirm the fix worked properly, perform these verification steps:

  1. Open SettingsWindows Update and click Check for updates
  2. Verify that updates download and install without error 0x80070005
  3. Run this PowerShell command to check Windows Update service status:
Get-Service wuauserv,cryptsvc,bits | Select-Object Name,Status,StartType
  1. Check the Windows Update log for errors by running:
Get-WindowsUpdateLog
  1. Verify system file integrity with: sfc /verifyonly
  2. Confirm no pending reboots are required for updates

Still Having Issues?

If the above methods didn't resolve error 0x80070005, try these advanced troubleshooting steps:

  • Check antivirus interference: Temporarily disable real-time protection and Windows Defender to test if security software is blocking updates
  • Boot into Safe Mode: Restart in Safe Mode with Networking and attempt Windows Update to isolate driver or service conflicts
  • Use Media Creation Tool: Download the latest Windows 11/10 ISO and perform an in-place upgrade to repair system components
  • Check disk space: Ensure at least 20GB free space on the system drive for update installation
  • Reset Windows Security: Run Get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage to reset Windows Security app
  • Manual update installation: Download updates directly from Microsoft Update Catalog and install using DISM or Windows Update Standalone Installer

For persistent issues, consider using the Windows 11/10 Reset option while keeping personal files, or contact Microsoft Support for advanced diagnostics.

Frequently Asked Questions

What does Windows Update error 0x80070005 mean exactly?
Error 0x80070005 translates to "Access Denied" in Windows terminology. It occurs when the Windows Update process lacks sufficient permissions to access critical system files, registry keys, or folders required for installing updates. This can happen due to corrupted permissions, damaged system files, or security software interference blocking the update process.
Why does error 0x80070005 happen more frequently on Windows 11?
Windows 11 implements stricter security measures and enhanced permission controls compared to previous versions. The new security model, including features like VBS (Virtualization-based Security) and enhanced Windows Defender integration, can sometimes conflict with update processes. Additionally, Windows 11's more frequent feature updates require broader system access, increasing the likelihood of permission conflicts.
Can third-party antivirus software cause error 0x80070005?
Yes, third-party antivirus software is a common cause of error 0x80070005. Real-time protection features may block Windows Update from accessing system files or registry keys, interpreting the update process as potentially malicious activity. Popular antivirus solutions like Norton, McAfee, and Kaspersky have been known to cause this issue. Temporarily disabling real-time protection during updates often resolves the problem.
Is it safe to manually reset Windows Update permissions using the registry?
Manually resetting Windows Update permissions is generally safe when following proper procedures, but it requires administrative expertise. Always create a system restore point before making registry changes. The commands provided in Method 4 are tested and safe, but incorrect registry modifications can cause system instability. If you're uncomfortable with registry editing, use the built-in Windows Update Troubleshooter or reset tools instead.
How can I prevent error 0x80070005 from recurring in the future?
To prevent future occurrences: 1) Keep Windows Defender updated and avoid conflicting antivirus software, 2) Run monthly SFC and DISM scans to maintain system file integrity, 3) Ensure adequate free disk space (minimum 20GB), 4) Install updates promptly rather than deferring them, 5) Avoid modifying Windows Update registry keys manually, and 6) Use standard user accounts for daily tasks while keeping an administrator account for system maintenance.

Which method worked?

Vote to help others

Official Resources

1
2

About the Author

Emanuel DE ALMEIDA

Emanuel DE ALMEIDA

Senior IT Journalist & Cloud Architect

Microsoft MCSA-certified Cloud Architect | Fortinet-focused. I modernize cloud, hybrid & on-prem infrastructure for reliability, security, performance and cost control - sharing field-tested ops & troubleshooting.

Discussion

Share your thoughts and insights

You must be logged in to comment.

Loading comments...