Windows · Access Denied

Windows Error Code 0x80070005

The operation was denied because the account or process lacks permission.

errorLast verified 2026-11-08Microsoft Learn: System Error Codes
Quick answer

The operation was denied because the account or process lacks permission.

Code0x80070005
ProductWindows
Company / originMicrosoft · United States
CategoryOperating Systems
Platform / versionsWindows 10, Windows 11, Windows Server 2016+ · Varies by component
Severityerror
Official sourceMicrosoft Learn: System Error Codes ↗
Last verified2026-11-08

What does Windows error 0x80070005 mean?

0x80070005 is HRESULT for ERROR_ACCESS_DENIED. It means Windows blocked the operation at the permission, ACL, UAC, or policy layer. It is common during installs, updates, service starts, and registry or file operations.

Common causes

  • The user or service account lacks permission on the file, folder, registry key, or service.
  • UAC has not elevated the process, or the app is running as the wrong user.
  • Antivirus, group policy, or a controlled folder access rule is blocking the write.

How to fix it

  1. Step 1

    Run the app or installer as administrator, but only after confirming the publisher.

  2. Step 2

    Check the file, folder, and registry permissions for the account the process actually uses.

  3. Step 3

    Review Event Viewer and any security software or group policy that may be denying the operation.

When to escalate

Before you escalate: If the code returns after a reboot, a repair install, and a clean driver update, collect the exact code, the affected app or update KB, Event Viewer entries around the failure, and a system information export, then contact Microsoft support or the app vendor.

Related codes

CodeNameWhat it means
0x80070002File Not FoundWindows cannot find the file or path required by the operation.
0x80004005Unspecified ErrorA generic COM/HRESULT failure with no more specific code.
0x8007000ENot Enough MemoryThe operation ran out of memory.
0x80070020Sharing ViolationThe file or device is in use by another process.
0x80070032The Request Is Not SupportedThe operation is not supported by the target or component.

Source & verification

This page was checked against Microsoft Learn: System Error Codes on 2026-11-08. The code, product, and platform fields are kept separate from the explanation so corrections can be made without changing the URL.

Open Error Codes is independent and not affiliated with Microsoft. Always confirm destructive or security-sensitive steps with the official documentation.