Computing and Information Services

Configuring Windows Vista to use Texas A&M's Microsoft Key Management Server (KMS)

Windows Vista can either have its KMS server set manually or set to look in the primary DNS suffix zone for the KMS Service Record. For machines joined to a Windows domain, the KMS Service Record is the easiest method to use. For machines not joined to a domain, the "Primary DNS Suffix" needs to be set to a DNS zone that has the KMS Service Record, or the KMS needs to be set manually.

Creating a SRV record in an Active Directory DNS zone

  1. Open the DNS MMC.
  2. Expand the DNS Zone.
  3. Right click on the _tcp folder and select Other New Records…
  4. Select Service Location (SRV) as the new record type.
  5. Fill in the following information for the new records:
    • Service: _VLMCS (This is not in the drop-down list and must be typed.)
    • Protocol: _tcp
    • Port: 1688
    • Host offering the service: kms.tamu.edu

Manually setting the KMS

In the near future a program will be created to do this task. Until then please follow the steps below:

  1. Open a command prompt with Administrative Privileges. (From the Start menu, choose All Programs and select Accessories. From there right click on Command Prompt and select "Run as Administrator".)
  2. Change to the “c:\windows\system32” directory.
  3. Run the following command to set the KMS Server: “cscript slmgr.vbs -skms kms.tamu.edu”.
  4. Run the following command to active against the newly set KMS: “cscript slmgr.vbs -ato”.