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
- Open any Office application (Word, Excel)
- File → Account → Change product key
- Enter the key from KluczeSoft
- 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
- Open PowerShell as administrator
- Enter the key:
slmgr /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
- Activate:
slmgr /ato
- 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 /xprin the command prompt - Office: File → Account → Status: "Product activated"
- Or:
cscript ospp.vbs /dstatus
Still Not Working?
If the above steps did not help:
- Check the date and time — they must be correct (an incorrect date can block activation)
- Temporarily disable antivirus and try again
- Check the internet connection — online activation requires a connection to Microsoft servers
- Contact us:
- Email: [email protected]
- Phone: 00 800 121 1654 (toll-free)
- Help center: pomoc.kluczesoft.pl