KMS Activation

Glenn Maxwell 12,746 Reputation points
2025-05-03T06:47:19.1533333+00:00

How can I confirm whether my Windows Server 2022 is activated by my KMS server? my KMS server hostname is kms-srv01.When I use the command below on the server, I get the following output:

cscript slmgr.vbs /dlv 


Most recent activation information:
Key Management Service client information
    Client Machine ID (CMID): XXXXXXXX-XXXX-XXXX-XXXXX-XXXXXXXXXXX
    KMS machine name from DNS: kms-srv01.mydomain.com:1688
    KMS machine IP address: 192.168.50.50
    KMS machine extended PID: XXXX-XXXXX-XXX-XXXXXX-XX-XXXX-XXXXX.XXXX-XXXXXX
    Activation interval: 120 minutes
    Renewal interval: 10080 minutes
    KMS host caching is enabled
Windows Small Business Server
Windows Small Business Server
A family of Microsoft server products with messaging and collaboration, security-enhanced internet access, protected data storage, reliable printing, faxing, and the ability to run line-of-business applications. Replaced by Windows Server Essentials.
50 questions
0 comments No comments
{count} votes

Accepted answer
  1. Marcin Policht 46,360 Reputation points MVP Moderator
    2025-05-03T15:03:13.1533333+00:00

    Based on the output of the cscript slmgr.vbs /dlv command, your Windows Server 2022 is indeed activated using your KMS server (kms-srv01.mydomain.com). Here’s how we can confirm this:

    Key Indicators from the Output:

    1. KMS machine name from DNS: kms-srv01.mydomain.com:1688
      • This means the client successfully discovered and contacted your KMS server.
    2. KMS machine IP address: 192.168.50.50
      • The DNS resolution worked and the client has the IP of the KMS server.
    3. Activation and Renewal Intervals:
      • Activation interval: 120 minutes and Renewal interval: 10080 minutes (7 days) are standard for KMS clients.
      • These values indicate the client is in a normal KMS activation cycle.
    4. KMS Host Caching is Enabled:
      • This means the client is storing information about the KMS server for re-use.

    However, to explicitly confirm that the system is currently activated, you should also check the output of:

    cscript slmgr.vbs /xpr
    

    This will give you a simple message like:

    The machine is permanently activated or Windows will expire on [date]


    If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.

    hth

    Marcin

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.