Topics Map > OS and Desktop Applications > Operating Systems > Windows
KMS Automatic Discovery Set-Up
For automatic discovery to work, a KMS SRV record must be present in the DNS zone of a computer.
An example of this would be a computer with a DNS entry of computer_name.ad.wisc.edu. This computer would check the ad.wisc.edu zone for a KMS SRV record, but no other zones.
- If you do not know your domain, please use the following command in command prompt on your computer to look up the corresponding domain your computer is on (opening command prompt as an administrator is optional):
- Windows Only (Command Prompt)
- wmic computersystem get domain
The following steps may be followed to determine whether or not the required KMS SRV record is present in a domain. You must be on a campus network for this to work.
- Open up command prompt or terminal and run the following command (opening command prompt as an administrator is optional):
- Windows and Mac Command (Command Prompt and Terminal)
- nslookup -type=srv _vlmcs._tcp
- If the correct record is present, the following should be seen along with a number of other entries:
- _vlmcs._tcp.ad.wisc.edu SRV service location:
- priority = 0
- weight = 0
- port = 1688
- svr hostname = ms-kms-1.services.wisc.edu
- If the above record entry is not present, please contact your network administrator and request the below DNS entry be entered in your DNS zone:
- _vlmcs._tcp.<domain>. 3600 IN SRV 0 0 1688 ms-kms-1.services.wisc.edu
- Replace the <domain> with your domain (such as ad.wisc.edu). If you do not know your domain, please refer to the above section referencing how to look this up on a Windows machine.