Windows Error 0x80070005 (Access Denied / Permission Error) – Complete Fix Guide (2026)

Table of Contents

Hub: Windows 11 Troubleshooting Hub

Quick Answer
Windows Error 0x80070005 (Access Denied / Permission Error) is a permission-related error that occurs when you try to access a file, folder, or system setting without the necessary user rights. To fix it, take ownership of the file or folder, grant full control permissions, run the application as administrator, temporarily disable User Account Control, and repair system files with SFC and DISM. If the error persists, check antivirus software, reset permissions, or enable the built-in administrator account. For more Windows troubleshooting, visit our Windows 11 Troubleshooting Hub.

Why Windows Error 0x80070005 (Access Denied / Permission Error) Happens

Windows Error 0x80070005 (Access Denied / Permission Error) is a common permission-related error that occurs when a user or application attempts to access a file, folder, registry key, or system setting without having the appropriate rights. The error code 0x80070005 translates to E_ACCESSDENIED, indicating that the requested operation requires higher privileges than the current user account possesses. For official Microsoft documentation, refer to the Microsoft Access Denied documentation.

When Windows Error 0x80070005 (Access Denied / Permission Error) appears, it typically indicates that the user account does not have sufficient permissions to perform the operation. This error is similar to other permission errors like Windows Error 0x80070057 (Parameter Is Incorrect) and Windows Error 0x80004005 (Unspecified Error), but it specifically points to permission issues. Common triggers include User Account Control (UAC) restrictions, file ownership conflicts, corrupted system files, and third-party security software blocking access.

Before diving into fixes, ensure you are logged in with an administrator account. If Windows Error 0x80070005 (Access Denied / Permission Error) occurs during a specific operation, note which file or folder is affected, as this can help narrow down the most effective fix. For a broader overview of Windows errors, see our Windows 11 Troubleshooting Hub.

⚠️ Warning: Windows Error 0x80070005 (Access Denied / Permission Error) often indicates insufficient user rights. Always use an administrator account when making system-level changes.

1. Take Ownership of the File or Folder

Taking ownership of a file or folder can resolve Windows Error 0x80070005 (Access Denied / Permission Error) by granting your user account control over the resource.

  1. Right-click the file or folder and select Properties.
  2. Go to the Security tab and click Advanced.
  3. Next to Owner, click Change.
  4. Type Administrators or your username and click Check Names.
  5. Click OK and check the box “Replace owner on subcontainers and objects”.
  6. Click Apply and OK.
  7. Close the dialog and try accessing the file or folder again.

✅ Expected Result: Taking ownership often resolves Windows Error 0x80070005 (Access Denied / Permission Error) by giving your account full control over the resource.

2. Grant Full Control Permissions

Granting full control permissions to your user account can fix Windows Error 0x80070005 (Access Denied / Permission Error) when the error occurs during file or folder access.

  1. Right-click the file or folder and select Properties.
  2. Go to the Security tab and click Edit.
  3. Select your user account from the list.
  4. Check “Full control” under Allow.
  5. If your account is not listed, click Add, type your username, and click OK.
  6. Click Apply and OK.
  7. Try accessing the file or folder again.

💡 Quick Tip: If multiple files or folders are affected, you can apply permission changes recursively by checking “Replace all child object permission entries” in the Advanced Security Settings.

3. Run the Application as Administrator

Running an application with administrator privileges can bypass Windows Error 0x80070005 (Access Denied / Permission Error) by granting the necessary permissions.

  1. Right-click the application shortcut or executable.
  2. Select Run as administrator.
  3. If prompted by User Account Control, click Yes.
  4. Check if the error resolves.
  5. To permanently run as administrator, right-click the application, select Properties, go to the Compatibility tab, and check “Run this program as an administrator”.

❌ Common Mistake: Forgetting to run the application as administrator when performing system-level operations. Always use this method for installation and system configuration tasks.

4. Disable User Account Control (UAC) Temporarily

