Home > News Tips

Error Code 0x80070005! How to Fix It on Windows?

Published/Updated on Friday, February 21, 2025

M3 Software author Sherry Song

Written by

Sherry Song

English

Error Code 0x80070005 on Windows is commonly known as the "Access Denied" error. It often occurs when Windows is unable to install updates, activate the operating system, or access certain files due to insufficient permissions.

This issue can arise due to misconfigured system settings, malware infections, or corrupted system files. Some users are complaining about this:

When I attempted to download the games on my Windows, I failed in the 99 percent so that I never finished my download. And I got a message "Error Code: 0x80070005", so how can I do? -answer.microsoft.com

I wanna find some solutions to error code 0x8007005 in Microsoft store apps unable to install or stuck at acquiring licence. -reddit.com

If you encounter this error, just follow us, and we will walk you through various methods to remove the error.

How to Remove Error Code: 0x80070005

How to remove Error Code 0x8007005

Here we summarize some effective solutions to Windows error code 0x80070005, please try them one by one.

# 1 Run Windows Update troubleshooter

Since this error often appears during Windows updates, the first step is to run the built-in troubleshooter.

  1. Press the Win + I keys to open Settings.
  2. Navigate to System > Troubleshoot > Other troubleshooters.
    Run Windows Update troubleshooter
  3. Under Windows Update, click Run.
  4. Follow the on-screen instructions to detect and fix issues automatically.

# 2 Run as Administrator

If the error code 0x80070005 occurs while installing software or updates, try running the program with administrative privileges.

  1. Locate the app or Windows update that is failing.
  2. Right-click the file and select Run as administrator.
  3. Confirm the User Account Control prompt and proceed.

# 3 Adjust permissions

Incorrect folder permissions can trigger error 0x80070005. To manually adjust them:

  1. Right-click the affected folder like C:\Users\...)
  2. Select Properties > Security.
  3. Choose Edit and choose your user account.
  4. Ensure you have Full Control permissions.
  5. Click Apply > OK.

# 4 Disable User Account Control

User Account Control (UAC) settings can sometimes block access to certain system processes. Disabling it can help:

  1. Press the Win +I keys, type UserAccountControlSettings, and hit the Enter key.
  2. Move the slider down to Never notify.
    Disable UAC
  3. Click OK, and restart your PC.

If you have removed this error here, please share our post.

 

# 5 Reset Windows Update components

Corrupted Windows Update components can lead to update failures. Resetting them can fix:

  1. Press the Win key and type cmd in the search box, then open Command Prompt as Administrator.
  2. Type the following commands one by one, pressing the Enter key after each.
    net stop wuauserv
    net stop cryptSvc
    net stop bits
    net stop msiserver
    ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
    ren C:\Windows\System32\catroot2 catroot2.old
    net start wuauserv
    net start cryptSvc
    net start bits
    net start msiserver
  3. Restart your computer.

# 6 Check for corrupted system files

Corrupted system files may be the cause of the error code 0x80070005. Running System File Checker(SFC) and DISM can repair them.

  1. Press the Win key and type cmd in the search box, then open Command Prompt as Administrator.
  2. Type sfc /scannow and press the Enter key.
  3. If the error remains, type 
    DISM /Online /Cleanup-Image /ScanHealth
    DISM /Online /Cleanup-Image /RestoreHealth

# 7 Use Quartz.dll

Re-registering missing or corrupt Quartz.dll can also help:

  1. Press the Win key and type cmd in the search box, then open Command Prompt as Administrator.
  2. Type regsvr32 quartz.dll
  3. Restart your PC and check if the issue is resolved.

# 8 Scan for malware

Malware infections can modify system permissions and prevent updates. Running a fiull system scan can help detect and remove threats.

  1. Press the Win + S keys and type Windows Security.
  2. Click Virus & threat protection.
  3. Select Quick Scan of Full Scan > Scan Now.
    Scan for malware
  4. If there is some malware, follow the recommended steps to remove it.

Have you fixed the Error Code: 0x8007005? Please share our solutions.