How to Fix Error 0x80070005: Access Denied in Windows 11
Error 0x80070005 is a generic access denied error that can appear when installing software, running Windows Update, or accessing files. It means your user account does not have the required permissions. Here is how to resolve it.
What Causes Error 0x80070005?
This error appears when a program or service tries to access a file or registry key that your user account does not have permission to modify. Common triggers include antivirus software blocking changes, corrupted user account permissions, and Windows registry access issues.
Fix 1: Temporarily Disable Antivirus
Antivirus software often blocks Windows processes from accessing certain files. Temporarily disable your antivirus or add an exception for Windows Update and the installation files. Windows Defender users can temporarily turn off Real-time protection in Windows Security > Virus & threat protection > Manage settings.
Fix 2: Take Ownership of Files and Folders
Right-click the file or folder giving the error and select Properties. Go to the Security tab and click Advanced. Next to Owner, click Change, type Administrators, and click Check Names. Click OK, then check Replace owner on subcontainers and objects. Apply the changes and try again.
Fix 3: Run the Program as Administrator
If the error appears when running a specific program, right-click the program shortcut and select Run as administrator. For permanent changes, right-click the shortcut, go to Properties > Compatibility, check Run this program as an administrator, and click OK.
Fix 4: Perform a Clean Boot
A clean boot starts Windows with minimal drivers and startup programs. This helps identify if a third-party service is causing the access denied error. Run msconfig, select Selective startup, uncheck Load startup items, and restart. If the error disappears, a third-party service is the cause.