+ Post New Thread
Results 1 to 14 of 14
O/S Deployment Thread, Cannot see KMS in Technical; Morning Dragons, I'm here for 10% of someone's time to tell me how to stop my HyperV reference image timing ...
  1. #1

    garethedmondson's Avatar
    Join Date
    Oct 2008
    Location
    Gowerton, Swansea
    Posts
    2,263
    Thank Post
    965
    Thanked 324 Times in 192 Posts
    Blog Entries
    11
    Rep Power
    165

    Cannot see KMS

    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

  2. #2
    Joanne's Avatar
    Join Date
    Nov 2007
    Location
    Lancashire
    Posts
    1,643
    Thank Post
    144
    Thanked 161 Times in 134 Posts
    Blog Entries
    17
    Rep Power
    82
    Here is the command I have been using to activate kms clients... the key is a generic one off microsoft for Windows 7 Professional

    Code:
    slmgr.vbs /ipk FJ82H-XT6CR-J8D7P-XQJJ2-GPDD4
    
    cscript slmgr.vbs /ato
    This has to be done in an elevated cmd window...
    Last edited by Joanne; 18th June 2014 at 10:45 AM.

  3. Thanks to Joanne from:

    garethedmondson (18th June 2014)

  4. #3

    garethedmondson's Avatar
    Join Date
    Oct 2008
    Location
    Gowerton, Swansea
    Posts
    2,263
    Thank Post
    965
    Thanked 324 Times in 192 Posts
    Blog Entries
    11
    Rep Power
    165
    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'.

  5. #4

    garethedmondson's Avatar
    Join Date
    Oct 2008
    Location
    Gowerton, Swansea
    Posts
    2,263
    Thank Post
    965
    Thanked 324 Times in 192 Posts
    Blog Entries
    11
    Rep Power
    165
    Running the final line of that code simple tells me the DNS name does not exist. The key has gone in but I cannot activate.

  6. #5
    Joanne's Avatar
    Join Date
    Nov 2007
    Location
    Lancashire
    Posts
    1,643
    Thank Post
    144
    Thanked 161 Times in 134 Posts
    Blog Entries
    17
    Rep Power
    82
    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

  7. Thanks to Joanne from:

    garethedmondson (18th June 2014)

  8. #6

    garethedmondson's Avatar
    Join Date
    Oct 2008
    Location
    Gowerton, Swansea
    Posts
    2,263
    Thank Post
    965
    Thanked 324 Times in 192 Posts
    Blog Entries
    11
    Rep Power
    165
    I have the firewalls turned off on the reference image. Still no joy.

    GJE

  9. #7


    Join Date
    Feb 2007
    Location
    Northamptonshire
    Posts
    4,692
    Thank Post
    352
    Thanked 797 Times in 716 Posts
    Rep Power
    347
    Try

    slmgr /skms ip_of_kms
    slmgr /ato

  10. #8

    fiza's Avatar
    Join Date
    Dec 2008
    Location
    London
    Posts
    2,169
    Thank Post
    430
    Thanked 314 Times in 265 Posts
    Rep Power
    153
    Good article here on troubleshooting KMS issues

    How to troubleshoot the Key Management Service (KMS)

  11. #9

    garethedmondson's Avatar
    Join Date
    Oct 2008
    Location
    Gowerton, Swansea
    Posts
    2,263
    Thank Post
    965
    Thanked 324 Times in 192 Posts
    Blog Entries
    11
    Rep Power
    165
    Quote Originally Posted by kmount View Post
    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

  12. #10


    Join Date
    Feb 2007
    Location
    Northamptonshire
    Posts
    4,692
    Thank Post
    352
    Thanked 797 Times in 716 Posts
    Rep Power
    347
    Can you ping the kms server by IP from this machine?

  13. #11

    fiza's Avatar
    Join Date
    Dec 2008
    Location
    London
    Posts
    2,169
    Thank Post
    430
    Thanked 314 Times in 265 Posts
    Rep Power
    153
    Have you tried installing VAMT? You could then search for the client using VAMT and install, activate the key from there.

    Manage activation by using Volume Activation Management Tool (Industry 8.1)

    - - - Updated - - -

    I take all your other machines find the KMS server ok?

  14. #12

    tmcd35's Avatar
    Join Date
    Jul 2005
    Location
    Norfolk
    Posts
    5,713
    Thank Post
    858
    Thanked 904 Times in 749 Posts
    Blog Entries
    9
    Rep Power
    330
    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/<Domain>/_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.

  15. #13

    Join Date
    Feb 2008
    Location
    Wiltshire
    Posts
    887
    Thank Post
    280
    Thanked 139 Times in 112 Posts
    Blog Entries
    27
    Rep Power
    42
    Quote Originally Posted by tmcd35 View Post
    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/<Domain>/_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

  16. #14

    garethedmondson's Avatar
    Join Date
    Oct 2008
    Location
    Gowerton, Swansea
    Posts
    2,263
    Thank Post
    965
    Thanked 324 Times in 192 Posts
    Blog Entries
    11
    Rep Power
    165
    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

SHARE:
+ Post New Thread

Similar Threads

  1. Cannot see computers on network.
    By brickwall53 in forum Windows Server 2008 R2
    Replies: 7
    Last Post: 29th September 2011, 05:08 AM
  2. Replies: 2
    Last Post: 6th September 2011, 04:17 PM
  3. Help! Our PDC cannot see our domain, complete network failure.
    By reggiep in forum Windows Server 2008
    Replies: 17
    Last Post: 13th January 2011, 10:48 AM
  4. Cannot see wireless networks
    By Ric_ in forum Windows
    Replies: 5
    Last Post: 21st May 2008, 05:14 PM
  5. WSUS cannot see clients
    By ipconfig/HELP in forum Windows
    Replies: 7
    Last Post: 24th May 2007, 10:56 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •