How to fix Office activation error 0xC004F074

Office Professional Plus and LTSC versions can be set up to activate through a company server. On a home or small-business PC that server doesn't exist, so activation fails with 0xC004F074.

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

  1. Open Command Prompt as administrator.
  2. Go to the Office folder (use Program Files (x86) for 32-bit Office).
  3. Run /dstatus and note the last five characters of the installed key.
  4. 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 /act

In /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?

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.