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 for business Windows Server Devices and deployment Set up, install, or upgrade
Windows for business Windows Server User experience Other
Windows for business Windows Client for IT Pros User experience Other
0 comments No comments
{count} votes

Accepted answer
  1. Jenny Feng 14,241 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

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.