Every Windows activation and KMS error in one place: 0x8007232A, 0x8007232B, 0x8007267C, 0xC004F074, 0xC004F06C, 0xC004F038, 0xC004F042, 0xC004C003, 0xC004C008, 0xC004F050, 0xC004E015, 0x80070005 and Security-SPP events 8198, 12293 and 8208.
Home › Guides › Common Windows activation and KMS errors
Last updated 22 November 2026
Find the error code, the event ID or the symptom in the tables below and open the guide for it. slmgr.vbs /ato often shows only a generic code such as 0xC004F074; the real result is usually in the Application log of the client (Security-SPP events 12288 and 8198) or of the KMS host (events 12290, 12293 and 12294). Codes that start with 0x8007 and the KMS host codes in the first table mean the client could not find or reach a usable KMS host, which is mostly DNS, port 1688, time or the KMS host itself. Codes that start with 0xC004C or 0xC004B come from Microsoft's activation server and are about the product key; 0xC004F0xx and 0xC004E0xx codes in the second table are about the key or the local license store. Each guide has the exact message, the cause Microsoft gives and Microsoft's fix.
| Code | What it usually means | Guide |
|---|---|---|
| 0x8007232A | DNS server failure: the client couldn't reach a DNS server at all (server down, port 53 blocked, wrong or empty DNS server list) | KMS activation errors 0x8007232A and 0x8007232B |
| 0x8007232B | DNS name does not exist: DNS answered, but there are no _vlmcs SRV records for a KMS host, or the client points at a wrong KMS host name | KMS activation errors 0x8007232A and 0x8007232B |
| 0x8007267C | No DNS servers configured for local system (DNS_ERROR_NO_DNS_SERVERS): no DNS server in the network properties | Activation errors 0x8007267C, 0x8007251D and 0x80092328 |
| 0x8007251D, 0x80092328 | No records found for DNS query / DNS name does not exist: the KMS client can't find the KMS SRV records in DNS | Activation errors 0x8007267C, 0x8007251D and 0x80092328 |
| 0x800706BA | The RPC server is unavailable: TCP 1688 not allowed on the KMS host, or stale SRV records | Activation errors 0x8007267C, 0x8007251D and 0x80092328 |
| 0xC004F074 | No Key Management Service (KMS) could be contacted: every KMS host the client tried returned an error (sppsvc stopped on the host, TCP 1688 blocked, an old _VLMCS or A record, clocks more than 4 hours apart, a KMS host too old for the client) | KMS activation error 0xC004F074 |
| 0xC004F06C | The request timestamp is invalid: the client clock is too far from the KMS host (Windows Time stopped, NtpClient off, or a domain member not on NT5DS); slmgr usually shows 0xC004F074 | KMS activation error 0xC004F06C |
| 0xC0020017, 0x8007139F (event 8198) | The client couldn't contact the KMS: wrong KMS host name, forced tunneling, a stuck sppsvc, port 1688 blocked or DNS failing | Event 8198 KMS contact failure |
| 0xC004F038 | The count reported by your KMS is insufficient: fewer than 5 computers in the pool for Windows Server, fewer than 25 for Windows client | KMS activation errors 0xC004F038 and 0xC004F042 |
| 0xC004F039, 0xC004F041 | The KMS is not enabled (doesn't respond; check TCP 1688), or the KMS host itself was never activated | KMS activation errors 0xC004F038 and 0xC004F042 |
| 0xC004F042 | The specified KMS cannot be used: the client reached a KMS host that can't activate its product | KMS activation errors 0xC004F038 and 0xC004F042 |
| 0x8007007B (event 8198) | On ADBA clients that don't activate: check slmgr /dlv for RETAIL channel; Microsoft's error list ties 0x8007007B to missing KMS SRV records | ADBA clients not activating |
| Code | What it usually means | Guide |
|---|---|---|
| 0xC004C003 | The activation server determined the product key is blocked: get a new MAK (on Azure, use Azure KMS) | Activation errors 0xC004C003 and 0xC004C008 |
| 0xC004C008 | The product key could not be used: a KMS host key past 10 activations on six computers | Activation errors 0xC004C003 and 0xC004C008 |
| 0xC004C001, 0xC004B100, 0xC004C020, 0xC004C021 | Invalid MAK, a MAK Microsoft doesn't support, or a MAK past its activation or extension limit | Activation errors 0xC004C003 and 0xC004C008 |
| 0xC004F050 | The product key is invalid: a typo, a Beta key, the wrong KMS key for the Windows version, or em-dashes pasted in place of hyphens | Activation errors 0xC004F050, 0xC004F014, 0xC004F00F and 0xC004F035 |
| 0xC004F014, 0xC004F00F, 0xC004F035 | No product key installed; hardware ID binding beyond tolerance after hardware or driver changes; a Windows 7 volume key without a qualifying OEM marker in the BIOS | Activation errors 0xC004F050, 0xC004F014, 0xC004F00F and 0xC004F035 |
| 0xC004F015 | Windows 10 Enterprise clients on a Windows Server 2012 R2 or 2008 R2 KMS host with the wrong KMS host key | Activation errors 0xC004F050, 0xC004F014, 0xC004F00F and 0xC004F035 |
| 0xC004F009, 0xC004F02C, 0xC004F051 | Grace period expired; offline (phone) activation data in the wrong format; product key blocked by Microsoft | Activation errors 0xC004F050, 0xC004F014, 0xC004F00F and 0xC004F035 |
| 0xC004E015, 0xC004E002 | SL_E_EUL_CONSUMPTION_FAILED / the license store contains inconsistent data: tokens.dat is corrupted or has the wrong permissions | Activation errors 0xC004E015 and 0xC004E002 |
| 0x80070005 | Access denied: slmgr run from a prompt that isn't elevated, or (event 8229) the SELF account missing its DCOM access permissions | Activation error 0x80070005 access denied |
| 0x8007000D | The data is invalid: permissions for SYSTEM changed on the Enum\Root registry key | Activation error 0x80070005 access denied |
| 0x8004FE21 | This computer is not running genuine Windows: language packs on an edition not licensed for them, malware or corrupted system files; Microsoft says reinstall | Windows is not genuine and 0x8004FE21 |
| 0xC004F064, 0xC004F065 | Windows Activation Tools decided the system isn't genuine: the non-genuine grace period expired, or it is still running within it (install a genuine key in time) | Windows is not genuine and 0x8004FE21 |
| 0xC004F063 | The computer BIOS is missing a required license: an OEM_SLP copy can't read the SLIC table, often after a motherboard replacement without an updated Service Tag | Activation error 0xC004F063 and OEM key errors |
| 0x80070490 | The product key didn't work: an invalid MAK, or a known Windows Server 2019 issue; install the key with slmgr -ipk from an elevated prompt | Activation error 0xC004F063 and OEM key errors |
| Event (Application log) | What it usually means | Guide |
|---|---|---|
| Security-SPP 12288 (client) | Logged with each activation request; the Info line carries the real result from the KMS host, for example 0xC004F06C | KMS activation error 0xC004F074 |
| Security-SPP 8198 (client) | Activation failed; with 0xC0020017 or 0x8007139F the KMS couldn't be contacted, with 0x8007007B on ADBA clients check the channel | Event 8198 KMS contact failure |
| 12290 (KMS host) | The host side of a request; shows 0xC004F06C when the clocks are too far apart, and 0xC004F015 cases are logged here with 0xc004f042 | Activation errors 0xC004F050, 0xC004F014, 0xC004F00F and 0xC004F035 |
| Security-SPP 12293 (KMS host) | Publishing the KMS to DNS failed; with Info 0x80072338 the host has no permission on the existing _VLMCS SRV record | KMS host not publishing to DNS |
| 12294 (KMS host) | Publishing to DNS worked | KMS host not publishing to DNS |
| Security-SPP 8208, 8200, 900 with hr=0x80072EE7 | No Internet access for a Genuine Advantage ticket (CEIP or Store caller); Microsoft says this is not a licensing problem | Security-SPP events 8208, 8200 and 900 |
| Security-SPP 8229 with 0x80070005 | Access denied on a domain-joined computer because SELF lost its DCOM access permissions | Activation error 0x80070005 access denied |
| Security-SPP 1058 (OEM system, after a restart) | Test activation data left by the OEM manufacturing process on systems that use OEM Activation; Microsoft says it can be safely ignored | Activation error 0xC004F063 and OEM key errors |
| Symptom | Likely cause | Guide |
|---|---|---|
| ADBA activates some machines but not others | slmgr /dlv shows RETAIL channel: installed from retail-channel media such as an MSDN ISO, needs the GVLK | ADBA clients not activating |
| The KMS host never registers an SRV record | DisableDnsPublishing is 1, or the DNS server doesn't accept dynamic updates (create the record by hand) | KMS host not publishing to DNS |
| The record exists, but clients in another DNS domain don't find the KMS host | The host publishes only in its own domain's zone; use DnsDomainPublishList | KMS host not publishing to DNS |
| Windows is not genuine, black desktop, and slmgr /dlv returns 0x80070005 even from an elevated prompt | NETWORK SERVICE lost its permissions (a Plug and Play GPO, the S-1-5-20 key), or the S-1-5-18/19/20 ProfileList keys are missing | Windows is not genuine and 0x8004FE21 |
| Windows Setup: the product key entered does not match any of the Windows images available for installation | The key from an answer file, EI.cfg, PID.txt or the OA 3.0 firmware doesn't match the media | Activation error 0xC004F063 and OEM key errors |
| VAMT: the specified database is not a valid VAMT database (creating the database) | The signed-in account doesn't have permissions to create the SQL database | VAMT database is not valid |
| VAMT: computers without internet access, or not sure a MAK has enough activations left | Use proxy activation (only the VAMT host needs internet); Refresh product key data online shows the remaining MAK count | VAMT proxy activation and MAK count |
slmgr.vbs /dlv: license details: the installed key and, in the Description line, the channel (VOLUME_KMSCLIENT or RETAIL)slmgr.vbs /dli on the KMS host: the current countslmgr.vbs /skms <KMSHost_fqdn>:1688 and slmgr.vbs /ckms: set or clear a fixed KMS host on the clientslmgr.vbs /ipk: install a product key (MAK, or the KMS client setup key)slmgr.vbs /ato: activate nowslmgr /rilc: reinstall the license files after a tokens.dat rebuildRun them from an elevated Command Prompt; otherwise activation fails with 0x80070005. DNS problems that are not about activation are on the common Windows DNS Server and DHCP Server errors page.
Look up Security-SPP events such as 8198, 12288 and 12293 in the Windows Event ID Lookup, copy the slmgr, DNS and DnsClient lines from the PowerShell Cheat Sheet, check the _vlmcs._tcp SRV records with DNS Lookup, pull error codes out of exported Application logs with the Regex Tester, and check client and KMS host subnets with the IPv4 Subnet Calculator or IPv6 Subnet Calculator. Related guides: KMS activation error 0xC004F074, KMS activation errors 0x8007232A and 0x8007232B, Kerberos clock skew and common Windows DNS Server and DHCP Server errors.
0xC004F074 means every KMS host the client tried returned an error. The real code from each host is in Security-SPP event 12288 in the client's Application log, for example 0xC004F06C when the clocks are more than 4 hours apart.
0x8007232A (no DNS server answered), 0x8007232B, 0x8007251D and 0x80092328 (no _vlmcs SRV records found) and 0x8007267C (no DNS server configured). On the KMS host side, event 12293 means publishing the SRV record failed.
The KMS host doesn't count enough computers yet: at least 5 for Windows Server and 25 for Windows client. Check the count with slmgr.vbs /dli on the KMS host.
No. With hr=0x80072EE7 Microsoft says they mean a component couldn't get a Genuine Advantage ticket because the computer has no Internet access, not that Windows isn't genuine.
Codes from the activation server (0xC004C003 blocked, 0xC004C008 over its limit, 0xC004C001, 0xC004C020, 0xC004C021, 0xC004B100) and local key errors such as 0xC004F050 (invalid), 0xC004F014 (no key installed) and 0xC004F035.
Runbooks, checklists and helpdesk templates: IT Admin Packs on Gumroad.