Common Windows Activation and KMS Errors: Error Codes, Events and Fixes

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

Quick answer

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.

KMS client cannot find or use a KMS host

CodeWhat it usually meansGuide
0x8007232ADNS 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
0x8007232BDNS 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 nameKMS activation errors 0x8007232A and 0x8007232B
0x8007267CNo DNS servers configured for local system (DNS_ERROR_NO_DNS_SERVERS): no DNS server in the network propertiesActivation errors 0x8007267C, 0x8007251D and 0x80092328
0x8007251D, 0x80092328No records found for DNS query / DNS name does not exist: the KMS client can't find the KMS SRV records in DNSActivation errors 0x8007267C, 0x8007251D and 0x80092328
0x800706BAThe RPC server is unavailable: TCP 1688 not allowed on the KMS host, or stale SRV recordsActivation errors 0x8007267C, 0x8007251D and 0x80092328
0xC004F074No 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
0xC004F06CThe 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 0xC004F074KMS 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 failingEvent 8198 KMS contact failure
0xC004F038The count reported by your KMS is insufficient: fewer than 5 computers in the pool for Windows Server, fewer than 25 for Windows clientKMS activation errors 0xC004F038 and 0xC004F042
0xC004F039, 0xC004F041The KMS is not enabled (doesn't respond; check TCP 1688), or the KMS host itself was never activatedKMS activation errors 0xC004F038 and 0xC004F042
0xC004F042The specified KMS cannot be used: the client reached a KMS host that can't activate its productKMS 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 recordsADBA clients not activating

Product key and license store errors

CodeWhat it usually meansGuide
0xC004C003The activation server determined the product key is blocked: get a new MAK (on Azure, use Azure KMS)Activation errors 0xC004C003 and 0xC004C008
0xC004C008The product key could not be used: a KMS host key past 10 activations on six computersActivation errors 0xC004C003 and 0xC004C008
0xC004C001, 0xC004B100, 0xC004C020, 0xC004C021Invalid MAK, a MAK Microsoft doesn't support, or a MAK past its activation or extension limitActivation errors 0xC004C003 and 0xC004C008
0xC004F050The product key is invalid: a typo, a Beta key, the wrong KMS key for the Windows version, or em-dashes pasted in place of hyphensActivation errors 0xC004F050, 0xC004F014, 0xC004F00F and 0xC004F035
0xC004F014, 0xC004F00F, 0xC004F035No 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 BIOSActivation errors 0xC004F050, 0xC004F014, 0xC004F00F and 0xC004F035
0xC004F015Windows 10 Enterprise clients on a Windows Server 2012 R2 or 2008 R2 KMS host with the wrong KMS host keyActivation errors 0xC004F050, 0xC004F014, 0xC004F00F and 0xC004F035
0xC004F009, 0xC004F02C, 0xC004F051Grace period expired; offline (phone) activation data in the wrong format; product key blocked by MicrosoftActivation errors 0xC004F050, 0xC004F014, 0xC004F00F and 0xC004F035
0xC004E015, 0xC004E002SL_E_EUL_CONSUMPTION_FAILED / the license store contains inconsistent data: tokens.dat is corrupted or has the wrong permissionsActivation errors 0xC004E015 and 0xC004E002
0x80070005Access denied: slmgr run from a prompt that isn't elevated, or (event 8229) the SELF account missing its DCOM access permissionsActivation error 0x80070005 access denied
0x8007000DThe data is invalid: permissions for SYSTEM changed on the Enum\Root registry keyActivation error 0x80070005 access denied
0x8004FE21This computer is not running genuine Windows: language packs on an edition not licensed for them, malware or corrupted system files; Microsoft says reinstallWindows is not genuine and 0x8004FE21
0xC004F064, 0xC004F065Windows 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
0xC004F063The 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 TagActivation error 0xC004F063 and OEM key errors
0x80070490The product key didn't work: an invalid MAK, or a known Windows Server 2019 issue; install the key with slmgr -ipk from an elevated promptActivation error 0xC004F063 and OEM key errors

Activation events

Event (Application log)What it usually meansGuide
Security-SPP 12288 (client)Logged with each activation request; the Info line carries the real result from the KMS host, for example 0xC004F06CKMS 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 channelEvent 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 0xc004f042Activation 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 recordKMS host not publishing to DNS
12294 (KMS host)Publishing to DNS workedKMS host not publishing to DNS
Security-SPP 8208, 8200, 900 with hr=0x80072EE7No Internet access for a Genuine Advantage ticket (CEIP or Store caller); Microsoft says this is not a licensing problemSecurity-SPP events 8208, 8200 and 900
Security-SPP 8229 with 0x80070005Access denied on a domain-joined computer because SELF lost its DCOM access permissionsActivation 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 ignoredActivation error 0xC004F063 and OEM key errors

Activation symptoms without an error code

SymptomLikely causeGuide
ADBA activates some machines but not othersslmgr /dlv shows RETAIL channel: installed from retail-channel media such as an MSDN ISO, needs the GVLKADBA clients not activating
The KMS host never registers an SRV recordDisableDnsPublishing 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 hostThe host publishes only in its own domain's zone; use DnsDomainPublishListKMS host not publishing to DNS
Windows is not genuine, black desktop, and slmgr /dlv returns 0x80070005 even from an elevated promptNETWORK 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 missingWindows is not genuine and 0x8004FE21
Windows Setup: the product key entered does not match any of the Windows images available for installationThe key from an answer file, EI.cfg, PID.txt or the OA 3.0 firmware doesn't match the mediaActivation 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 databaseVAMT database is not valid
VAMT: computers without internet access, or not sure a MAK has enough activations leftUse proxy activation (only the VAMT host needs internet); Refresh product key data online shows the remaining MAK countVAMT proxy activation and MAK count

slmgr commands the guides use

Run 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.

Related tools and guides

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.

FAQ

Why does slmgr only show 0xC004F074?

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.

Which activation errors are DNS problems?

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.

What does 0xC004F038 mean?

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.

Are Security-SPP events 8208, 8200 and 900 a licensing problem?

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.

Which errors mean the product key itself is the problem?

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.

Want the full kit?

Runbooks, checklists and helpdesk templates: IT Admin Packs on Gumroad.