How to manually set the KMS host on a Windows 7 machine.
- Open a command prompt with Administrative Privileges. (From the Start menu choose All Programs select Accessories. From there right-click on Command Prompt and select Run as Administrator
- Change to the “c:\windows\system32″ directory:
- Run the following command to set the KMS Server:
cscript slmgr.vbs -skms yourkmshost.domain.com.
- Run the following command to activate against the newly set KMS:
cscript slmgr.vbs -ato.