Quick answer: Error 0x80070005 means “access denied”: the activation process lacked permission to read or write licensing data. Run slmgr from an elevated Command Prompt, make sure the Software Protection service can start, pause security software that locks system files, and repair folder permissions if a tweak tool changed them.
Access denied errors are usually the easiest activation problem to fix. Something stood between Windows and its own licence files: a non-admin account, a locked service, or security software being overprotective.
Common Causes of 0x80070005
| Cause | Fix |
|---|---|
| Command not run as administrator | Fix 1 |
| Standard user account | Fix 2 |
| Security software blocking licensing files | Fix 3 |
| Service or folder permissions changed | Fix 4 and Fix 5 |
How to Fix Error 0x80070005
Fix 1: Run activation commands as administrator
Search for Command Prompt, right-click, choose Run as administrator, and accept the prompt. Then run:
slmgr /atoRunning slmgr in a normal window is the single most common cause of this error.
Fix 2: Use an administrator account
Check Settings > Accounts > Your info. If it says Standard user, sign in with an administrator account or ask the device owner to activate.
Fix 3: Pause third-party security software
Some antivirus and “anti-tamper” tools protect system folders aggressively. Disable real-time protection for a few minutes, activate, and turn it back on.
Fix 4: Reset the Software Protection service
sc config sppsvc start= delayed-auto
net start sppsvcIf this also returns access denied, run SFC and DISM to repair system permissions:
sfc /scannow
DISM /Online /Cleanup-Image /RestoreHealthFix 5: Restore default permissions on licensing folders
Tweak tools sometimes change permissions on C:\Windows\System32\spp\store. A repair install restores them safely. Editing permissions manually on that folder is not recommended, as mistakes can stop licensing completely, which leads to error 0xC004F012.
Why Licensing Needs Elevated Rights
The licence store and Software Protection service are protected so that ordinary programs, and malware, cannot alter activation. slmgr modifies that protected data, so Windows only lets it run with administrator rights. Settings handles elevation automatically when you click Activate, but command-line tools need you to open the prompt as administrator yourself.
Company Devices and Group Policy
On managed PCs, administrators sometimes restrict who can change product keys or run licensing tools. If you have an admin account but still see access denied, a policy may be blocking you. Collect the output of whoami /groups and slmgr /dlv from an elevated prompt and send them to IT.
Office Activation and 0x80070005
The same code appears when activating Office if the Office app was not started with enough rights or if the shared licensing service is blocked. Close all Office apps, right-click Word and choose Run as administrator, then activate from File > Account.
Quick Checklist
| Check | How |
|---|---|
| Admin prompt | Title bar reads “Administrator: Command Prompt” |
| Admin account |
net localgroup administrators lists your account |
| Service running | sc query sppsvc |
| Security software | Real-time protection paused during activation |
If every check passes and access is still denied, the licensing folders may have damaged permissions. A repair install with official Windows media is the safest fix.
Frequently Asked Questions
Does 0x80070005 mean my key is invalid?
No. It means the activation process was blocked by permissions. The key itself was never checked.
Why does slmgr say access denied?
Most often because Command Prompt was opened without “Run as administrator”. Licensing commands need elevated rights.
Can antivirus cause activation access denied errors?
Yes. Security tools that lock system folders can block the licensing service. Pausing protection briefly usually resolves it.
Is it safe to change permissions on the spp folder?
It is risky. Incorrect permissions can break licensing entirely. A repair install restores the correct permissions more safely.
Will 0x80070005 affect Office activation too?
It can, because Office on Windows uses the same licensing service. Fixing permissions usually fixes both.
Windows 11 Pro KeyWindows 10 Pro KeyHelpful Resources
| Type | Resource | Why it helps |
|---|---|---|
| Internal | Error 0xC004F012 guide | Damaged licence store |
| Internal | Windows 11 Pro key | Retail licence |
| External | Microsoft: Get help with Windows activation errors | Official Microsoft guidance |
Still stuck after working through every fix? Email support@softkeyworld.com with the exact error text, your Windows edition (from winver) and the output of slmgr /dli, and our team will tell you whether the key, the edition or the system is the problem.