Activating Windows against a KMS license server

Before you start

For Key Management Services (KMS) installations (non-MAK or retail), review the Generic Volume License Keys (GVLK) information at https://learn.microsoft.com/en-us/windows-server/get-started/kms-client-activation-keys. GVLKs are used when your environment has a KMS server deploy to issue licensing.

EditionGVLK
Windows Server 2022 DatacenterWX4NM-KYWYW-QJJR4-XV3QB-6VM33
Windows Server 2022 Datacenter
Azure Edition
NTBV8-9K7Q8-V27C6-M2BTV-KHMXV
Windows Server 2022 StandardVDYBN-27WPP-V4HQT-9VMD4-VMK7H
Windows Server 2019 DatacenterWMDGN-G9PQG-XVVXX-R3X43-63DFG
Windows Server 2019 StandardN69G4-B89J2-4G8F4-WWYCC-J464C
Windows Server 2019 EssentialsWVDHN-86M7X-466P6-VHXV7-YY726
Windows Server 2016 DatacenterCB7KF-BWN84-R7R2Y-793K2-8XDDG
Windows Server 2016 StandardWC2BQ-8NRM3-FDDYY-2BFGV-KHKQY
Windows Server 2016 EssentialsJCKRF-N37P4-C2D82-9YXRT-4M63B
Windows 11 Pro
Windows 10 Pro
W269N-WFGWX-YVC9B-4J6C9-T83GX
Windows 11 Enterprise
Windows 10 Enterprise
NPPR9-FWDCX-D2C8J-H872K-2YT43

Activation

If you have a KMS server, now would be a good time to activate the Windows instance against it.

From a command prompt, you can follow the below steps to complete the activation.

  1. Apply the KMS client key, if the key wasn’t applied as part of the process above:
slmgr /ipk <license_key>
  1. Set the KMS server address/identity. You could try using kms9.msguides.com as a test:
slmgr /skms <kms_server>
slmgr /skms kms9.msguides.com
Microsoft (R) Windows Script Host Version 5.812
Copyright (C) Microsoft Corporation. All rights reserved.

Key Management Service machine name set to kms9.msguides.com successfully.
  1. Request activation:
slmgr /ato
Microsoft (R) Windows Script Host Version 5.812
Copyright (C) Microsoft Corporation. All rights reserved.

Activating Windows(R), ServerStandard edition (9bd77860-9b31-4b7b-96ad-2564017315bf) ...
Product activated successfully.
  1. You can check the activation information using the following commands:
slmgr /dli
Microsoft (R) Windows Script Host Version 5.812
Copyright (C) Microsoft Corporation. All rights reserved.


Name: Windows(R), ServerStandard edition
Description: Windows(R) Operating System, VOLUME_KMSCLIENT channel
Partial Product Key: VMK7H
License Status: Licensed
Volume activation expiration: 259200 minute(s) (180 day(s))
Configured Activation Type: All

Most recent activation information:
Key Management Service client information
    Client Machine ID (CMID): ce098f04-868e-43e0-a4f8-479e46f3e82e
    Registered KMS machine name: kms9.msguides.com:1688
    KMS machine IP address: 193.29.63.133
    KMS machine extended PID: 55041-00206-556-944223-03-5127-7601.0000-1812020
    Activation interval: 480 minutes
    Renewal interval: 172800 minutes
    KMS host caching is enabled

slmgr /dlv
Microsoft (R) Windows Script Host Version 5.812
Copyright (C) Microsoft Corporation. All rights reserved.

Software licensing service version: 10.0.20348.587

Name: Windows(R), ServerStandard edition
Description: Windows(R) Operating System, VOLUME_KMSCLIENT channel
Activation ID: 9bd77860-9b31-4b7b-96ad-2564017315bf
Application ID: 55c92734-d682-4d71-983e-d6ec3f16059f
Extended PID: 03612-04541-000-000001-03-1033-20348.0000-2442023
Product Key Channel: Volume:GVLK
Installation ID: 613879317066513432774842889453366509908694147324421456036695440
Partial Product Key: VMK7H
License Status: Licensed
Volume activation expiration: 259199 minute(s) (180 day(s))
Remaining Windows rearm count: 1001
Remaining SKU rearm count: 1001
Trusted time: 1/09/2023 8:45:32 PM
Configured Activation Type: All

Most recent activation information:
Key Management Service client information
    Client Machine ID (CMID): ce098f04-868e-43e0-a4f8-479e46f3e82e
    Registered KMS machine name: kms9.msguides.com:1688
    KMS machine IP address: 193.29.63.133
    KMS machine extended PID: 55041-00206-556-944223-03-5127-7601.0000-1812020
    Activation interval: 480 minutes
    Renewal interval: 172800 minutes
    KMS host caching is enabled

Posted

in

by