# manually assign KMS host to client running Windows Vista or 7

Windows Vista and 7 under <span class="caps">MCCA</span> at <span class="caps">UCLA</span> are validated through a <span class="caps">KMS</span> (key management service) server on campus. If for some reason Windows doesn’t automatically validate through the <span class="caps">KMS</span> you can manually assign the <span class="caps">KMS</span> host to your client.

Run the command prompt as an administrator.

Enter:

`cscript \windows\system32\slmgr.vbs /skms 128.97.141.165`

There are two <span class="caps">KMS</span> servers and either one can be used:

- kms1.softwarecentral.ucla.edu 128.97.141.165
- kms2.softwarecentral.ucla.edu 128.97.141.90

After a short pause you will be notified of the success of the connection within the command prompt.

For more information read the Windows Volume Activation 2.0 Deployment Guide [here](http://technet.microsoft.com/en-us/library/cc303280.aspx).