Last updated: June 2, 2026
Access Denied. This guide explains the root cause and walks you through the proven fix - usually resolved in under five minutes.
KMSPico.exe or your Command Prompt and choose Run as administrator. This error almost always disappears immediately.Run these commands in an elevated Command Prompt (right-click → Run as administrator):
> slmgr /rearm > slmgr /ato > slmgr /xpr
0x80070005 is the Windows "Access Denied" code. During activation it means the process that tried to apply the licence didn't have permission to do so. It's one of the most reassuring codes to see, because the cause is almost always missing administrator rights rather than anything broken in Windows.
Run the activation step with administrator rights. Right-click KMSPico and choose Run as administrator - it then has the permissions it needs and the access-denied error clears immediately. If you're using the command line, open Command Prompt as administrator before running the slmgr commands. Adding a quick Windows Security exclusion for the tool's folder beforehand keeps the process from being interrupted.
Related: 0xC004F225 (requires admin) and the troubleshooting hub.
To understand 0X80070005 it helps to know that activation is a protected operation. The licence state lives in an area that ordinary programs cannot modify, and the Software Licensing service will only write there when it is asked from an elevated context. This design keeps malware from silently tampering with your licence, but it also means a perfectly correct activation command fails if it was launched from a normal window. There is nothing wrong with your key or your connection in this situation; the request simply lacked the privilege to complete. Relaunching the same step as an administrator gives the service the rights it needs, which is why this class of error is one of the quickest to resolve.
Manually, the fix is simply to relaunch the command prompt as an administrator and repeat the step. A one-click tool handles the elevation prompt for you and writes the licence in the same run, so the privilege problem cannot recur.
Both routes end at the same place: a Windows installation that reports itself as permanently activated. The manual path gives you full visibility into each step, while the automatic path trades that visibility for speed and fewer chances to mistype a command. Neither changes your files or your data; they only write the licensing state that 0X80070005 was blocking.
0X80070005 is almost always about permissions, and that is good news because the fix is simple and reliable. The Software Licensing service needs to write protected state, and it can only do that from an elevated context. Whether you use slmgr by hand or a one-click tool, running it as administrator is what clears this class of error.
slmgr /ato from the elevated window so the licensing service can write state.slmgr /xpr.If you would rather not run each command by hand, a one-click tool performs the same sequence and reports the licensed state when it finishes.
Download the verified release and start activating Windows or Office in seconds.
Archive password: 123456
Download KMSPico RAR