Effects of "KMS host caching"

CandyBolt 21 Reputation points
2020-08-19T22:00:43.087+00:00

I'm looking for confirmation on the effects of "KMS host caching" (DisableKeyManagementServiceHostCaching) configuration in case if the KMS server is specified via /skms in the client system.

Does the specified server, bypass/disable that whole KMS host caching thing?

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,617 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,123 questions
Windows Server Setup
Windows Server Setup
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
241 questions
Windows Server Management
Windows Server Management
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Management: The act or process of organizing, handling, directing or controlling something.
421 questions
0 comments No comments
{count} votes

Accepted answer
  1. Jenny Feng 14,076 Reputation points
    2020-08-20T01:53:44.207+00:00

    Hi,

    You are able to disable the caching with the following command:
    slmgr /ckhc (or cscript c:\windows\system32\slmgr.vbs /ckhc)

    To enable caching again use the command:
    slmgr /skhc (or cscript c:\windows\system32\slmgr.vbs /skhc)

    You can verify if caching is active with the command:
    slmgr /dli (or cscript c:\windows\system32\slmgr.vbs /dli)

    KMS host caching is different to statically configuring clients.
    KMS host caching is intended to avoid excessive DNS queries, i.e. the client will cache the host name and only issue a query is that cached host is uncontactable.
    A static configuration of the hostname, at the client, completely bypasses/disables the DNSlookup/discovery.

    For your reference:
    https://learn.microsoft.com/en-us/deployoffice/vlactivation/activate-office-by-using-kms

    Hope above information can help you.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful