Skip to content
Activation error

0x80070005

Access denied — the requested action requires elevated privileges

Windows activation failed with "Access denied". Activation commands must run elevated; User Account Control (UAC) blocks slmgr.vbs and activation RPC calls from a non-elevated prompt. On some systems the DCOM permissions for the licensing components have also been damaged.

Symptoms

  • slmgr /ato returns "Error: 0x80070005 Access denied: the requested action requires elevated privileges"
  • The Application log shows Security-SPP event 8229 with error code 0x80070005 on C:\Windows\System32\SLUI.exe
  • Activation works from the Settings page but fails from a normal (non-admin) terminal

Causes

  • The activation command was run from a non-elevated command prompt (UAC)
  • The SELF account lacks the DCOM access permissions licensing components need
  • Group policy or third-party security software is blocking the activation RPC

How to fix it

1

Run the command elevated

Right-click the Start button, choose Terminal (Admin) or Command Prompt (Admin), and run slmgr.vbs /ato from there. Microsoft documents this as the standard fix for the elevated-privileges form of this error.

2

Use the Settings page

Go to Settings > System > Activation and click Activate — the modern activation UI runs with the right privileges and avoids the elevation problem entirely.

3

Restore SELF DCOM permissions

If elevation alone does not fix it, open dcomcnfg (Component Services > Computers > My Computer > Properties > COM Security), edit Access Permissions, add SELF, and grant it the Allow entries Microsoft's 0x80070005 article lists, then restart and retry activation.

4

Check time and security software

Confirm the system clock is correct and temporarily disable third-party antivirus/firewall suites that hook RPC; both are known contributors to persistent access-denied failures.

Still need help?

If error 0x80070005 keeps blocking activation after these steps, our support team can check your key and license channel directly.

Contact support

Genuine licenses

Genuine licenses that activate cleanly

Related searches

slmgr access deniedSELF DCOM permissionsrun command prompt as administrator

From the blog

Help & guides