How to Fix Error 0x80070005 in Windows: Access Denied Fix

Windows error 0x80070005 is one of the most common “Access Denied” problems users encounter when installing updates, activating Windows, opening files, using Microsoft Store, creating restore points, or running certain applications. It usually means Windows attempted to read, write, change, or verify something, but the current account or system process did not have the required permission.

TLDR: Error 0x80070005 usually appears when Windows permissions, system files, security software, or update components prevent access to required files or services. The safest fixes include running Windows Update troubleshooter, checking account permissions, resetting update components, scanning system files, and temporarily disabling conflicting security tools. If the issue persists, repairing Windows permissions or performing an in-place upgrade often resolves deeper system damage.

What Error 0x80070005 Means

Error 0x80070005 is commonly described as an Access Denied error. It does not always point to one specific cause. Instead, it indicates that Windows or an application tried to complete an action but was blocked from accessing a file, folder, registry key, service, or system component.

This error may appear during tasks such as:

  • Installing Windows updates
  • Activating Windows
  • Downloading or updating Microsoft Store apps
  • Running backup or system restore
  • Launching certain programs
  • Changing files in protected folders
  • Accessing shared network resources

Because the error is permission-related, the best solution depends on where it appears. However, several proven fixes apply to most situations.

Common Causes of Error 0x80070005

Before applying fixes, it helps to understand why the error happens. The most common causes include:

  • Insufficient account permissions: The account may not have administrator rights.
  • Corrupted Windows Update components: Update cache folders or services may be damaged.
  • Security software interference: Antivirus or firewall tools may block legitimate Windows processes.
  • Damaged system files: Core Windows files may be missing or corrupted.
  • Incorrect file or registry permissions: Windows may be unable to access protected locations.
  • Malware infection: Malicious software can alter permissions and block system functions.
  • Broken Microsoft Store cache: Store-related errors can trigger the same code.

Fix 1: Restart the Computer and Try Again

A simple restart can resolve temporary service conflicts, locked files, or pending update operations. The user should restart the computer normally, sign back in, and repeat the action that triggered error 0x80070005.

If the error occurred during Windows Update, the system may need one or two restarts to complete pending background tasks. This step is basic, but it is useful before changing permissions or running advanced commands.

Fix 2: Run the Process as an Administrator

If the error appears when opening an installer, app, script, or command, administrator privileges may be required. The user can right-click the program and select Run as administrator.

For Command Prompt or PowerShell, the recommended method is:

  1. Open the Start menu.
  2. Search for Command Prompt or PowerShell.
  3. Select Run as administrator.
  4. Approve the User Account Control prompt.

If the action succeeds with elevated privileges, the issue was likely caused by limited permissions.

Fix 3: Confirm the Account Has Administrator Rights

Some Windows tasks require an administrator account. If the user is signed in with a standard local account, Windows may deny access. To check account type:

  1. Open Settings.
  2. Go to Accounts.
  3. Select Your info.
  4. Look for Administrator under the account name.

If the account is standard, an administrator account must be used to change permissions, install updates, or approve system-level changes. In business or school environments, the organization’s IT administrator may need to provide access.

Fix 4: Run the Windows Update Troubleshooter

When error 0x80070005 appears during Windows Update, the built-in troubleshooter is often the easiest repair option. It checks update services, temporary files, registry entries, and download locations.

  1. Open Settings.
  2. Go to System and then Troubleshoot.
  3. Select Other troubleshooters.
  4. Find Windows Update.
  5. Click Run.

After the troubleshooter finishes, the user should restart the computer and check for updates again.

Fix 5: Reset Windows Update Components

If the update cache is corrupted, Windows may repeatedly fail with an access denied message. Resetting Windows Update components can rebuild the update system.

The user should open Command Prompt as administrator and run the following commands one at a time:

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

These commands stop update services, rename update cache folders, and restart the services. Windows will automatically create fresh folders. Afterward, the user should try Windows Update again.

Fix 6: Run System File Checker

Corrupted system files can cause permission errors, update failures, and activation problems. System File Checker scans protected Windows files and attempts to repair them.

In an elevated Command Prompt, the user should run:

sfc /scannow

The scan may take several minutes. If Windows reports that it found and repaired files, the system should be restarted before testing again.

Fix 7: Use DISM to Repair the Windows Image

If SFC cannot repair all problems, the Deployment Image Servicing and Management tool can repair the underlying Windows image. The user should open Command Prompt as administrator and run:

DISM /Online /Cleanup-Image /RestoreHealth

After DISM completes, it is wise to run sfc /scannow again. Together, DISM and SFC can resolve many cases of error 0x80070005 caused by damaged operating system files.

Fix 8: Temporarily Disable Third-Party Antivirus Software

