Back to Help Center
Troubleshooting

Error 0x80070005 — Access Denied — elevated privileges required

How to fix activation error 0x80070005 (Access denied — elevated privileges required). Step-by-step instructions for Windows 10, Windows 11, Windows Server, Office 2019, Office 2021, Office 2024.

2 min czytania·Zaktualizowano dzisiaj

Error 0x80070005: Access Denied — Elevated Privileges Required

This error occurs in: Windows 10, Windows 11, Windows Server, Office 2019, Office 2021, Office 2024.

Cause

User Account Control (UAC) blocks the activation process from running without administrator privileges. The most common error when running slmgr.vbs from a standard command prompt.

Symptoms

  • During activation, the message appears: "Access denied — elevated privileges required"
  • Error code: 0x80070005
  • English version: "Access denied. The requested action requires elevated privileges"

Step-by-Step Solution

Right-click on 'Command Prompt' and select 'Run as administrator'. Then, run slmgr.vbs again. For Office, run as admin and use ospprearm.exe.

Solution for Office

  1. Open any Office application (Word, Excel)
  2. FileAccountChange product key
  3. Enter the key from KluczeSoft
  4. Click Activate

Or through the command prompt:

cd "C:\Program Files\Microsoft Office\Office16"
cscript ospp.vbs /inpkey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
cscript ospp.vbs /act

Solution for Windows Server

  1. Open PowerShell as administrator
  2. Enter the key:
slmgr /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
  1. Activate:
slmgr /ato
  1. Check the status:
slmgr /xpr

Verification

After performing the steps, check if the activation was successful:

  • Windows: Settings → System → Activation → should be "Windows is activated"
  • Or: slmgr /xpr in the command prompt
  • Office: File → Account → Status: "Product activated"
  • Or: cscript ospp.vbs /dstatus

Still Not Working?

If the above steps did not help:

  1. Check the date and time — they must be correct (an incorrect date can block activation)
  2. Temporarily disable antivirus and try again
  3. Check the internet connection — online activation requires a connection to Microsoft servers
  4. Contact us:
    • Email: [email protected]
    • Phone: 00 800 121 1654 (toll-free)
    • Help center: pomoc.kluczesoft.pl

Najczęściej zadawane pytania

Access denied — elevated privileges are required
Right-click on 'Command Prompt' and select 'Run as administrator'. Then, run slmgr.vbs again. For Office — run as admin and use ospprearm.exe.
In most cases, no — the error can be resolved without a new key. If your key is blocked, please contact us at [email protected].
Yes — type slui 4 in the command line and follow the phone instructions. You can also call us on 00 800 121 1654 for assistance.

Czy ten artykuł był pomocny?

Error 0x80070005 — how to fix? Instructions [2025] | Help Center