What is kms in windows

Last updated: April 1, 2026

Quick Answer: KMS in Windows is Microsoft's Key Management Service, a licensing activation system that activates Windows and Microsoft Office products across enterprise networks without requiring individual product keys on each computer.

Key Facts

KMS in Windows Explained

KMS in Windows stands for Key Management Service, a Microsoft licensing solution designed specifically for enterprise environments. Rather than requiring each computer to maintain an individual product key for activation, KMS allows organizations to deploy a central server that manages activation for hundreds or thousands of computers. This approach streamlines license management, reduces administrative overhead, and provides a more cost-effective licensing model for large organizations.

How Windows KMS Activation Works

When a Windows computer connects to a KMS server, it sends an activation request containing hardware and product information. The KMS server validates this request and grants a 180-day activation license. Before the license expires, the client must reconnect to the KMS server to renew activation. This periodic connection requirement ensures organizations can track active devices and maintain license compliance. If a client fails to renew within the 180-day window, it reverts to a reduced-functionality state.

KMS Server Requirements

For KMS activation to function, a KMS server must receive activation requests from a minimum number of clients. Windows activation requires at least 25 computers to connect to the KMS server. Microsoft Office products require only 5 connected clients. Once an organization meets these minimum thresholds, the KMS server immediately begins activating all qualifying clients. Smaller organizations that cannot meet these minimums must use individual product keys instead.

Eligible Products and Licensing

KMS activation applies to multiple Microsoft products including Windows Vista and newer, Windows Server 2008 and newer, Microsoft Office 2010 and newer, Exchange Server, and Sharepoint. Organizations must possess appropriate volume licenses to deploy KMS servers legally. Retail and OEM editions of Windows and Office cannot be activated through KMS. Volume license editions specifically include KMS activation capabilities.

Enterprise Advantages

For large organizations, KMS provides substantial benefits including simplified deployment across many computers, centralized license management and tracking, reduced activation traffic to Microsoft servers, cost savings compared to individual licensing, and the ability to manage license renewal schedules. IT administrators can monitor activation status, identify unlicensed systems, and generate compliance reports. KMS also supports organizations with unstable internet connections since clients only need periodic connectivity to renew licenses.

Related Questions

How does KMS activation differ from retail product key activation?

KMS allows centralized network activation for multiple computers using a KMS server, while retail keys require manual entry on each computer. KMS is volume-based and enterprise-focused, whereas retail keys are individual and sold per-computer.

What is the difference between KMS and MAK (Multiple Activation Key) licensing?

KMS uses a local server to activate multiple machines with 180-day temporary licenses requiring periodic renewal, while MAK provides permanent individual product keys for machines, each supporting a specific number of activations (typically 5 or 25 depending on the product). KMS is suited for large enterprises with more than 25-180 machines, while MAK works better for smaller organizations or machines with limited network access. KMS requires infrastructure maintenance and ongoing connectivity to KMS hosts, whereas MAK is simpler but less scalable for large deployments.

What happens if a computer misses KMS renewal?

If a Windows computer fails to renew its KMS activation within 180 days, it loses activation status and enters reduced-functionality mode. Users receive notifications to reconnect to the KMS server.

How many client machines must be connected to a KMS host before it activates?

A Windows KMS host requires a minimum of 25 unique connected clients (machines that have attempted activation) before it enters a licensed state and begins issuing valid licenses. Office 2019 requires 180 clients, Project 2019 requires 5 clients, and Office 365 requires only 5 clients. These thresholds are calculated as the total number of unique machines that have contacted the KMS host, resetting periodically, so the host must maintain regular activation requests from clients exceeding these numbers.

Can small offices use KMS activation?

No, KMS requires minimum 25 Windows clients or 5 Office clients. Smaller offices should use individual product keys or consider Microsoft's cloud-based activation solutions designed for smaller deployments.

What happens if a KMS client cannot reach the KMS host for 180 days?

After 180 days without contacting a KMS host, a client machine's license expires and Windows reverts to reduced-functionality mode, where it may display watermarks, prevent some configuration changes, and periodically remind the user to activate. However, the machine continues to operate for approximately 30 additional days in this state before becoming increasingly restricted. If the machine reconnects to a KMS host within that window, it reacquires an active license for another 180 days, allowing recovery from temporary network outages.

Can an organization with 50 machines use KMS licensing?

An organization with only Windows machines and 50 computers can use KMS licensing because the Windows threshold is 25 clients, giving them 25 activated machines. However, if they also have Office 2019, they cannot activate Office users with KMS because Office requires 180 connected clients. They would need to use MAK licensing for Office or upgrade to Office 365 subscription licensing (which requires only 5 clients), combining licensing models within the organization.

How does a KMS client automatically find the KMS host on the network?

KMS clients locate the KMS host using Service Principal Name (SPN) queries through DNS and Active Directory. The KMS host automatically registers its SPN in Active Directory when properly configured, and clients query for the registered KMS service. If DNS or Active Directory is unavailable, administrators can manually specify a KMS host using the command "slmgr -skms [hostname]" on each client. This automatic discovery mechanism simplifies large-scale deployments because administrators don't need to manually configure each of thousands of machines.

Sources

  1. Microsoft - KMS Activation OverviewCC-BY-SA-4.0
  2. Microsoft - Volume ActivationCC-BY-SA-4.0