How to create a Key Management Services (KMS) activation host in Windows Server (2024)

  • Article

KMS uses a client-server model to active Windows clients and is used for volume activation on your local network. KMS clients connect to a KMS server, called the KMS host, for activation. The KMS clients that a KMS host can activate are dependent on the host key used to activate the KMS host. This article walks you through the steps you need to create a KMS host. To learn more about KMS and the initial planning considerations, see Key Management Services (KMS) activation planning.

Prerequisites

A single KMS host can support an unlimited number of KMS clients. If you have more than 50 clients, we recommend that you have at least two KMS hosts in case one of your KMS hosts becomes unavailable. Most organizations can operate with as few as two KMS hosts for their entire infrastructure.

KMS hosts do not need to be dedicated servers, and KMS can be co-hosted with other services. You can run a KMS host on any physical or virtual system that is running a supported Windows Server or Windows client operating system.

The version of Windows you use for your KMS host determines the version of Windows you can activate for your KMS clients. Please see the table of activation versions to help you decide which is right for your environment.

By default, KMS hosts automatically publish SRV resource records in DNS. This enables KMS clients to automatically discover the KMS host and activate without the need for any configuration on the KMS client. Automatic publishing can be disabled and the records can be created manually, which is also necessary for automatic activation if the DNS service does not support dynamic updates.

You will need:

Install and configure a KMS host

  1. From an elevated PowerShell session, run the following command to install the Volume Activation Services role:

    Install-WindowsFeature -Name VolumeActivation -IncludeManagementTools
  2. Configure the Windows Firewall to allow the Key Management Service to receive network traffic. You can allow this for any network profiles (default), or for any combination of Domain, Private, and Public network profiles. By default, a KMS host is configured to use TCP on port 1688. In the example below, the firewall rule is configured to allow network traffic for the Domain and Private network profiles only:

    Set-NetFirewallRule -Name SPPSVC-In-TCP -Profile Domain,Private -Enabled True
  3. Launch the Volume Activation Tools wizard by running:

    vmw.exe
  4. Select Next on the introduction screen. Select Key Management Service (KMS) as the activation type and enter localhost to configure the local server or the hostname of the server you want to configure.

  5. Select Install your KMS host key and enter the product key for your organization, then select Commit.

  6. Once the product key has been installed, you need to activate the product. Click Next.

  7. Select the product you want to activate from the dropdown menu, then select whether you want to activate online or by phone. In this example, select Activate online and then Commit.

  8. Once activation is successful, the KMS host configuration will be shown. If this is the configuration you want, you can select Close to exit the wizard. DNS records will be created and you can start activating KMS clients. See the section below if you need to manually create DNS records. If you want to change the configuration settings, select Next.

  9. Optional: Change the configuration values based on your requirements and select Commit.

Note

You can now start activating KMS clients, however a network must have a minimum number of computers (called the activation threshold). KMS hosts count the number of recent connections and so when a client or server contacts the KMS host, the host adds the machine ID to its count and then returns the current count value in its response. The client or server will activate if the count is high enough. Windows clients will activate if the count is 25 or higher. Windows Server and volume editions of Microsoft Office products will activate if the count is five or greater. The KMS only counts unique connections from the past 30 days, and only stores the 50 most recent contacts.

Manually create DNS records

If your DNS service does not support dynamic update, the resource records must be manually created to publish the KMS host. Create DNS resource records for KMS manually with your DNS service using the information below (altering the default port number if you changed this in the KMS host configuration):

PropertyValue
TypeSRV
Service/Name_vlmcs
Protocol_tcp
Priority0
Weight0
Port number1688
HostnameFQDN of the KMS host

You should also disable publishing on all KMS hosts if your DNS service does not support dynamic update to prevent event logs from collecting failed DNS publishing events.

Tip

Manually created resource records can also coexist with resource records that KMS hosts automatically publish in other domains as long as all records are maintained to prevent conflicts.

Disable publishing of DNS records

To disable publishing of DNS records by the KMS host:

  1. Launch the Volume Activation Tools wizard by running:

    vmw.exe
  2. Select Next on the introduction screen. Select Key Management Service (KMS) as the activation type and enter localhost to configure the local server or the hostname of the server you want to configure.

  3. Select Skip to Configuration, then select Next.

  4. Uncheck the box for publish DNS records, then select Commit.

Sure, based on the content you provided, it's clear you're interested in Key Management Services (KMS) for Windows activation. KMS employs a client-server model where KMS clients connect to a designated KMS host for activation. Here are the key concepts touched upon in the article:

  1. KMS Host: This refers to the server responsible for activating KMS clients. It's essential to have at least one KMS host within the infrastructure.

  2. Activation Threshold: There's a minimum number of connections required for activation. For Windows clients, the count needs to be 25 or higher, while Windows Server and volume editions of Microsoft Office products require a count of five or greater.

  3. DNS Records: By default, KMS hosts automatically publish SRV resource records in DNS, enabling KMS clients to discover and activate without additional configurations. However, manual creation of these DNS records may be necessary if dynamic updates are not supported by the DNS service.

  4. Installation and Configuration: The process involves installing Volume Activation Services, configuring the Windows Firewall, installing the KMS host key obtained from the Volume Licensing Service Center, and using PowerShell commands for configuration.

  5. Volume Activation Tools: These are used to initiate the activation process, select the activation type (KMS), input the KMS host details, install the KMS host key, and activate the product.

  6. Disabling DNS Record Publishing: This is an optional step. If necessary, DNS record publishing by the KMS host can be disabled through the Volume Activation Tools wizard.

Understanding these concepts is crucial for setting up and managing KMS for Windows activation efficiently within an organization. If you have specific questions or need more detailed information on any of these aspects, feel free to ask!

