Windows Error Code 0x80070005
The operation was denied because the account or process lacks permission.
The operation was denied because the account or process lacks permission.
| Code | 0x80070005 |
| Product | Windows |
| Company / origin | Microsoft · United States |
| Category | Operating Systems |
| Platform / versions | Windows 10, Windows 11, Windows Server 2016+ · Varies by component |
| Severity | error |
| Official source | Microsoft Learn: System Error Codes ↗ |
| Last verified | 2026-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
- Step 1
Run the app or installer as administrator, but only after confirming the publisher.
- Step 2
Check the file, folder, and registry permissions for the account the process actually uses.
- Step 3
Review Event Viewer and any security software or group policy that may be denying the operation.
When to escalate
Related codes
| Code | Name | What it means |
|---|---|---|
0x80070002 | File Not Found | Windows cannot find the file or path required by the operation. |
0x80004005 | Unspecified Error | A generic COM/HRESULT failure with no more specific code. |
0x8007000E | Not Enough Memory | The operation ran out of memory. |
0x80070020 | Sharing Violation | The file or device is in use by another process. |
0x80070032 | The Request Is Not Supported | The 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.