Setup KMS Server for Windows Server 2008 R2 or Windows 7

Open the command prompt and run the following command:

cscript c: \ Windows \ System32 \ slmgr.vbs / ipk xxxxx-xxxxx-xxxxx-xxxxx-xxxxx

Enter the product key xxxxx R2. It is also able to activate Windows 7. The following text appears when the command is successful.

Microsoft ® Script Host Version 5.7
Copyright © Corporation. All rights reserved.
Installed product key xxxxx-xxxxx-xxxxx-xxxxx-xxxxx successfully.
The installation of the server is complete. The server installs itself on port 1688. This port must be opened to be put in the firewall. To change the port the following command can be used.

Slmgr.vbs / SPRT xxxx
Once the firewall is open and the key is installed, the server service has to be restarted. Do this by using the following command:

slsvc & net stop & net start slsvc

To check whether the data will be registered correctly in the DNS, the following command:

nslookup-type = srv _vlmcs._tcp

Here, the following output should appear:

_vlmcs._tcp.test.local SRV service location:
priority = 0
weight = 0
port = 1688
svr hostname = .wardvissers.local
internet address = .wardvissers.local

Clients / Servers

The clientele / servers need to connect to the host will automatically find the host by dns. When the client / server using a MAK key is activated. Should this be put back to a KMS client key. These keys are released by Microsoft. When this key is set on the client / server will automatically look for a KMS host. When not present, the client / server activation.

client keys:

Enterprise: 33PXH-7Y6KF-2VJC9-XBBR8-HVTHH
Standard: TM24T-X9RMF-VWXK6-X8JC9-BFGM2
Server 2008 Enterprise: YQGMW-MPWTJ-34KDK-48M3W-X4Q6V
Windows Standard – YC6KT-GKW9T-YTKYR-T4X34-R7VHC
Windows Enterprise – 489J6-VHDMP-X63PK-3K798-CPX3Y

The following commands can the key be changed from MAK to here are the xxxxx is one of the above keys.

slmgr.vbs / ipk xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
Note: To ensure that the client is forced to activate the command to be executed on the client.

It can happen that the RMS server returns the following message. This is because the server is just beginning to work with 5 clients and 5 servers.

You can find here the list with error codes & solutions:

Special thanks to:Harm Hoekstra

Translate »
%d bloggers like this: