0xc004f074 Office Activation Error May 2026

cscript ospp.vbs /dhistoryall This shows recent KMS attempts. Also test the network port manually:

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:

cscript ospp.vbs /inpkey:YOUR-MAK-KEY-HERE cscript ospp.vbs /act Check DNS records for _vlmcs._tcp – KMS clients find servers via DNS. Run: 0xc004f074 office activation error

nslookup -type=SRV _vlmcs._tcp If nothing returns, your IT team needs to publish the KMS DNS record.

SOLVED: Office Activation Error 0xc004f074 – "Key Management Service (KMS) is unavailable" cscript ospp

cd C:\Program Files\Microsoft Office\Office16 (Use Office16 for 2016/2019/2021, Office14 for 2010, Office15 for 2013)

Let me know if any of these steps resolve it for you! 👇 Run: nslookup -type=SRV _vlmcs

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:

AGREEMENT_

By clicking "Enter", you confirm you are of the legal age of 18 or older, take full responsibility for your actions, consent to the use of cookies, and agree to our Terms and Conditions.

Digital Ethics GDPR Trust & Safety