David Thorne 1 Reputation point


Created an Server 2019 and made a DC. Was given the wrong key which made the server an KMS server.

I've demoted the DC and ran slmgr to update the server with the correct key (all worked OK) BUT the DNS still has the _VLMCS key pointing to the server.

I cant delete the key, everytime I delete the key and refresh it comes back.

adding regkeys to disable it
running slmgr commands

But still no luck...any ideas?

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,152 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Jenny Feng 14,041 Reputation points

    @David Thorne
    You could follow the following steps:

    1. Identify the activation ID by running this cmd:
    2. Uninstall the KMS host key first by running CMD:
      Slmgr/upk < activation ID>
    3. Then, install the default kms key by running the following command:
      slmgr /ipk <KMS Client Setup Key>
      The default KMS client setup keys can be found here:
    4. Delete the record from the DNS:
      Open DNS console:
      Expand _tcp node under the There will be a record _VLMCS. Delete this record.
    5. The KMS server is uninstalled.

    Hope above information can help you.


    If the Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. David Thorne 1 Reputation point

    Hi, tried this but the DNS _VLMCS is still there.


  3. David Thorne 1 Reputation point

    Hi, tried that also.