Windows System Errors
Access Denied
0x80070005Reviewed for reference consistency: August 11, 2026
the caller lacks permission for the requested file, folder, or registry operation
What 0x80070005 Means
The 0x80070005 error on the Windows System Errors indicates access denied — the caller lacks permission for the requested file, folder, or registry operation. This typically occurs due to insufficient user privileges.
Windows reports 0x80070005 as ERROR_ACCESS_DENIED (Win32 error 5): a permission check failed, so the requested file, folder, or registry operation never runs. In practice the denial traces to a non-elevated caller or to security software blocking the write.
How to fix 0x80070005
General informational guidance, not professional advice. Commands can affect your system or data — back up first and proceed at your own risk. FixerCode is an independent reference, not affiliated with any vendor mentioned.
Run the action with administrator rights
0x80070005 is an access-denied error. Relaunch the installer, app, or terminal elevated so it has permission to write protected files and registry keys.
Start-Process powershell -Verb RunAsRepair protected system files
Corrupted system files can deny access during updates. Run the System File Checker from an elevated prompt.
sfc /scannowReset the Windows Update queue
If the error appears during an update, restarting the update services clears locks on the system folders they use.
net stop wuauserv & net stop bits & net start wuauserv & net start bitsTemporarily pause third-party antivirus
Some security suites lock files mid-operation. Pause real-time protection, retry the action, then turn protection back on.
Technical Background
Windows gates protected resources through Access Control Lists (ACLs). A process asking for modification rights to a system-level resource must run as Administrator or SYSTEM.
When that check fails, the kernel returns 0x80070005 and the action ends before it starts.
Common Causes
- Insufficient user privileges
- Antivirus blocking writes to protected folders
- A corrupted Windows Update component failing its own access checks
Typical Scenarios
- A standard user writes into a protected C:\Windows folder without an elevated process.
- Windows Update cannot replace system binaries because security software holds the folders locked.
What to Know
The same code returns whether the caller is a script, an installer, or a system service — elevation state and security-software interference are the two axes that separate one 0x80070005 case from another.
Frequently Asked Questions
Common questions about Windows 0x80070005 error
It means the program or update was denied permission to change protected system files — most often an elevation issue rather than a broken file.
Related Error Codes
Related Errors From Other Categories
Similar error codes documented across different platforms and systems
A write under Docker's storage ran out of filesystem space and failed.
Git's internal object database is missing or corrupted.
The operating system denied Git's request for more RAM during a heavy operation.
Git detected corruption inside one of its compressed data bundles (packfiles).