Error 0xC0000022: Access denied to Office license file
This error occurs in: Office 2019, Office 2021, Office 2024.
Cause
Lack of read or write permissions to the Office license file. Antivirus or NTFS permissions system may be blocking access to C:\Windows\System32\spp\store.
Symptoms
- During activation, the message appears: "Access denied to license file Office"
- Error code:
0xC0000022 - English version: "Access denied to license file"
Step-by-step solution
Run Office and activation as an administrator. Check permissions for the license folder. Temporarily disable antivirus and try again.
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 line:
cd "C:\Program Files\Microsoft Office\Office16"
cscript ospp.vbs /inpkey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
cscript ospp.vbs /act
Verification
After performing the steps, check if the activation was successful:
- Office: File → Account → Status: "Product activated"
- Or:
cscript ospp.vbs /dstatus
Still not working?
If the above steps did not help:
- Check date and time — they must be correct (incorrect date may block activation)
- Temporarily disable antivirus and try again
- Check internet connection — online activation requires a connection to Microsoft servers
- Contact us:
- E-mail: [email protected]
- Phone: 00 800 121 1654 (free)
- Help center: pomoc.kluczesoft.pl