Volume licensing guides for IT admins
Saturday October 31, 2026
KMS activation journal

Windows activation with Key Management Service

Clear guides on KMS hosts, GVLK keys, slmgr commands and troubleshooting for organizations that use Windows volume licensing.

180days per activation
1688default TCP port
25client threshold
Featured How to Activate Windows in a Virtual Machine
Windows Activation

How to Activate Windows in a Virtual Machine

Learn how licensing and activation work for Windows virtual machines on Hyper-V, VMware and VirtualBox, including vTPM, evaluation images and AVMA.

Introduction

Start here

  • KMS hostone per network is enough
  • GVLKpublic key for KMS clients
  • slmgrbuilt-in licensing tool

KMS Activation for Windows, Explained

Key Management Service, or KMS, is the official Microsoft technology for activating Windows and Office in organizations that buy volume licenses. Instead of typing a separate product key on every computer, a company sets up a single KMS host on its local network. Client machines that use a Generic Volume License Key find the host automatically, activate for 180 days and quietly renew every seven days while they remain connected to the corporate network.

On this blog we break the whole process down into short, practical guides: how to install and configure a KMS host, which slmgr commands to run, how DNS records and port 1688 affect discovery, and how to fix common errors such as 0xC004F074. Whether you manage ten computers or ten thousand, start with our KMS host setup guide and keep every single device in your organization properly licensed and compliant.

Process

How KMS activation works

Four steps happen automatically every time a volume-licensed PC activates.

Discover

The client finds the KMS host through a DNS SRV record or a manually set address.

Request

It sends an activation request over TCP port 1688.

Validate

The host checks that enough clients are counted to meet the threshold.

Renew

Activation lasts 180 days and renews every 7 days in the background.

Journal

From the journal

Fresh tutorials, deep dives and troubleshooting notes.

Facts

KMS by the numbers

180

Days of activation

Each successful activation is valid for 180 days.

7

Day renewal interval

Clients try to renew every seven days.

25

Client OS threshold

Windows clients activate once 25 machines are counted.

5

Server threshold

Windows Server activates once 5 servers are counted.

Terminology

Glossary

KMS host
A computer running the Key Management Service that activates other machines on the network.
KMS client
Any Windows or Office installation configured to activate against a KMS host.
GVLK
Generic Volume License Key, a public key that switches a device into KMS client mode.
CSVLK
The KMS host key purchased with a volume license agreement.
Activation threshold
The minimum number of clients a host must count before it activates them.
MAK
Multiple Activation Key, an alternative for devices that cannot reach a KMS host.
FAQ

Frequently asked questions

Short answers about KMS, volume licensing and activation.

What is KMS activation?

KMS is a Microsoft service that lets organizations activate many Windows and Office installations from a single host on their own network.

Who can use KMS?

Organizations with a Microsoft volume licensing agreement. The host is activated with a CSVLK key provided under that agreement.

How long does KMS activation last?

180 days. Clients automatically try to renew every 7 days while they can reach the host.

Which port does KMS use?

TCP 1688 by default. Make sure it is allowed by your firewall between clients and the host.

What is a GVLK?

A Generic Volume License Key. It is publicly documented by Microsoft and tells Windows to look for a KMS host.

Are third-party KMS activators legal?

No. Tools that emulate a KMS host without a valid license breach Microsoft’s terms and are frequently bundled with malware.

How do I point a client to a KMS host?

Run slmgr /skms host:1688, then slmgr /ato to activate.

Why do I get error 0xC004F074?

The client cannot contact a KMS host. Check DNS records, the host name and port 1688.

Looking for a specific guide?

Search the archive by error code, command or topic.