KMS DNS Key _VLMCS

David Thorne 1 Reputation point
2021-02-16T09:23:14.047+00:00

Hi,

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.

Tried:
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,454 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Jenny Feng 14,076 Reputation points
    2021-02-17T01:50:34.553+00:00

    @David Thorne
    Hi,
    You could follow the following steps:

    1. Identify the activation ID by running this cmd:
      Slmgr/dlv
    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:
      https://learn.microsoft.com/en-us/windows-server/get-started/kmsclientkeys
    4. Delete the record from the DNS:
      Open DNS console:
      Expand _tcp node under the domain.com. 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
    2021-02-17T10:07:07.87+00:00

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

    thanks


  3. David Thorne 1 Reputation point
    2021-02-18T10:16:07.667+00:00

    Hi, tried that also.

    Sorry