Jump to content

Recommended Posts

Posted

Morning Dragons,

 

I'm here for 10% of someone's time to tell me how to stop my HyperV reference image timing out regarding activation. It wants to find our KMS server but because it is a local machine on the HyperV servers it cannot see our KMS server.

 

Running sysprep to check how many activations I have left shows I have 3 yet Windows wants to tell me I am running an illegal version and refuses to connect to our WSUS server etc etc.

 

I don't really want to go an rebuild the whole image again (or every 30 days). So wondered what others did.

 

Is there a command I can run through the command prompt that connects the reference image to the kms server via ip address and activates it?

 

Cheers

 

Gareth

Posted (edited)

Here is the command I have been using to activate kms clients... the key is a generic one off microsoft for Windows 7 Professional

 

slmgr.vbs /ipk FJ82H-XT6CR-J8D7P-XQJJ2-GPDD4

cscript slmgr.vbs /ato

 

This has to be done in an elevated cmd window...

Edited by Joanne
  • Thanks 1
Posted
Thanks for this - I tried it with the Enterprise 64 bit key from the MS site and it said it had registered but when it restarted I was one again given the 'This copy of Windows is not Genuine'.
Posted

have you got the KMS services allowed through all firewalls?

 

I'm hazy on DNS.... I read a lot about it with KMS, but mine seemed to work so didn't really look into it much

  • Thanks 1
Posted
Try

 

slmgr /skms ip_of_kms

slmgr /ato

 

Good call - it set the KMS IP for me but when I run the next command.....

 

KMS Unavailable - arghghghghgh

Posted

The licence key above just tells Windows to search for a KMS server. The alternative is to use a MAK key from the Volume Licence Service Centre. With Windows Pro or Enterprise the KMS key is the default and doesn't need entering unless you have previously switched to MAK.

 

KMS works through DNS. Your DNS server should have a _VLMCS entry in Forward Lookaup Zones//_sites/_tcp

 

It's also worth noting that KMS won't activate a client unless more than 5 clients for that version of Windows have requested a activation. As mentioned above, VAMT is by far the best way of managing KMS but it is only a GUI to the vbs commands. The DNS and 5 client prerequisites still apply.

Posted
The licence key above just tells Windows to search for a KMS server. The alternative is to use a MAK key from the Volume Licence Service Centre. With Windows Pro or Enterprise the KMS key is the default and doesn't need entering unless you have previously switched to MAK.

 

KMS works through DNS. Your DNS server should have a _VLMCS entry in Forward Lookaup Zones//_sites/_tcp

 

It's also worth noting that KMS won't activate a client unless more than 5 clients for that version of Windows have requested a activation. As mentioned above, VAMT is by far the best way of managing KMS but it is only a GUI to the vbs commands. The DNS and 5 client prerequisites still apply.

 

I think the activation limit is 25 workstations before it'll start to activate Windows or Office. Each Server activation counts as 5 though.

 

Pete

Posted

Well after talking to Richard we sussed it out. Here was the issue....

 

Our KMS server was running on our WSUS box - our physical one. We then went through the process of handing over the NM role. In the changeover the WSUS box was converted into a virtual box and the KMS server wasn't re-installed. So our machine was looking for a kms server that wasn't there.

 

Of course it was within the 180 day period of running without checking. I think this is right. So Richard re-installed the KMS server and after a quick restart everything was back to normal.

 

Sometimes the simplest things....

 

Thanks everyone

 

Gareth

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...