Skip to content
Tech Master Tech Master

OneStopTechnical Forum

  • Books
  • AI
  • Networking
  • Windows
  • Linux
  • Cloud
  • Mac
  • Active Directory
  • Azure
  • Cloud
  • Exchange
  • M365
  • Server 2025
  • Storage
  • Vsphere
  • Website
  • Database
  • Security
  • Knowledge Base
  • VPN
Tech Master
Tech Master

OneStopTechnical Forum

Step-by-step guide to install and configure a Windows KMS (Key Management Service) server

blog.payperitem.com, April 13, 2025

✅ 1. System Requirements

  • A Windows Server (2012 R2 or newer recommended)
  • Administrator access
  • A KMS Host Key (GVLK) from Microsoft (usually part of a Volume Licensing agreement)

🛠️ 2. Install the KMS Host Key

a) Install Volume Activation Tools (if not already installed)

  1. Open Server Manager
  2. Go to Manage → Add Roles and Features
  3. Click Next through to Features
  4. Check Volume Activation Services
  5. Complete the wizard and install

b) Run Volume Activation Tools

  1. After installation, go to Server Manager → Tools → Volume Activation Tools
  2. Choose:
    • Key Management Service (KMS)
    • The local computer
  3. Enter your KMS Host Key (from VLSC)
  4. Activate it online (or by phone if needed)

🔧 3. Configure the KMS Host

Once the key is validated:

  • The server will create a SRV DNS record (_vlmcs._tcp) automatically (if DNS is configured correctly)
  • KMS clients will find it via DNS

To verify:

powers

nslookup -type=SRV _vlmcs._tcp

You should see your KMS server listed.


🔥 4. Allow KMS Port Through Firewall

KMS uses TCP port 1688. Run:

powershell

netsh advfirewall firewall add rule name="KMS TCP 1688" protocol=TCP dir=in localport=1688 action=allow

💻 5. Activate Clients Using KMS

On client machines:

  1. Use a GVLK (Generic Volume License Key) from Microsoft
    • List of GVLKs
  2. Set KMS server and activate:
cmd

slmgr /ipk <GVLK>
slmgr /skms <KMS_server_name_or_IP>
slmgr /ato

🔄 6. Verify KMS Server Status

On the KMS host:

cmd

lmgr /dlv

You’ll see:

  • KMS version
  • Activation count
  • Threshold (25 for clients, 5 for servers)
  • Whether clients are connecting

📈 7. KMS Activation Thresholds

  • Windows Clients need a minimum of 25 activations
  • Windows Servers need 5

Until the threshold is reached, clients will not activate.

Active Directory Server 2025 Windows

Post navigation

Previous post
Next post

Related Posts

WSUS server on Windows Server (2016/2019/2022)

April 11, 2025April 11, 2025

✅ 1. Prerequisites 📦 2. Install WSUS Role Via Server Manager 🛠️ 3. Configure WSUS Initial Configuration Wizard 📂 4. Configure Update Storage (Optional) If you chose to store updates locally: 🧠 5. Configure Group Policy (Clients) To point clients to your WSUS server: Create or Edit a GPO Set…

Read More

Deploying policy at the firmware/BIOS

April 11, 2025

Deploying policy at the firmware/BIOS level is typically done in enterprise environments to ensure system integrity, enforce security controls, and maintain hardware configuration compliance. This is especially relevant for large-scale deployments using platforms from vendors like Dell, HPE, Lenovo, or HP. 🔐 Why BIOS-Level Policy Deployment? 🧰 Common Methods of…

Read More

Deployment Models for AD in AWS

April 16, 2025April 18, 2025

1. AWS Managed Microsoft AD 2. AD on EC2 (Self-Managed AD) 3. Hybrid AD (Extending On-Prem AD to AWS) 🛠️ Architecture Considerations Component Recommendation Availability Multi-AZ deployment for DCs Networking Use VPCs with subnets across AZs; enable DNS forwarding Security Isolate via security groups; use AWS KMS + GuardDuty Automation…

Read More

Recent Posts

  • List of AD Schema Versions
  • OldNewExplorer Free Download For Windows 11, 10, 8 and 7 [Latest Version]
  • How to Get the Classic (old) Context Menu on Windows 11
  • BitLocker Recovery Keys
  • Active Directory and Server hardening

Recent Comments

No comments to show.
June 2025
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
30  
« May    
Log in
©2025 Tech Master | WordPress Theme by SuperbThemes
  • Login
  • Sign Up
Forgot Password?
Lost your password? Please enter your username or email address. You will receive a link to create a new password via email.
body::-webkit-scrollbar { width: 7px; } body::-webkit-scrollbar-track { border-radius: 10px; background: #f0f0f0; } body::-webkit-scrollbar-thumb { border-radius: 50px; background: #dfdbdb }