When trying to activate a Windows server 2008 or Windows 7 machine you may get the error below:
Key management services (KMS) could not be located in domain name system (DNS), please have your system administrator verify that a KMS is published correctly in DNS.
This error occurs when windows tries to activate a Multiple Activation Key(MAK) while not having access to a Key Management Service (KMS) i.e. if you have not set one up on your domain. If you have a separate license key for windows you can try changing the product code ..
Go to the control panel system.
Enter your product key and it should activate (as long as you have a valid key!).
