Back to Help Center
Troubleshooting

Error 0xC0000022 — Access denied to Office license file

How to fix activation error 0xC0000022 (Access denied to Office license file). Step-by-step instructions for Office 2019, Office 2021, Office 2024.

2 min czytania·Zaktualizowano dzisiaj

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

  1. Open any Office application (Word, Excel)
  2. FileAccountChange product key
  3. Enter the key from KluczeSoft
  4. 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:

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

Najczęściej zadawane pytania

Denial of access to the Office licence file
Run Office and activation as an administrator. Check the permissions for the licence folder. Temporarily disable the antivirus and try again.
In most cases, no — the error can be resolved without a new key. If the key is blocked, contact us at [email protected].
Yes — type `slui 4` in the command line and follow the phone activation instructions.

Czy ten artykuł był pomocny?

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