How to create a Key Management Services (KMS) activation host in Windows Server (2024)

FAQs

How do I add a host key to my KMS server? ›

In the Manage KMS Host/Product Key Management page, enter in the KMS host key in the text box under Install your KMS host key, and then select the Commit button. If asked to confirm replacement of an existing key, select Yes.

How to activate Windows through KMS server? ›

Activate a Windows Operating System (All Supported Versions)

In the elevated Command Prompt window, verify that the current directory is C:\Windows\System32. If it is not, type CD \Windows\System32 and press Enter. Type the following command: cscript slmgr. vbs /skms kms01.cit.cornell.edu and press Enter.

How to generate KMS key? ›

You can create AWS KMS keys in the AWS Management Console, or by using the CreateKey operation or an AWS CloudFormation template. During this process, you pick the type of the KMS key, its regionality (single-Region or multi-Region), and the origin of the key material (by default, AWS KMS creates the key material).

What is a KMS host key? ›

To use KMS, a KMS host needs a key that activates, or authenticates, the KMS host with Microsoft. This key is sometimes referred to as the KMS host key, but it's formally known as a Microsoft Customer Specific Volume License Key (CSVLK).

How do I host my own KMS server? ›

Install and configure a KMS host

Select Key Management Service (KMS) as the activation type and enter localhost to configure the local server or the hostname of the server you want to configure. Select Install your KMS host key and enter the product key for your organization, then select Commit.

What is KMS activation? ›

KMS (Key Management Service) is one of the methods to activate Microsoft Windows and Microsoft Office. Activation ensures that the software is obtained from and licensed by Microsoft.

How to check if server is using KMS? ›

Use Command-Line Tools, Open a Command Prompt window with administrative privileges. Run the command slmgr /dlv (for Windows) or ospp. vbs /dstatus (for Office). This command will show special licensing facts, which includes the KMS server in case your gadget is activated the usage of KMS.

What is KMS in key management? ›

AWS Key Management Service (KMS) gives you centralized control over the cryptographic keys used to protect your data. The service is integrated with other AWS services making it easier to encrypt data you store in these services and control access to the keys that decrypt it.

How does key management service KMS implement key rotation? ›

AWS KMS automatically rotates AWS managed keys every year (approximately 365 days). You cannot enable or disable key rotation for AWS managed keys. The key material for an AWS managed key is first rotated one year after its creation date, and every year (approximately 365 days from the last rotation) thereafter.

What is KMS client setup keys? ›

Computers that activate with a KMS host need to have a specific product key. This key is sometimes referred to as the KMS client key, but it's formally known as a Microsoft Generic Volume License Key (GVLK).

Top Articles
3-Wheel vs 4-Wheel Mobility Scooters: Ultimate Guide | Plenty Mobility
Macaroon or Macaron? | Miss Macaroon
English Bulldog Puppies For Sale Under 1000 In Florida
Katie Pavlich Bikini Photos
Gamevault Agent
Pieology Nutrition Calculator Mobile
Hocus Pocus Showtimes Near Harkins Theatres Yuma Palms 14
Hendersonville (Tennessee) – Travel guide at Wikivoyage
Compare the Samsung Galaxy S24 - 256GB - Cobalt Violet vs Apple iPhone 16 Pro - 128GB - Desert Titanium | AT&T
Vardis Olive Garden (Georgioupolis, Kreta) ✈️ inkl. Flug buchen
Craigslist Dog Kennels For Sale
Things To Do In Atlanta Tomorrow Night
Non Sequitur
Crossword Nexus Solver
How To Cut Eelgrass Grounded
Pac Man Deviantart
Alexander Funeral Home Gallatin Obituaries
Energy Healing Conference Utah
Geometry Review Quiz 5 Answer Key
Hobby Stores Near Me Now
Icivics The Electoral Process Answer Key
Allybearloves
Bible Gateway passage: Revelation 3 - New Living Translation
Yisd Home Access Center
Pearson Correlation Coefficient
Home
Shadbase Get Out Of Jail
Gina Wilson Angle Addition Postulate
Celina Powell Lil Meech Video: A Controversial Encounter Shakes Social Media - Video Reddit Trend
Walmart Pharmacy Near Me Open
Marquette Gas Prices
A Christmas Horse - Alison Senxation
Ou Football Brainiacs
Access a Shared Resource | Computing for Arts + Sciences
Vera Bradley Factory Outlet Sunbury Products
Pixel Combat Unblocked
Movies - EPIC Theatres
Cvs Sport Physicals
Mercedes W204 Belt Diagram
Mia Malkova Bio, Net Worth, Age & More - Magzica
'Conan Exiles' 3.0 Guide: How To Unlock Spells And Sorcery
Teenbeautyfitness
Where Can I Cash A Huntington National Bank Check
Topos De Bolos Engraçados
Sand Castle Parents Guide
Gregory (Five Nights at Freddy's)
Grand Valley State University Library Hours
Hello – Cornerstone Chapel
Stoughton Commuter Rail Schedule
Nfsd Web Portal
Selly Medaline
Latest Posts
Article information

Author: Patricia Veum II

Last Updated:

Views: 6239

Rating: 4.3 / 5 (64 voted)

Reviews: 87% of readers found this page helpful

Author information

Name: Patricia Veum II

Birthday: 1994-12-16

Address: 2064 Little Summit, Goldieton, MS 97651-0862

Phone: +6873952696715

Job: Principal Officer

Hobby: Rafting, Cabaret, Candle making, Jigsaw puzzles, Inline skating, Magic, Graffiti

Introduction: My name is Patricia Veum II, I am a vast, combative, smiling, famous, inexpensive, zealous, sparkling person who loves writing and wants to share my knowledge and understanding with you.