0xc004f074 Office Activation Error | 4K 2024 |

0xc004f074 Office Activation Error | 4K 2024 |

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.

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:

SOLVED: Office Activation Error 0xc004f074 – "Key Management Service (KMS) is unavailable" 0xc004f074 office activation error

TechSupport_Admin Date: Today at 10:32 AM

cscript ospp.vbs /dhistoryall This shows recent KMS attempts. Also test the network port manually: I ran into the dreaded 0xc004f074 error while

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

cd C:\Program Files\Microsoft Office\Office16 (Use Office16 for 2016/2019/2021, Office14 for 2010, Office15 for 2013) Ask your IT team if unknown

Let me know if any of these steps resolve it for you! 👇

Comments

You are welcome to share your ideas with us in comments

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.

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:

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

TechSupport_Admin Date: Today at 10:32 AM

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

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

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! 👇

Contact Form

Send