Microsoft Windows Error Code 0xC004F074: How to Fix It

Medium 15-45 minutes Medium Severity Verified July 2026
Error Code
0xC004F074
Brand
Microsoft Windows
Product Type
operating_system
Severity
Medium
DIY Difficulty
Medium
Estimated Fix Time
15-45 minutes
Windows error code 0xC004F074 means your copy of Windows tried to activate through a Key Management Service (KMS) host but could not reach it — typically because the KMS server is offline, unreachable due to a firewall, or your network configuration is wrong. This error is most common on business or enterprise computers that activate through a company or school network rather than directly with Microsoft. In most cases you can fix it by reconnecting to the correct network, adjusting firewall settings, or switching to a different activation method.
Ad

Tools You'll Need

How to Fix Error Code 0xC004F074

  1. Confirm Your Windows License Type

  2. Connect to Your Organization's Network

    Only connect to your organization's VPN using the official client and credentials provided by your IT department. Do not use third-party VPNs for this step.
  3. Check the KMS Host Address

    Do not enter KMS server addresses found on random websites. Only use the address provided by your IT department or system administrator.
  4. Test Network Connectivity to the KMS Host

  5. Check Windows Firewall and Third-Party Security Software

    Re-enable your antivirus and firewall immediately after testing. Do not leave your machine unprotected.
  6. Restart the Software Protection Service

  7. Switch to Online (MAK or Retail) Activation if Applicable

    Only use a product key you legally purchased or that came with your device. Using keys found online may be illegal and can result in deactivation.
  8. Use the Windows Activation Troubleshooter

  9. Clear the KMS Cache and Re-register

    The /rearm command can only be used a limited number of times (typically 3-5) before it becomes unavailable. Use it only if other steps have failed.
Ad

When to Call a Professional

Contact your IT department or system administrator if: you are on a corporate or educational device and cannot reach the KMS server after connecting to VPN; you do not know your organization's KMS server address; the /rearm command is no longer available and activation keeps failing; your device was purchased from a business and you are unsure whether it uses a volume or retail license. For personal devices, contact Microsoft Support directly at support.microsoft.com if you have a valid retail key that is not being accepted, or if the activation troubleshooter cannot resolve the issue.

Frequently Asked Questions

What does Windows error 0xC004F074 mean?
Error 0xC004F074 means Windows was unable to activate because it could not contact a Key Management Service (KMS) host. This usually happens on corporate or school computers that rely on an internal KMS server for activation, either because the server is offline, the computer is not connected to the organization's network, or a firewall is blocking port 1688.
Can I fix error 0xC004F074 without IT support?
If you have the KMS server address and VPN access, you can often fix it yourself by connecting to your organization's VPN and running 'slmgr.vbs /ato' in an elevated Command Prompt. However, if the KMS server itself is down, a firewall rule needs to be changed on the server side, or you do not know the correct server address, you will need to contact your IT department.
Will Windows stop working if I get error 0xC004F074?
Windows will continue to function for a period of time, but it will eventually enter a reduced functionality state or display persistent 'Activate Windows' watermarks on your desktop. Some personalization features may be disabled. It is important to resolve the activation error as soon as possible to avoid disruption.
Is error 0xC004F074 the same as having a pirated copy of Windows?
Not necessarily. Error 0xC004F074 is a network connectivity issue, not a piracy flag. It simply means your computer cannot reach the KMS server it needs to validate a legitimate volume license. However, if someone installed a volume license copy on a personal machine without proper licensing, this error can also appear in that context. Legitimate users on corporate networks commonly see this error when working remotely without a VPN.
How do I find my organization's KMS server address?
Contact your IT helpdesk or system administrator — they manage the KMS infrastructure and can provide the correct server hostname or IP address. You can also check if an address is already configured on your machine by running 'slmgr.vbs /dlv' in an elevated Command Prompt and looking for the 'KMS machine IP address' line. Some organizations also publish the KMS address via DNS SRV records, which Windows discovers automatically when on the corporate network.