This is a Windows activation failure that means no Key Management Service could be contacted. The right fix depends on whether the PC uses a volume license or a retail key, so jump to your situation below or work through the methods in order.
By Neeraj Singh ~7 min Updated Jun 2026 96% found this helpful
Error message
Error 0xC004F074: The Software Licensing Service reported that the product could not be activated. No Key Management Service (KMS) could be contacted.
Summary
Error 0xC004F074 is a Windows activation failure. It means the Software Licensing Service could not activate the product because no Key Management Service (KMS) could be contacted. It shows up most on volume licensed PCs that activate through a KMS host, and on home or retail PCs that have the wrong product key installed. The fastest path is to sync your date, time and time zone, run the Activation troubleshooter, then reinstall the key with slmgr /ipk and run slmgr /ato. If the PC is not on a volume license network, install a retail or MAK key instead.
What this error means
Error 0xC004F074 is an activation error, not a hardware fault. The full message reads, the Software Licensing Service reported that the product could not be activated, no Key Management Service (KMS) could be contacted. KMS is the service organizations use to activate Windows and Office in volume, so this code means your PC asked a KMS host to activate and did not get a valid reply.
It appears on volume licensed Windows and Windows Server editions, on Office volume installs, and sometimes on retail or home PCs where a KMS client key was installed by mistake. Because it is a licensing problem, it is fixable without reinstalling Windows once the key and the connection are correct.
Common causes
The PC cannot reach a KMS host because of a network, DNS or firewall problem.
The date, time or time zone is wrong, so the KMS request is rejected.
A KMS client setup key is installed but there is no KMS host to activate against.
The product key does not match the installed Windows edition.
The device is managed by an organization and needs the corporate network or VPN.
Port 1688 to the KMS host is blocked by a firewall.
Corrupt licensing data or system files.
NS
Expert insight
“0xC004F074 is almost always a key or connection problem, not a broken PC. On a work device it usually means the machine cannot reach the KMS host, so I check the clock first, then DNS and port 1688. On a home PC it usually means a KMS client key was installed by mistake, so I reinstall a retail or MAK key with slmgr and run slmgr /ato. The troubleshooter and a couple of slmgr commands clear most cases.”
3If it still fails, make sure DNS resolves the _vlmcs._tcp record and that TCP port 1688 to the KMS host is open.
Method 5Use the correct key type, retail or MAK
1If the PC is not part of a KMS network, a KMS client setup key cannot activate. Install a retail or MAK key instead with slmgr /ipk as in Method 3.
2If the device is domain joined or on a VPN, connect to the corporate network or disconnect the VPN, then retry.
3Confirm the key matches your edition. A Pro key will not activate a Home or Enterprise install.
Method 6Restart the Software Protection service
1Press Win + R, type services.msc and press Enter.
2Find Software Protection, right-click it and choose Restart, or Start if it is stopped.
3Close the window, reboot and try activation again.
Method 7Repair system files with SFC and DISM
1
Corrupt licensing or system files can block activation. In an elevated Command Prompt run:
sfc /scannow
2
Then repair the component store:
DISM /Online /Cleanup-Image /RestoreHealth
3Restart and activate again.
Method 8Fix Office activation 0xC004F074
1If the error is from Office, close all Office apps and open an elevated Command Prompt.
2
Go to your Office folder (the path depends on the version):
cd "C:\Program Files\Microsoft Office\Office16"
3
Check the status, then activate:
cscript ospp.vbs /dstatus
cscript ospp.vbs /act
Managed by an organization? If Activation settings say your device is managed by your organization, the product key and KMS host are controlled by your IT team. Reinstalling a key yourself will not help. Connect to the corporate network or contact your administrator to activate.
Frequently asked questions
What does error 0xC004F074 mean?
It is a Windows activation failure. The Software Licensing Service could not activate the product because no Key Management Service (KMS) could be contacted. It is most common on volume licensed PCs.
How do I fix error 0xC004F074 quickly?
Sync your date and time, run the Activation troubleshooter, then reinstall the key in an elevated Command Prompt with slmgr /ipk and run slmgr /ato.
What is KMS and why does 0xC004F074 mention it?
KMS (Key Management Service) is how organizations activate Windows and Office in volume. The error means your PC could not reach a KMS host to complete activation.
Why do I get 0xC004F074 on a home PC?
Usually a KMS client setup key was installed by mistake, and there is no KMS host to activate against. Install a retail or MAK key instead with slmgr /ipk.
Can the wrong date and time cause 0xC004F074?
Yes. KMS rejects requests when the clock is too far off. Turn on Set time automatically and Set time zone automatically, then sync the clock.
Will fixing this delete my files?
No. Activation changes only the licensing state. slmgr, the troubleshooter and a service restart do not touch your personal files.
Still not working?
If none of the methods above resolve it, the activation servers may be temporarily busy or your license may need to be re-issued. Wait a short while and retry, confirm your key matches your edition, or contact your administrator if the device is managed. You can also submit your error to us for a tailored fix.