Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've been on a bit of a roll this week and have deployed around 30 fresh installs of Windows Server 2008 R2 using our Datacentre license, inside a VMWare environment.

However, what I've gone and forgotten as part of the setup routine is to activate the servers.

The last thing I want is next month to find out that our clients can't log into our terminal servers because I've forgotten to activate them, or for them to see "You have been a victim of software piracy" pop up on their desktop.

Is there any script/dirty hacks that I can use to quickly scan the network for un-activated machines? I'm guessing it will probably be a powershell script stuck into a GPO, but that's as far as my imagination can take me at the moment.

share|improve this question
up vote 2 down vote accepted

KMS is the way to go if you have Volume Keys. If you have MAK or Retail keys you can use the Volume Activation Management Tool from the Windows AIK to see which servers have been activated and activate those that need it.

share|improve this answer
Giving this the ✔ as it will work for our MAKs, as we don't have VL. – Mark Henderson Apr 12 '11 at 22:26

I did a blog post a while back talking about getting KMS setup. In it I include all the command line commands to get the machines registered. I'd just setup a batch file which is done as a run once that registers the machines against your KMS server.

In other words I'm just to lazy to find the machines, I'd just force them to all check back in and be done with it. All the Microsoft keys are linked to in my post as well.

share|improve this answer
Brilliant, thanks. I'll take a look. – Mark Henderson Apr 12 '11 at 0:16
+1 Great stuff. – squillman Apr 12 '11 at 1:48

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.