question

CandyBolt-4691 avatar image
0 Votes"
CandyBolt-4691 asked einfach101-2678 commented

Effects of "KMS host caching"

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-serverwindows-10-generalwindows-server-setupwindows-server-management
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

JennyFeng-MSFT avatar image
1 Vote"
JennyFeng-MSFT answered einfach101-2678 commented

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://docs.microsoft.com/en-us/deployoffice/vlactivation/activate-office-by-using-kms

Hope above information can help you.


· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

what if i can't do the disabled action?
it says that the requsted action requires elevated privileges, what should i do then?

0 Votes 0 ·

what if i can't do the disabled action?
it says that the requsted action requires elevated privileges, what should i do then?

0 Votes 0 ·