Some third-party antivirus suites, firewalls, or endpoint security tools can block Windows Update, Microsoft Store, system restore, or activation services. This can trigger an access denied error even when the account has proper permissions.

The user can temporarily disable real-time protection in the third-party security program and retry the failed action. If the error disappears, the security tool may need an exception for Windows services or may require an update.

Important: Security protection should only be disabled briefly and re-enabled afterward. If the computer is managed by an organization, security settings should not be changed without permission.

Fix 9: Reset Microsoft Store Cache

If error 0x80070005 appears while installing or updating Store apps, the Microsoft Store cache may be corrupted. Windows includes a quick reset command.

  1. Press Windows + R.
  2. Type wsreset.exe.
  3. Press Enter.

A blank command window may appear briefly, then Microsoft Store should reopen. The user can then try downloading or updating the app again.

Fix 10: Check Folder Permissions

If the error appears while opening, editing, copying, or deleting a file, the folder permissions may be incorrect. The user should confirm that the account has access to the affected location.

  1. Right-click the file or folder.
  2. Select Properties.
  3. Open the Security tab.
  4. Select the user account.
  5. Check whether Read, Write, or Full control is allowed.

If permission changes are needed, an administrator can select Edit and adjust access. For system folders, care is required because incorrect permission changes can create more serious Windows problems.

Fix 11: Take Ownership of the Affected Folder

Sometimes Windows denies access because the account is not the owner of the file or folder. This may happen after restoring data from another computer, changing drives, or reinstalling Windows.

To take ownership:

  1. Right-click the folder and choose Properties.
  2. Open the Security tab.
  3. Click Advanced.
  4. Next to Owner, select Change.
  5. Enter the account name and confirm.
  6. Apply the change and reopen the folder.

This method should generally be used for personal files and folders, not core Windows directories.

Fix 12: Scan for Malware

Malware can modify permissions, damage update services, block security features, or prevent access to system settings. A full scan can help identify hidden threats.

The user can use Windows Security by following these steps:

  1. Open Windows Security.
  2. Select Virus & threat protection.
  3. Choose Scan options.
  4. Select Full scan.
  5. Click Scan now.

If threats are found, Windows should remove or quarantine them. After cleaning the system, the user should restart the computer and recheck the error.

Fix 13: Create a New User Profile

A damaged Windows user profile can cause repeated access denied errors. If the problem affects only one account, a new local administrator account may solve it.

  1. Open Settings.
  2. Go to Accounts.
  3. Select Other users.
  4. Add a new user account.
  5. Change the account type to Administrator.

After signing into the new account, the user can test the same update, app, or file operation. If it works, files can be moved from the old profile to the new one.

Fix 14: Perform a System Restore

If error 0x80070005 started after a driver installation, software update, or system change, System Restore may return Windows to a working state.

The user can search for Create a restore point, open System Restore, and select a restore point from before the problem began. Personal files are usually not affected, but recently installed apps or drivers may be removed.

Fix 15: Use an In-Place Repair Upgrade

When ordinary fixes fail, an in-place repair upgrade can reinstall Windows system files while keeping personal files and apps. This is one of the strongest solutions for persistent access denied errors caused by deep system corruption.

The user can download the official Windows installation assistant or media creation tool from Microsoft, run it inside Windows, and choose the option to keep personal files and applications. A full backup is still recommended before starting.

Prevention Tips

To reduce the chance of seeing error 0x80070005 again, the user should follow these practices:

  • Keep Windows updated regularly.
  • Avoid changing permissions on system folders unless necessary.
  • Use trusted antivirus software and keep it updated.
  • Create restore points before major system changes.
  • Run installers and administrative tools with proper permissions.
  • Back up important files before repairing Windows.

FAQ

What is error 0x80070005 in Windows?

Error 0x80070005 means Access Denied. Windows or an application tried to access a file, service, folder, registry key, or system component but did not have permission.

Is error 0x80070005 caused by a virus?

Not always. It is usually caused by permissions, update corruption, or security software conflicts. However, malware can cause it, so a full system scan is recommended if the error appears suddenly or repeatedly.

How can Windows Update error 0x80070005 be fixed?

The user should run the Windows Update troubleshooter, reset update components, run SFC and DISM, and check whether antivirus software is blocking update services.

Can a standard user account cause this error?

Yes. If the account does not have administrator privileges, Windows may block updates, installations, folder changes, or system repairs. Using an administrator account often resolves the problem.

Will resetting Windows Update delete personal files?

No. Resetting Windows Update components only clears update cache folders and restarts update services. Personal documents, photos, and applications are not removed.

What should be done if none of the fixes work?

If all common fixes fail, the user should consider creating a new administrator profile, using System Restore, or performing an in-place repair upgrade. These options can repair deeper Windows damage without immediately requiring a clean installation.