Office 2021 won't activate: what each error code means

Activation errors look interchangeable and are not. The code tells you whether you have a network problem, a licensing mismatch, or a key that was revoked — and only one of those is worth your afternoon.

7 min read

SHORT ANSWER

The code decides everything. 0xC004C003 and 0xC004C060 mean the key was blocked by Microsoft and cannot be fixed on your machine — you need a replacement key. 0xC004F074 and 0x8007232B are network or KMS problems and are usually fixable. 0xC004C008 means the key has been used on more machines than it allows.

Find your code first

Every fix below depends on the exact code, so read it before doing anything. Office usually shows it in the activation dialog. If it does not, open Command Prompt as administrator and run the Office licensing script — it prints the licence state and the last error.

  • 64-bit Office on 64-bit Windows: cd \Program Files\Microsoft Office\Office16
  • 32-bit Office on 64-bit Windows: cd \Program Files (x86)\Microsoft Office\Office16
  • Then run: cscript ospp.vbs /dstatus

That output tells you the licence type, the last five characters of the installed key, and whether it is licensed. It is worth capturing before you change anything, because it also tells a seller exactly what they sold you.

The codes that mean the key is dead

CodeMeaningFixable?
0xC004C003The activation server has blocked this keyNo — needs a replacement
0xC004C060Key blocked, usually a revoked volume blockNo
0xC004C020MAK activation limit exceededNo — the block is exhausted
0xC004C008Key already used on its maximum machinesSometimes — see below

The codes worth troubleshooting

0xC004F074 — cannot reach the activation service

The most common genuinely fixable error. Office cannot reach a KMS host or the Microsoft activation service. Usually a clock problem, a network block, or a key that expects a corporate KMS server you do not have.

  1. 01Check the system clock. Activation fails if the date is wrong by more than a few hours — set date and time automatically, then retry.
  2. 02Disable a VPN or proxy temporarily. Activation traffic is frequently blocked by corporate filtering and by some consumer VPNs.
  3. 03Run: cscript ospp.vbs /act — and read the message it returns rather than the dialog's.
  4. 04If the output mentions KMS, you have a volume key that needs a corporate server. A retail key will not need one.

0x8007232B — DNS name does not exist

Almost always the same underlying situation: the installed key is a volume (GVLK) key looking for a KMS host on your network. On a home machine there is none. Installing a genuine retail key resolves it, because retail keys activate directly against Microsoft.

0xC004F050 — the key is not valid

Either mistyped, or the wrong key for the edition installed. An Office Professional Plus key will not activate Office Home and Business. Check the edition first, then retype the key by hand rather than pasting — pasted keys frequently carry an invisible trailing space.

0xC004C008 — already in use

The key has been activated on more devices than its licence allows. Two very different situations produce it:

  • You reused your own key on a new machine without removing it from the old one. Fixable: uninstall the key on the old machine, then activate the new one.
  • The key was sold to more than one person. Not fixable, and it means the seller resold a single-device key repeatedly. Ask for a replacement, and treat further purchases from that source with suspicion.

To release it from a machine you still control, run cscript ospp.vbs /unpkey: followed by the last five characters of the key, then activate on the new machine.

Before you contact the seller

  1. 01Screenshot the exact error code. "It says invalid" is not actionable; 0xC004C060 is.
  2. 02Run cscript ospp.vbs /dstatus and copy the output.
  3. 03Note the Office edition and whether it is 32 or 64-bit.
  4. 04Send all three at once. A seller holding stock can usually replace a key in minutes when given this, and cannot do anything useful without it.

Common questions

What does error 0xC004C003 mean in Office?

The activation server has blocked the product key. It is a server-side decision and cannot be fixed on your computer — reinstalling or repairing Office will not help. You need a different key. It is the typical end state of a volume key that was resold as a retail licence.

Why does Office say my key is already in use?

Error 0xC004C008 means the key has been activated on more machines than its licence permits. If it was your own earlier machine, remove the key there with ospp.vbs /unpkey and activate again. If you never used it elsewhere, the key was sold more than once.

Can I fix a blocked Office key myself?

No. Blocking happens on Microsoft's activation servers. Nothing you run locally changes it. The only remedy is a replacement key, which is why the warranty terms of whoever sold it to you matter.