User Account Control (UAC) can trigger Windows Error 0x80070005 (Access Denied / Permission Error) when it blocks certain operations. Temporarily disabling UAC can help identify if it is the cause.

  1. Press Win + R, type UserAccountControlSettings, and press Enter.
  2. Drag the slider down to “Never notify”.
  3. Click OK and restart your PC.
  4. After testing, remember to set UAC back to its default level (“Notify me only when apps try to make changes”).

⚠️ Warning: Disabling UAC reduces system security. Only disable it temporarily for testing and re-enable it immediately after troubleshooting Windows Error 0x80070005 (Access Denied / Permission Error).

5. Repair System Files with SFC and DISM

Corrupted system files can cause Windows Error 0x80070005 (Access Denied / Permission Error). Running SFC and DISM repairs system files and the component store. For a complete guide, see our How to Use DISM Windows 11 article.

  1. Open Command Prompt as Administrator.
  2. Run DISM to repair the component store:
    DISM /Online /Cleanup-Image /RestoreHealth
  3. Wait for the process to complete (15-20 minutes).
  4. Then run SFC:
    sfc /scannow
  5. After both scans finish, restart your PC and check if Windows Error 0x80070005 (Access Denied / Permission Error) is resolved.

✅ Expected Result: SFC and DISM will repair corrupted files, which may resolve Windows Error 0x80070005 (Access Denied / Permission Error).

6. Check Antivirus and Security Software

Third-party antivirus or security software can block file access and trigger Windows Error 0x80070005 (Access Denied / Permission Error). Temporarily disabling it can help identify if it is the cause.

  1. Open your antivirus application.
  2. Turn off real-time protection or pause protection temporarily.
  3. Also disable any firewall or VPN that may interfere.
  4. Attempt the operation that caused the error again.
  5. If the error is resolved, add the file or folder to the exclusion list.
  6. Remember to re-enable your security software after testing.

🔁 Alternative Solution: If you cannot disable your antivirus, try adding the specific file or folder path to the exclusion list.

7. Reset File and Folder Permissions

Resetting file and folder permissions to default can fix Windows Error 0x80070005 (Access Denied / Permission Error) caused by permission corruption.

  1. Open Command Prompt as Administrator.
  2. Use the icacls command to reset permissions:
    icacls "C:\Path\to\file" /reset /t
  3. This resets permissions to inherited defaults.
  4. Alternatively, use the takeown command to take ownership:
    takeown /f "C:\Path\to\file" /r /d y
  5. After resetting, try accessing the file or folder again.

⚠️ Warning: Be careful when using the /t parameter as it applies changes to all subfolders and files. Only use it when necessary.

8. Enable Built-in Administrator Account

The built-in administrator account has unrestricted access and can help bypass Windows Error 0x80070005 (Access Denied / Permission Error) when your user account lacks permissions.

  1. Open Command Prompt as Administrator.
  2. Enable the built-in administrator account:
    net user administrator /active:yes
  3. Log out and log in as Administrator.
  4. Perform the operation that was failing.
  5. After completing, disable the administrator account:
    net user administrator /active:no

⚠️ Warning: The built-in administrator account has unrestricted system access. Only use it for troubleshooting and disable it immediately after to maintain security.

9. Advanced Troubleshooting

If the error persists, try these advanced solutions.

Check Registry Permissions

If Windows Error 0x80070005 (Access Denied / Permission Error) occurs during registry operations, check and fix registry permissions. Open Registry Editor, navigate to the relevant key, right-click, select Permissions, and ensure your account has Full Control.

Perform a Clean Boot

A clean boot starts Windows with minimal drivers and startup programs, which can eliminate conflicts. Press Win + R, type msconfig, go to the Services tab, check “Hide all Microsoft services,” click Disable all, then disable startup items in Task Manager. Restart and test.

Perform a System Restore

If the error started after a system change, use System Restore to revert to a previous state. See How to Use System Restore Windows 11.

Check for Malware

Malware can block file access and cause Windows Error 0x80070005 (Access Denied / Permission Error). Run a full scan with Windows Defender Offline. For detailed steps, see How to Scan Malware Windows 11.

