Disable KMS server DNS record publishing

If you need to disable KMS servicing (i.e. a server that tries to publish _VLMCS._tcp.domain.com records for a domain then do the following:
  1. Start an administrative cmd-prompt
  2. slmgr.vbs -cdns
  3. net stop slsvc && net start slsvc
To verify that the server isn’t trying to publish the DNS record for KMS server run the following command “slmgr.vbs -dlv”.
  • DNS publishing is enabled
    image
  • DNS publishing is disabled
    image

2 comments:

Unknown said...

You have a typo on the first command, is slmgr.vbs -cdns

RikardStrand said...

Hello Julian,

You are correct. I have updated the post. Thanks for sharing. :)

Regards,

Rikard