
Error code 0xC004F074 reads: “The Software Protection Service reported that the computer could not be activated. No Key Management Service (KMS) could be contacted.” In plain terms, this copy of Windows is set up to activate against a company activation server, called a KMS host, and it couldn’t reach one.
That points to two very different situations. Either the PC belongs to an organization with a KMS host and something between them is broken (VPN, DNS, firewall, clock), or the PC has a volume license key it shouldn’t have, because it was reimaged with company media, bought used, or kept after someone left a job. Microsoft also lists this code when an Enterprise key was entered on Windows 11 Home or Pro.
So before running any fix, answer one question: is there supposed to be a KMS host for this PC? Two commands below tell you.
Try these first
- On a work laptop, connect to the office network or company VPN, then retry activation.
- Run
slmgr.vbs /dlvand read the Description line to see what kind of key is installed. - Check the PC clock, date and time zone; a large time gap with the KMS host breaks activation.
- If the PC isn’t part of any organization, install its own key under Settings > System > Activation > Change product key.
- On a company PC, ask your IT admin before changing keys; the fix may be on the server or in Microsoft 365.
Rather not fix it yourself?
A GoProIT technician can connect remotely, with your permission, and fix it while you watch. $59 flat per fix · Mon–Fri 8am–8pm ET.
First, find out what kind of license the PC has
Open Terminal (Admin) and run slmgr.vbs /dlv. A Windows Script Host box opens with the license details. Look at the Description line, which typically names the channel, and at License Status. Then run slmgr.vbs /xpr to see when the current activation expires; Microsoft notes that this date matters mainly for KMS clients, because retail and MAK activations don’t expire.
| What you find | What it means | What to do |
|---|---|---|
| VOLUME_KMSCLIENT channel, company PC, works in the office but not at home | Remote PC can’t reach the KMS host | Connect to the office network or VPN and run slmgr.vbs /ato |
| VOLUME_KMSCLIENT, company PC, fails everywhere | KMS host, DNS record, firewall or clock problem | The KMS checks below, or your IT admin |
| VOLUME_KMSCLIENT on a PC no organization manages | Wrong key for this PC: reimaged with volume media, bought used, or left over from a former employer | Install the PC’s own retail or firmware key |
| Enterprise edition, and your company uses Microsoft 365 licensing instead of a KMS host | Subscription activation didn’t apply, so Windows fell back to a KMS client key | Check the user’s license and the device join state |
| Retail or OEM channel | 0xC004F074 is unexpected here | Check the exact code again; it may be a different activation error |
Microsoft’s activation troubleshooter, under Settings > System > Activation > Troubleshoot, is worth one try on a PC you own, but it can’t reach a KMS host that isn’t there.
On a company network: check the KMS path
Microsoft says 0xC004F074 appears when every KMS host the PC tried returned an error. Its first step is to open Event Viewer > Windows Logs > Application and find the events with Event ID 12288 for the activation attempt. They show which host the PC contacted and the result, which saves guessing.
Can the PC find the host?
KMS clients find their host through a DNS record. Run nslookup -type=all _vlmcs._tcp. A healthy answer lists an SRV record with port = 1688 and the host name. No record means the PC is looking in the wrong DNS domain or the host never published itself.
Point the PC at the host directly
- In an administrator Terminal, run
slmgr.vbs /skms kms01.yourdomain.local:1688, using your real KMS host name. - Run
slmgr.vbs /atoto activate now. - If that works, the problem was DNS discovery. Fix the record, then run
slmgr.vbs /ckmsto return the PC to automatic discovery. - If it fails by name but works with the host’s IP address, it’s a name resolution problem on that PC or network.
Still failing
- Port 1688: activation uses TCP port 1688, and Microsoft says firewalls on both the client and the host must allow it.
- Clock: if the PC’s time is far from the host’s, activation fails (Microsoft gives that its own code, 0xC004F06C). Sync the clock under Settings > Time & language > Date & time.
- The host itself: a KMS host only activates Windows clients once its count reaches 25, and the host must be activated. Those show up as different codes (0xC004F038 and 0xC004F041) once the client can reach it.
For domain PCs that also show sign-in or trust errors, fix the network and domain problem first; our trust relationship guide covers that side.
A PC that isn’t part of any organization
This is the case we see most in small offices: a refurbished PC, a laptop bought from a former employer, or a machine someone reinstalled with “Enterprise” or volume media from an old job. The PC has a generic KMS client key, there’s no KMS host anywhere, and it will never activate that way. The fix is to give Windows a key it’s actually licensed for.
If the PC shipped with Windows
Most PCs sold with Windows 8 or later have a product key stored in the firmware. Microsoft documents this command for installing it from an administrator PowerShell window:
$(Get-WmiObject SoftwareLicensingService).OA3xOriginalProductKey | foreach{ if ( $null -ne $_ ) { Write-Host "Installing"$_;changepk.exe /Productkey $_ } else { Write-Host "No key present" } }
It prints “No key present” if there’s no firmware key. Most business PCs carry a Pro key, and Microsoft lists Enterprise to Pro as a supported downgrade that keeps apps and settings; Windows then activates against Microsoft directly, and Enterprise-only features go away. If the firmware key is for Home, that path isn’t supported, and the clean fix is a fresh install of Home or a Pro key. Back up first either way.
If you have a retail key or need to buy one
Go to Settings > System > Activation and select Change product key, then enter the 25-character key. With no key, the same page offers Go to Microsoft Store. The key has to match the edition: a Pro key won’t activate Enterprise without changing edition.
Never use an “activator”
Scripts and tools that fake a KMS host or patch activation files break the license terms, and they’re a well-known way to get malware onto a PC. On a business machine that also means unlicensed software on your books. Buying a proper key is cheaper than cleaning up after one.
Companies licensed through Microsoft 365
Many small businesses never run a KMS host. Instead, a Windows Enterprise E3 or E5 license, or a Microsoft 365 plan that includes it, steps an activated Windows Pro PC up to Enterprise when a licensed user signs in. Microsoft calls this subscription activation. It doesn’t use KMS or MAK keys at all, so a KMS error on one of these PCs means the step-up isn’t happening.
- License: in the Microsoft 365 admin center, confirm the user who signs in has a license that includes Windows Enterprise. When a subscription expires or moves to another user, Microsoft says the device reverts to Windows Pro.
- Join state: the PC must be Microsoft Entra joined or hybrid joined. Microsoft Entra registered and workgroup PCs aren’t supported. Check under Settings > Accounts > Access work or school.
- Underlying Pro activation: subscription activation still needs Windows Pro itself activated, usually from the firmware key. If someone installed Enterprise with a KMS client key, use the firmware key command above so the Pro license underneath activates.
- Offline laptops: devices renew roughly every 30 days. On Windows 11 23H2 with recent updates, Microsoft shows a prompt asking the user to sign in to their work or school account to verify their information; have them do it.
- Conditional Access: on older builds, Microsoft recommends excluding the Universal Store Service APIs and Web Application from Conditional Access policies so reactivation isn’t blocked.
If licensing in your tenant has grown messy, this is the kind of cleanup we do in Microsoft 365 management.
Rather have a technician sort it out?
With your approval, a technician can connect, check which license and key the PC is using, and get it activated the right way for your setup while you watch. A GoProIT technician can connect remotely, with your permission, and fix it while you watch. $59 per fix, Mon–Fri 8am–8pm ET.
Choosing the right activation method for a small office
| Your setup | Sensible activation | Why |
|---|---|---|
| A few PCs bought with Windows Pro, no server | The PC’s own OEM license, activated online | Nothing to maintain; it stays activated |
| Microsoft 365 plan that includes Windows Enterprise, PCs joined to Entra | Subscription activation on top of Pro | License follows the user; no keys to manage |
| Volume licensing, fewer than 25 Windows PCs | Usually a MAK rather than KMS | A KMS host won’t activate clients until its count reaches 25 |
| Larger network with an on-premises domain | KMS or Active Directory-based activation | Clients activate automatically on the network |
Microsoft’s own guidance for anyone who can’t install or use a KMS host is to change the product key to a MAK. A MAK activates once against Microsoft and doesn’t need renewing, which suits laptops that rarely see the office.
Volume keys belong to the organization that bought them. When a PC leaves the company, through sale, donation or an employee keeping it, reinstall it with a license that goes with the hardware. That one step prevents most of the 0xC004F074 cases we’re asked about.
When to stop and get help
Activation problems rarely damage anything, so there’s no need to rush into drastic steps. Leave the reinstall and registry ideas alone. Get help when:
- You can’t tell whether the PC is supposed to be on KMS, MAK or subscription activation, or who owns the license.
- The fix is on the KMS host or DNS server: a missing SRV record, a host that isn’t activated, or a count below the threshold.
- The motherboard was replaced. Microsoft says a PC that came with Windows may need a new license after that, and the activation troubleshooter has a path for reactivating after a hardware change.
- Several PCs flipped to unactivated at once, which points at licensing in your tenant or the server, not the PCs.
A PC with the wrong key is usually a straightforward remote job, and if you’d like someone to check every machine’s licensing as part of routine care, that’s included in our Business Support Plan. For a one-off, remote support covers it.
Common questions
What does 0xC004F074 mean?
It means Windows is using a volume license key that activates against a company Key Management Service host, and it couldn’t reach one. Either the host, DNS record, firewall or connection is the problem, or the PC simply shouldn’t have a KMS client key because it isn’t part of an organization that runs KMS.
Why does my work laptop show this error at home?
KMS activation only works on the company network or over the company VPN. A work laptop activated by KMS needs to reach the host every so often to renew. Connect to the VPN or bring it into the office, then run slmgr.vbs /ato from an administrator prompt, or simply wait for the next automatic attempt.
Can I still use Windows if it isn’t activated?
For now, yes. The PC keeps running, your files and apps keep working, and the Activation page in Settings keeps reporting the problem. On a business PC the real issue is licensing: an unactivated or wrongly keyed PC isn’t properly licensed, so fix it soon rather than living with the warning.
I bought a used business laptop and it shows 0xC004F074. What now?
It almost certainly still has the previous owner’s volume setup. Check for a firmware key with the command Microsoft documents, which switches Windows to the edition the PC shipped with. If there’s no key, buy a Windows license from Settings, System, Activation. Don’t try to use the old company’s activation.
Do KMS activations expire?
Yes. A KMS activation is time-limited, and the client tries to renew with the host on a regular interval, every seven days by default. If a PC stays away from the network too long, it falls out of activation until it can reach the host again. Run slmgr.vbs /xpr to see the current expiry date.
Is it safe to run KMS activator tools I found online?
No. They break Microsoft’s license terms and are a common way malware gets onto PCs, sometimes with full administrator rights. On a business PC you’d also be running unlicensed software. Use the PC’s own firmware key, buy a license, or fix the company KMS or Microsoft 365 setup instead.