Perform an In-Place Upgrade (Repair Install)

An in-place upgrade reinstalls Windows while preserving your files and apps. Download the Windows 11 ISO, mount it, and run setup.exe. Choose “Keep personal files and apps.” This often resolves persistent Windows Error 0x80070005 (Access Denied / Permission Error). This method is also effective for Windows Installation Failed in Safe_OS Phase and Windows 11 Update Stuck.

If you continue to experience issues, contact Microsoft Support. For more Windows troubleshooting, explore our Windows 11 Troubleshooting Hub.

Conclusion

Windows Error 0x80070005 (Access Denied / Permission Error) is a common permission error that can be fixed with systematic troubleshooting. The most reliable solutions are taking ownership of the file or folder, granting full control permissions, running the application as administrator, and repairing system files with SFC and DISM. If the error persists, temporarily disabling User Account Control, checking antivirus software, resetting permissions, or enabling the built-in administrator account will usually resolve the issue. Always ensure you have administrator privileges before attempting system-level changes.

Regular system maintenance, such as keeping your system updated and periodically checking file permissions, can prevent Windows Error 0x80070005 (Access Denied / Permission Error) from recurring. For more Windows troubleshooting, explore our Windows 11 Troubleshooting Hub and check out related articles on Error 0x80070057, Error 0x80004005, and Error 0xc0000005.

Related Guides

FAQ

What causes Windows Error 0x80070005 (Access Denied / Permission Error)?

Windows Error 0x80070005 (Access Denied / Permission Error) is caused by insufficient user permissions, file ownership conflicts, User Account Control restrictions, corrupted system files, or third-party security software blocking access.

How do I fix Windows Error 0x80070005 (Access Denied / Permission Error)?

Take ownership of the file or folder, grant full control permissions, run the application as administrator, repair system files with SFC and DISM, and temporarily disable User Account Control.

Can antivirus cause Error 0x80070005?

Yes, third-party antivirus or security software can block file access and trigger Windows Error 0x80070005 (Access Denied / Permission Error). Temporarily disabling it can help identify the cause.

How do I take ownership of a file in Windows 11?

Right-click the file, select Properties > Security > Advanced, click Change next to Owner, type Administrators or your username, check “Replace owner on subcontainers and objects,” and click OK.

Is Error 0x80070005 a virus or malware?

No, Windows Error 0x80070005 (Access Denied / Permission Error) is a permission error, not a virus. However, malware can cause this error by blocking file access.

What is the difference between Error 0x80070005 and 0x80070057?

0x80070005 is an access denied/permission error, while 0x80070057 is a parameter incorrect error. 0x80070005 specifically points to permission issues, while 0x80070057 indicates an invalid parameter.

Can User Account Control cause Error 0x80070005?

Yes, User Account Control can block certain operations and trigger Windows Error 0x80070005 (Access Denied / Permission Error). Running applications as administrator often resolves this.

How do I grant full control permissions in Windows 11?

Right-click the file or folder, select Properties > Security > Edit, select your user account, check “Full control” under Allow, and click OK.

Can I fix Error 0x80070005 without reinstalling Windows?

Yes, most cases are resolved without reinstalling using permission fixes, ownership changes, and system file repairs. An in-place upgrade is the last resort for Windows Error 0x80070005 (Access Denied / Permission Error).

What is the built-in administrator account and how do I enable it?

The built-in administrator account has unrestricted system access. Enable it by running net user administrator /active:yes in Command Prompt as Administrator. Disable it after troubleshooting with net user administrator /active:no.

HowToFixPro Editorial Team

We’re a team of system administrators, technical writers, and platform specialists who genuinely enjoy solving the problems most users find frustrating. From persistent Windows errors and Android sync failures to browser crashes and network drops — we’ve seen it all, and we document every fix properly. Our guides are built on official documentation, direct testing, and real troubleshooting experience. No filler, no guesswork — just reliable, step-by-step solutions you can trust.

Scroll to Top