You see error 0xC004F074 when trying to activate Microsoft 365 Apps for enterprise or a volume-licensed version of Office that includes Word. This error means the Key Management Service client cannot reach the KMS host server, or the host is not responding with the correct activation data. The problem usually occurs on a system that was deployed from a volume license image but is not properly connected to the organization’s KMS infrastructure. This article explains why the error appears and provides the exact steps to resolve it by checking network connectivity, verifying the KMS host, and repairing the Office installation.
Key Takeaways: Fixing Word Activation Error 0xC004F074 on Volume License Images
- KMS client misconfiguration or missing DNS records: The volume license image may not have the correct KMS host name or the DNS SRV record for the KMS host is missing.
- Run the Volume Activation Management Tool to diagnose and fix: Use
ospp.vbsorslmgr.vbsto re-point the client to the correct KMS host and force reactivation. - Reapply the volume license key via Office Deployment Tool: If the generic Volume License Key is missing or corrupted, reinstalling with the correct GVLK resolves the activation failure.
Why Error 0xC004F074 Occurs on a Volume License Image
Error 0xC004F074 is a KMS activation error that appears when the Office client cannot communicate with the KMS host server. On a volume license image, the system is pre-configured with a Generic Volume License Key that expects to find a KMS host through DNS. The error occurs when:
- The DNS SRV record for the KMS host is missing or incorrect.
- The KMS host is offline, unreachable, or not responding.
- The client computer cannot resolve the KMS host name.
- The Office installation uses a retail key instead of the correct GVLK.
- The system clock is off by more than the allowed tolerance (typically 5 minutes).
On a volume license image, the activation process relies on the KMS client finding the host automatically via DNS. If the image was not sysprepped correctly or the KMS host changed after deployment, the client retains stale configuration data and fails to activate.
Steps to Resolve Word Activation Error 0xC004F074
Follow these steps in order. Each step builds on the previous one. Do not skip steps.
Step 1: Verify Network Connectivity to the KMS Host
- Open Command Prompt as Administrator
Press Windows + X and select Terminal (Admin) or Command Prompt (Admin). - Test DNS resolution of the KMS host
Typenslookup -type=srv _vlmcs._tcp.contoso.com(replace contoso.com with your organization’s domain). If no records appear, the DNS SRV record is missing. - Test direct connectivity to the KMS host
Typetelnet kms-server-name 1688(replace kms-server-name with the actual KMS host name). If the connection fails, a firewall or network issue is blocking port 1688.
Step 2: Verify the KMS Host Name and Port
- Open an elevated Command Prompt
Press Windows + X and select Terminal (Admin). - Check the current KMS host name
Typecscript "%ProgramFiles%\Microsoft Office\Office16\OSPP.VBS" /dstatus. Look for the KMS host name in the output. If it is blank or incorrect, proceed to the next step. - Set the correct KMS host name
Typecscript "%ProgramFiles%\Microsoft Office\Office16\OSPP.VBS" /sethst:kms-host-name(replace kms-host-name with the actual KMS host FQDN). - Set the KMS port if non-default
Typecscript "%ProgramFiles%\Microsoft Office\Office16\OSPP.VBS" /setprt:1688. Port 1688 is the default. Use a different port only if your KMS host uses a non-standard port.
Step 3: Force Reactivation of Office
- Activate Office using the configured KMS host
Typecscript "%ProgramFiles%\Microsoft Office\Office16\OSPP.VBS" /act. Wait for the script to complete. You should see a message indicating successful activation. - Verify the new activation status
Typecscript "%ProgramFiles%\Microsoft Office\Office16\OSPP.VBS" /dstatus. Confirm that the license status shows Licensed.
Step 4: Reapply the Generic Volume License Key
- Identify the correct GVLK for your Office version
For Microsoft 365 Apps for enterprise, the GVLK is NPPR9-FWDCX-D2C8J-H872K-2YT43. For Office Professional Plus 2019, it is NX8TT-2K8C4-3T3RF-3VYHG-7Y2JG. Find the full list at Microsoft’s GVLK documentation. - Open an elevated Command Prompt
Press Windows + X and select Terminal (Admin). - Install the GVLK
Typecscript "%ProgramFiles%\Microsoft Office\Office16\OSPP.VBS" /inpkey:GVLK-XXXXX-XXXXX-XXXXX-XXXXX(replace the placeholder with the actual GVLK). - Activate again
Typecscript "%ProgramFiles%\Microsoft Office\Office16\OSPP.VBS" /act.
If Word Still Shows the Activation Error
The KMS host is not publishing a DNS SRV record
If the DNS SRV record is missing, the Office client cannot find the KMS host automatically. Contact your network administrator to add the SRV record for _vlmcs._tcp.yourdomain.com pointing to the KMS host. Alternatively, manually set the KMS host name using Step 2 above.
The system clock is out of sync
KMS activation requires the client clock to be within 5 minutes of the KMS host time. Run w32tm /resync in an elevated Command Prompt to sync the time. If the time zone is wrong, correct it in Settings > Time & Language > Date & Time.
The Office installation is using a retail key
If the volume license image was not properly prepared, it may contain a retail product key instead of a GVLK. Run cscript "%ProgramFiles%\Microsoft Office\Office16\OSPP.VBS" /dstatus and look for the partial product key. If it does not match the GVLK list, reinstall Office using the Office Deployment Tool with the correct volume license configuration file.
Office was installed from a volume license image but the KMS host is not reachable
If the KMS host is behind a firewall, ensure port 1688 (TCP) is open between the client and the KMS host. Test with Test-NetConnection kms-host-name -Port 1688 in PowerShell. If the port is blocked, work with your network team to allow traffic.
Volume License Image vs Retail Activation: Key Differences
| Item | Volume License Image | Retail Activation |
|---|---|---|
| Product key type | Generic Volume License Key (GVLK) | Unique retail product key |
| Activation server | Internal KMS host on the organization network | Microsoft activation servers over the internet |
| Activation frequency | Every 180 days (renews automatically) | Once per product key |
| Error 0xC004F074 cause | Missing DNS SRV record, unreachable KMS host, or wrong GVLK | Does not occur (retail uses different error codes) |
| Resolution method | Configure KMS host name, reapply GVLK, or repair DNS records | Use the retail key or contact Microsoft support |
Error 0xC004F074 is specific to volume license activation. Retail installations never see this error. If you are running a volume license image and the error persists, the KMS infrastructure or the image configuration is the root cause.
You can now resolve error 0xC004F074 by manually setting the KMS host name, reapplying the GVLK, or verifying network connectivity to the KMS host. After completing the steps, run cscript OSPP.VBS /act to confirm activation. For future deployments, ensure the volume license image includes the correct GVLK and that the KMS DNS SRV record is published before imaging. Use the Volume Activation Management Tool to monitor KMS health across your organization.