telnet YOUR_KMS_SERVER_NAME 1688 (If telnet fails, port 1688 is blocked – check Windows Firewall or corporate firewall rules.) cscript ospp.vbs /remhost 6. Switch to MAK activation (if you have a Multiple Activation Key) If your organization provides a MAK key instead:
SOLVED: Office Activation Error 0xc004f074 – "Key Management Service (KMS) is unavailable" 0xc004f074 office activation error
cscript ospp.vbs /sethst:YOUR_KMS_SERVER_NAME cscript ospp.vbs /act Replace YOUR_KMS_SERVER_NAME with the actual hostname (e.g., kms.contoso.com ). Ask your IT team if unknown. From the same admin command prompt, run: telnet YOUR_KMS_SERVER_NAME 1688 (If telnet fails, port 1688
cscript ospp.vbs /dhistoryall This shows recent KMS attempts. Also test the network port manually: From the same admin command prompt, run: cscript ospp
Let me know if any of these steps resolve it for you! 👇
I ran into the dreaded 0xc004f074 error while trying to activate Microsoft Office (Professional Plus / 2016/2019/2021). The activation wizard fails with the message: "The Key Management Service (KMS) is unavailable." This typically happens on volume-licensed versions of Office that are trying to activate against a local KMS host instead of Microsoft’s public servers.
This error does not mean your license is invalid – it means your computer cannot "phone home" to the activation server. Focus on network and name resolution fixes.