How to Fix Error 0x80070005 Access Denied (Windows 10/11)

Quick Answer: Error 0x80070005, 'Access Denied', indicates that your user account lacks the necessary permissions to perform a requested operation. The fastest fix often involves running the application or process with administrative privileges or adjusting file/folder ownership and permissions.

What Causes This Error

Step-by-Step Fixes

Fix 1: Fix 1: Run as Administrator

Locate the executable (.exe) file or shortcut for the application.,Right-click on the file or shortcut.,Select 'Run as administrator' from the context menu.,Confirm the User Account Control (UAC) prompt if it appears.

Fix 2: Fix 2: Adjust File/Folder Ownership and Permissions

Right-click the problematic file or folder and select 'Properties'.,Go to the 'Security' tab and click 'Advanced'.,Next to 'Owner:', click 'Change'.,In the 'Enter the object name to select' field, type your username or 'Administrators' and click 'Check Names'. Then click 'OK'.,Check the box 'Replace owner on subcontainers and objects' if applicable, then click 'Apply' and 'OK'.,Back in the 'Advanced Security Settings' window, click 'Add'.,Click 'Select a principal', type your username or 'Administrators', click 'Check Names', then 'OK'.,For 'Basic permissions', check 'Full control'. Click 'OK'.,Ensure 'Replace all child object permission entries with inheritable permission entries from this object' is checked if applicable. Click 'Apply' and 'OK' through all open windows.

Fix 3: Fix 3: Disable Antivirus/Firewall Temporarily

Locate your antivirus software icon in the system tray (bottom right of your screen).,Right-click the icon and look for options like 'Disable', 'Pause protection', or 'Exit'.,Choose to disable protection temporarily (e.g., for 10 minutes or until next reboot).,Attempt the operation that previously caused the error.,If the error is resolved, re-enable your antivirus/firewall immediately and consider adding an exception for the problematic application or process within your security software settings.

Fix 4: Fix 4: Run System File Checker (SFC) and DISM

Open Command Prompt as an administrator: Type 'cmd' in the Start menu search, right-click 'Command Prompt', and select 'Run as administrator'.,In the Command Prompt window, type `sfc /scannow` and press Enter. Allow the scan to complete. This may take some time.,After SFC completes, if issues were found and fixed, restart your computer and test.,If SFC did not resolve the issue, run the DISM tool. In the same elevated Command Prompt, type `DISM /Online /Cleanup-Image /RestoreHealth` and press Enter.,Allow DISM to complete. This also may take some time and requires an internet connection.,After DISM completes, restart your computer and test.

Fix 5: Fix 5: Check and Reset Windows Update Components

Open Command Prompt as an administrator.,Stop Windows Update services by typing the following commands, pressing Enter after each:, `net stop wuauserv`, `net stop cryptSvc`, `net stop bits`, `net stop msiserver`,Rename the SoftwareDistribution and Catroot2 folders:, `ren C:\Windows\SoftwareDistribution SoftwareDistribution.old`, `ren C:\Windows\System32\catroot2 Catroot2.old`,Start Windows Update services by typing the following commands, pressing Enter after each:, `net start wuauserv`, `net start cryptSvc`, `net start bits`, `net start msiserver`,Restart your computer and attempt the Windows Update again.

FAQs

Q: What does 'Access Denied' mean in error 0x80070005?

A: 'Access Denied' means that the operating system has prevented your user account or the process you are trying to run from accessing a specific file, folder, or system resource because it does not have the necessary security permissions.

Q: Can malware cause error 0x80070005?

A: Yes, malware can sometimes modify system permissions or lock files, leading to 'Access Denied' errors when legitimate processes try to interact with those resources. Running a full system scan with reputable antivirus software is recommended if you suspect malware.

Q: Is it safe to disable my antivirus to fix this error?

A: Temporarily disabling your antivirus can help diagnose if it's interfering with an operation. However, it should only be done briefly and on trusted operations. Re-enable your antivirus immediately after testing to maintain system security.

Related Errors