Step By Step Guide To Setup KMS Server

Written by Allen White on. Posted in Microsoft, SBS2008/2011, Server 2003, Server 2008, Windows 7, Windows Vista, Windows XP

IT Problem

Rather than go out to Microsoft to license your PCs you can setup an internal KMS server that will license your machines for you. This is particularly useful if you have a virtual environment where machines are created on the fly as and when they are  required. Or maybe you just want one so you can control your license allocation internally. This is a step by step guide on how to setup a KMS server on server 2008 so that you can license Windows XP , Windows 7 and server OS`s.

If you are not running server 2008 R2 then you MUST install this patch from Microsoft first

 

IT Solution

Now, a bit of background. I had to set this up as a client is using VMware VDI. This is for dumb terminals with no OS; when a user turns on  they connect to VMware VDI and it quickly clones a PC  from a base image and delivers it to the user. The issue with this is PCs are created on a regular basis and when they are not used they are removed. This could be a licensing nightmare…step up KMS!

 

So first drop to a command line on the server what you would like to be your KMS server and enter the below, where you see my license key you need to enter YOUR KMS key for the SERVER OS that is installed on your server, so mine is server 2008R2 so I enter my server 2008R2 KMS.

cscript C:\windows\system32\slmgr.vbs /ipk BMR8R-38EVD-2HJPK-PCH12-Y938C

 

This is where sometimes there is confusion, yes you want to license you Windows 7 machines but your server 2008 KMS license has your company`s Windows 7 license information in it, the same with Windows XP and server etc. So, this is the only key you need.

 

Ok next we need to activate your server so run the below.

cscript C:\windows\system32\slmgr.vbs /ato

 

Your server will activate so it can license machines when they request activation. What actually happens is your KMS server puts some records in DNS that answer your PCs` requests for activation, to test this you can enter the command below.

 

nslookup -type=srv _vlmcs._tcp

You will see a return of yourservername.yourdomainname.com

 

Believe it or not that is it, there are a few other handy commands though if required. If you  have an issue where a PC will not license to your KMS server then enter the command below.

slmgr -skms kms-ip-address

 

Finally, if you want to get the stats out of your KMS server to see how many licenses are being issued or many other stats then use the command below.

 

slmgr.vbs /dlv

 

 

 
 
Related Posts Slider

Related Problems

Step By Step Guide on Upgrading to Internet Explorer 9
If you run a earlier version of internet explorer then you may be considering upgrading to ie9, follow this step by step guide for beginners on upgrading to internet explorer ...
READ SOLUTION
Notify Users of Server Shutdown
If you need to shut down you server and you need to notify your users of this you can send a message to there screen notifying them of a server ...
READ SOLUTION
Server 2008 Can See PCs But PCs Cannot See Servers Or Authenticate
A solutionto to a problem where pcs` cannot log into a domain after updates to server 2008r2. This is a problem with the windows firewall.PC`s cannot see server 2008 ...
READ SOLUTION
SBS2008 Server, Active Directory Fails, No users can connect – Trend WBS
Every few weeks you find that Server 2008 hangs, and you cannot connect to active directory applcations like ADU+C,additionally you have trend micro installed.
READ SOLUTION
How to Rename a Server 2008 Domain
Renaming your server 2008 is quite a big task,, follow this step by step guide on renaming your server 2008 domain.
READ SOLUTION
Step By Step Guide On Installing Trend Scanmail On Exchange 2010
Step By Step Guide on Installing and Configuring Trend Micro Scanmail On Microsoft Exchange 2010.This is a simple process.
READ SOLUTION
Find Out What User Is Logged Into A PC
A command that will help you find out what user is logged onto a pc/workstation on a network. How to find out who is logged into a pc.
READ SOLUTION
IT Tutorials
When your clients logon to your domain you can give them a nice greeting or a company policy notice. Read this guide on how to do so.
READ SOLUTION
Step By Step Guide on Upgrading to Internet
Notify Users of Server Shutdown
Server 2008 Can See PCs But PCs Cannot
SBS2008 Server, Active Directory Fails, No users can
How to Rename a Server 2008 Domain
Step By Step Guide On Installing Trend Scanmail
Find Out What User Is Logged Into A
Add a Logon Message to Server 2003,2008 and

Tags: ,

Allen White

Allen is a Technical Consultant for an IT company in the North East of England and holds the following accreditations. MCSA, MCSE, MCTS, MCITP, CCA, CCSP, VCP 4,5 and HP ASE, AIS - Network Infrastructure. Backup Academy Certified. I run this site in my spare time so if I help you then PLEASE take the time to share using the share tools on the site.

What Do You Think?

Search Solutions

Categories

(c) Techieshelp.com. Please be aware, all information is provided freely, any information used is done so at your risk and Techieshelp will not be held responsible for any issue that may occur.