Updated December 2026
What error 0xC004F074 means in Office
The installed Office licence uses volume activation through a KMS server, and Office can't reach one. It often happens on PCs that came from a company, or after Office was activated with a script. The same error in Windows has the same cause.
Fix: replace the KMS key with your own
- Open Command Prompt as administrator.
- Go to the Office folder (use Program Files (x86) for 32-bit Office).
- Run /dstatus and note the last five characters of the installed key.
- Remove that key, install yours and activate, using the commands below.
cd "C:\Program Files\Microsoft Office\Office16"
cscript ospp.vbs /dstatus
cscript ospp.vbs /unpkey:XXXXX
cscript ospp.vbs /inpkey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
cscript ospp.vbs /actIn /unpkey, XXXXX is the last five characters you noted. In /inpkey, use your full 25-character key. After /act you should see Product activation successful.
If /act still fails
- Make sure your key is for the same edition and version that is installed: an Office 2024 key won't activate Office 2021.
- If the installed edition is different, uninstall Office and install the version that matches your key.
- Check your internet connection and your PC's date and time, then run /act again.
Still stuck?
- See the other messages in our guide to Office activation problems.
- Reinstall cleanly with our complete uninstall guide, then install and activate Office again.
- If you bought the key from us, contact us with your order number and a screenshot. If the key is faulty, we replace it.
Keys mentioned in this guide
- Office 2024 Pro Plus $34.99
- Office LTSC 2024 Professional Plus $34.99
- Office 2021 Pro Plus $34.99
Still stuck?Send us a screenshot and your order number on the contact page. If a key we sold you won't activate, we fix it or send a replacement.