0x80070005

Windows Error Code 0x80070005 – Access Denied Fix

Windows Errors Intermediate 👁 11 views 📅 May 26, 2026

This access denied error often stops Windows updates or file operations. We'll hit the top three causes: permissions, corrupted files, and third-party software.

1. Permissions – the real culprit 90% of the time

I know this error is infuriating. You're just trying to update Windows or copy a file, and boom — access denied. Nine times out of ten, it's a permissions issue. Specifically, the account running the operation doesn't have full control over the target folder or registry key.

First: Check the folder permissions

If this happens during a file operation (copy, move, delete), here's what you do:

  1. Right-click the folder or file and select Properties.
  2. Go to the Security tab and click Advanced.
  3. Next to Owner, click Change. Type Administrators and click Check Names, then OK.
  4. Check the box Replace owner on subcontainers and objects.
  5. In the Permissions tab, select Administrators and click Edit. Grant Full control.
  6. Click OK all the way out.

That's usually the fix. If you're dealing with a system folder like C:\Windows\System32, skip this — you don't want to mess with those permissions. Move to the registry fix instead.

Second: Registry permissions

This tripped me up the first time too. Some Windows Update components store their config in the registry. If the TrustedInstaller or SYSTEM account lost ownership, you get 0x80070005.

regedit
Navigate to: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Update
  1. Right-click the Update key and select Permissions.
  2. Click Advanced and change the owner to Administrators.
  3. Grant SYSTEM and Administrators full control.
  4. Apply and close.

Restart your PC and try the update again. Works like a charm.

Pro tip: Always back up the registry key before changing permissions. Right-click > Export. Saves you a headache if something goes sideways.

2. Corrupted system files – the silent breaker

If permissions are fine but the error persists, your system files might be toast. Windows Update relies on a bunch of DLLs and executables. When one gets corrupted, 0x80070005 pops up like a bad dream.

Skip the fancy third-party tools. The built-in System File Checker (SFC) and Deployment Image Servicing and Management (DISM) are all you need.

Run DISM first

DISM /Online /Cleanup-Image /RestoreHealth

This repairs the system image that SFC uses. Without it, SFC might fail or miss things. Let it run — takes 5–15 minutes depending on your connection. Don't cancel it.

Then run SFC

sfc /scannow

This scans and replaces corrupted files. It might ask for a reboot after. Do it.

I've seen this fix Windows Update error 0x80070005 on Windows 10 22H2 and Windows 11 23H2. If it doesn't work, move to the next cause.

3. Third-party software blocking the show

Antivirus and firewalls can be overzealous. I've personally watched Norton and McAfee block legitimate Windows Update operations, triggering 0x80070005. Even some VPN clients and system utilities like CCleaner can mess with permissions.

How to test

  1. Temporarily disable your antivirus real-time protection.
  2. Disable any VPN or proxy.
  3. Restart your PC in Safe Mode with Networking — hold Shift while clicking Restart, then go to Troubleshoot > Advanced options > Startup Settings > Restart > 5.
  4. Run the update again.

If it works, it's one of those programs. Re-enable them one by one to find the culprit. Then either update the program to the latest version or configure an exception for Windows Update.

Heads up: Windows Defender is fine — it's built for this. It's the third-party suites that cause trouble.

Quick-reference summary table

Cause Fix Difficulty
Permissions (file or folder) Take ownership and grant full control Intermediate
Permissions (registry) Change owner to Administrators, grant full control Advanced
Corrupted system files Run DISM, then SFC Beginner
Third-party software blocking Disable AV/VPN, test in Safe Mode Beginner

That's it. Start with permissions — they cause the mess 9 times out of 10. Move to DISM and SFC if that doesn't work. And if you're still stuck, it's almost always a third-party app throwing a tantrum. Good luck — you've got this.

Was this solution helpful?