Back to Help Center
Troubleshooting

Error 0xC004F074

6 min czytania·Zaktualizowano dzisiaj

Error 0xC004F074 — Windows or Office activation issue via KMS

The error 0xC004F074 indicates that the Windows system or Microsoft Office package cannot contact the KMS (Key Management Service) activation service. In simple terms: the computer is trying to confirm the licence on the activation server, but the connection is not successful or the response from the server is incorrect.

Most often, the problem occurs in corporate, school, and administrative environments where activation is performed centrally via a KMS server. In practice, the user sees a message about failed activation, even though the system or Office was working properly before.

What does this error mean

The code 0xC004F074 usually means that the KMS client did not receive a response from the KMS host. This can apply to:

  • Windows system activation,
  • Office package activation in collectively licensed versions,
  • renewal of activation after the validity period has expired.

This does not always mean a lack of licence. Often, the problem concerns communication, DNS configuration, system time, or incorrectly set KMS server.

When does error 0xC004F074 occur

The error most often occurs:

  • during a manual attempt to activate Windows,
  • after installing or migrating the Office package,
  • after changing the network, domain, or DNS server,
  • after restoring the system from an image,
  • after a long period of working on a computer outside the company network,
  • when the KMS server is unavailable or overloaded,
  • after changes to the firewall, proxy, or security policies.

Causes

The most common causes of error 0xC004F074 are:

  • lack of connection to the KMS server,
  • incorrect KMS server address,
  • incorrect DNS record for the KMS service,
  • blocked port 1688/TCP,
  • discrepancy in date, time, or time zone between the client and server,
  • damaged Windows system files,
  • incorrect licensing service configuration,
  • attempt to activate an Office or Windows version that does not support KMS activation,
  • expired or incorrect KMS host configuration,
  • conflicts after previous activation tools or remnants of old keys.

If you need help with resolving the error, please contact us at [email protected] or call 00 800 121 1654.

Step-by-Step Solution

Follow the steps below in the Command Prompt run as administrator.

1. Check Date and Time

An incorrect system time often prevents activation. Ensure that the date, time, and time zone are correct.

2. Check Windows Activation Status

slmgr.vbs /dlv

This command displays license details, including the activation method and any configured KMS host.

3. Set the Correct KMS Server Manually

If your organisation has provided a KMS server address, enter it manually:

slmgr.vbs /skms NAME_OR_IP_OF_SERVER:1688

Example:

slmgr.vbs /skms kms.yourcompany.local:1688

Then, run the activation:

slmgr.vbs /ato

If you want to remove the manually set KMS server and return to automatic detection via DNS, use:

slmgr.vbs /ckms
slmgr.vbs /ato

4. Repair System Files

If the issue is due to damaged system components, run:

DISM /Online /Cleanup-Image /RestoreHealth
sfc /scannow

After completion, restart your computer and retry activation:

slmgr.vbs /ato

5. Check Office Activation

For Office, go to the Office installation directory and run the ospp.vbs tool.

For 64-bit Office on 64-bit Windows, it is usually:

cd "C:\Program Files\Microsoft Office\Office16"

For 32-bit Office on 64-bit Windows:

cd "C:\Program Files (x86)\Microsoft Office\Office16"

Check the license status:

cscript ospp.vbs /dstatus

Set the KMS host:

cscript ospp.vbs /sethst:kms.yourcompany.local

Optionally, set the port:

cscript ospp.vbs /setprt:1688

Run the activation:

cscript ospp.vbs /act

Alternative Repair Methods

If the primary method does not work, check the following solutions.

Clear Incorrect KMS Configuration for Office

cscript ospp.vbs /remhst
cscript ospp.vbs /act

Check Connection to the KMS Server

If you know the host name, check if the computer can see it:

ping kms.yourcompany.local
nslookup kms.yourcompany.local

If the name does not resolve, the problem may be with DNS or the company network connection.

Check if the Licensing Service is Working Correctly

Reread the activation details:

slmgr.vbs /dlv
slmgr.vbs /xpr

This will check if the system is activated periodically by KMS or if the license has expired.

Remove Incorrect Key and Enter the Correct One

If an incorrect volume key or remnants of an old configuration are stored in the system:

slmgr.vbs /upk
slmgr.vbs /cpky

Then, enter the correct installation key provided by the administrator and retry activation:

slmgr.vbs /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
slmgr.vbs /ato

When to Contact Support

It's worth contacting technical support when:

  • the 0xC004F074 error returns despite correct KMS configuration,
  • the computer is on the company network but still cannot connect to the KMS host,
  • you are unsure if your Windows or Office version supports KMS activation,
  • slmgr.vbs /ato and cscript ospp.vbs /act end with repeated errors,
  • the problem affects multiple computers simultaneously,
  • you suspect damage to the license, domain configuration, or DNS.

In such cases, contact support at 00 800 121 1654 or email [email protected] for assistance.

Related errors

The 0xC004F074 error is often accompanied by other activation codes:

  • 0xC004F038 — the KMS server has not reached the required activation threshold,
  • 0x8007232B — a problem with the DNS host name of the KMS,
  • 0xC004F050 — an invalid product key,
  • 0xC004C008 — the key has been used too many times,
  • 0x8007007B — an incorrect file name, directory name, or volume label syntax during activation,
  • 0xC004E003 — a problem with the licence store or activation components.

Summary

The 0xC004F074 error usually does not indicate a system failure, but rather a problem with communication with the KMS server or with the activation configuration. First, it is worth checking the system time, KMS settings, licence status, and the integrity of Windows files. If after performing all the steps the activation still fails, the intervention of an administrator or contact with technical support may be necessary.

Czy ten artykuł był pomocny?

Error 0xC004F074 | Help Center