Move licensing/KMS function to another server

user1010 used Ask the Experts™
I have a windows 2008 R2 server that act as KMS/licensing server.
Is it possible to see if my windows 2008 server is using that licensing-function?

Now I want to move that function to another server.

How do I do that?
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2016

quite possible.. usually the settings are either via gpo or a _srv setting in dns
Run the command below in elevated cmd.exe:
cscript C:\Windows\System32\slmgr.vbs /dlv

Within the output, you will see:
Key Management Service is enabled on this machine
   Current count: xx
   Listening on Port: 1688
   DNS publishing <enabled>
   KMS priority: Normal

Or you can run the following command on a KMS client to see where it points to for licensing:
cscript C:\Windows\System32\slmgr.vbs /dlv | findstr "KMS machine name from DNS:"

To move KMS to another server, you just need to stand up another KMS instance on another server and publish SRV on DNS server and GPO as shown on link that David Johnson indicated above


If I run "cscript C:\Windows\System32\slmgr.vbs /dlv | findstr "KMS machine name from DNS:"" on a client:
Description: Windows Operating System - Windows Server(R), VOLUME_KMS_C channel
Key Management Service is enabled on this machine
    KMS priority: Normal
Key Management Service cumulative requests received from clients

Open in new window

I need to determine if there is a gpo or srv setting for the current KMS?
There is no GPO that I am aware of.  The KMS host/server is installed and activated.  Then use slmrg.vbs to configure things such as port, activation interval...  Next is publishing SRV record for the KMS host on DNS server.  You can find out these settings by running slmgr.vbs /dlv on the KMS host

For the clients installed using KMS key, they will query DNS for KMS host and activate accordingly

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial