+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 24
Windows 7 Thread, KMS activation in Technical; Forgive my n00b question but how do I use the KMS key to activate windows 7? I'm running windows 2003 ...
  1. #1
    zag
    zag is offline
    zag's Avatar
    Join Date
    Mar 2007
    Posts
    3,829
    Thank Post
    918
    Thanked 422 Times in 355 Posts
    Blog Entries
    12
    Rep Power
    88

    KMS activation

    Forgive my n00b question but how do I use the KMS key to activate windows 7?

    I'm running windows 2003 standard on my domain.

  2. #2

    Join Date
    Aug 2007
    Location
    Deal, Kent
    Posts
    343
    Thank Post
    12
    Thanked 73 Times in 51 Posts
    Rep Power
    27
    open cmd.

    Type slmgr for the list of commands you can perform.

    Just opening mine and i will type the commands needed to install and activate a KMS key with DNS advertising enabled.

    Si

    edit: jsut read Server 2003, will find you a link to install.

  3. #3

    Join Date
    Aug 2007
    Location
    Deal, Kent
    Posts
    343
    Thank Post
    12
    Thanked 73 Times in 51 Posts
    Rep Power
    27
    KMS Service V1.2 (Windows 7, Server 2008 etc...)
    An update is available that installs Key Management Service (KMS) 1.2 for Windows Server 2003 Service Pack 1 (SP1) and for later versions of Windows Server 2003

    Install this then launch CMD.

    Type slmgr for a list of commands.

    slmgr -ipk PRODUCTKEYGOESHERE (Use the KMS key from MVLS)
    slmgr -ato (Activates the KMS key)
    slmgr -sdns (Enable DNS publishing of a _SRV record for the KMS)

    slmgr -dli (display license information)

    When you install the clients for Windows7, Windows Vista, Server08, do not type any product keys into the image. The default key that is on the disk will auth with the KMS.

    KMS keys are for the service
    MAK keys are manual activations
    Key pre-installed on the MVLS disc will automatically work.

    KMS will not work until 25 (i think) clients auth with it. The message when you click "Activate windows now" will say "You have not reached the required amount of clients" or something along those lines.

    Hope this helps.
    Si

    PS - little guide i wrote a while back - Vista, WDS and Key Management Service (KMS)
    Last edited by Psymon; 18th August 2009 at 01:42 PM.

  4. 6 Thanks to Psymon:

    adamchapman (25th August 2010), FragglePete (9th February 2010), leco (18th August 2009), odin (17th August 2011), tjb (26th August 2009), zag (26th August 2009)

  5. #4

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,859
    Thank Post
    412
    Thanked 777 Times in 650 Posts
    Rep Power
    182
    Note: you don't activate Windows directly, you install the server service somewhere and activate that, then Windows picks it up from your DNS infrastructure and works some magic itself.

  6. Thanks to powdarrmonkey from:

    leco (18th August 2009)

  7. #5
    leco's Avatar
    Join Date
    Nov 2006
    Location
    West Yorkshire
    Posts
    2,026
    Thank Post
    595
    Thanked 125 Times in 119 Posts
    Rep Power
    41
    Thanks for the explanation Si, this is something that I have always meant to ask but never got around to. I have been manually inserting the licence key on each installation prior to this

  8. #6

    Join Date
    Jun 2008
    Posts
    11
    Thank Post
    0
    Thanked 3 Times in 3 Posts
    Rep Power
    13
    if the kms service is running on a windows 2008 box it requires only a minimum of 5 activations to work.


    On another note, does anyone know what sort of dns srv records are created?

  9. #7

    SYNACK's Avatar
    Join Date
    Oct 2007
    Posts
    11,186
    Thank Post
    875
    Thanked 2,717 Times in 2,302 Posts
    Blog Entries
    11
    Rep Power
    780
    Quote Originally Posted by Zer0kbps View Post
    On another note, does anyone know what sort of dns srv records are created?
    SVR records
    KMS Auto Discovery

    vlmcs._tcp.<your DNS domain>. 3600 IN SRV 0 100 1688 kms1.oit.ncsu.edu.
    _vlmcs._tcp.<your DNS domain>. 3600 IN SRV 0 100 1688 kms.ncsu.edu.


    The individual parts of the records mean the following:
    • Service name: vlmcs (this is what Microsoft decided to call it)
    • Protocol: TCP
    • Domain in which service is to be available: <your DNS domain>
    • Time-to-live: 3600 seconds (recommended by Microsoft)
    • Record type: SRV
    • DNS priority: 0
    • DNS weight: 100
    • Service port number: 1688
    • Hostname: kms1.oit.ncsu.edu, kms.ncsu.edu


    For example, if your workstations are registered in the mydept.cop.ncsu.edu DNS domain, you will need to request that the following be appended to the mydept.cop.ncsu.edu domain:

    _vlmcs._tcp.mydept.cop.ncsu.edu. 3600 IN SRV 0 100 1688 kms1.oit.ncsu.edu.
    _vlmcs._tcp.mydept.cop.ncsu.edu. 3600 IN SRV 0 100 1688 kms.ncsu.edu.

    You cannot simply configure a parent DNS domain with the KMS information and have computers registered in child domains automatically locate the service. Each DNS domain must be configured individually. If you only had appended the cop.ncsu.edu domain, computers in the mydept.cop.ncsu.edu domain would not be able to automatically locate the KMS service.
    Last edited by SYNACK; 18th August 2009 at 07:12 PM.

  10. #8

    Join Date
    May 2007
    Location
    Kent
    Posts
    125
    Thank Post
    39
    Thanked 11 Times in 10 Posts
    Rep Power
    28
    Hi,

    I've been messing around with KMS and I've set up 6 servers on Windows Server 2008 R2 using the appropriate KMS key from MVLS. I also have a key for Windows 7 on MVLS, but when I go to install the key into the KMS server it suggests that the exisiting key will be replaced. If this is the case how can I install both keys on the server or do I not need to?

    Perhaps I need to run a seperate server for Windows 7?

  11. #9

    Join Date
    Aug 2007
    Location
    Deal, Kent
    Posts
    343
    Thank Post
    12
    Thanked 73 Times in 51 Posts
    Rep Power
    27
    You will have 4 KMS keys in your Volume Licensing website.

    1 - Win Srv 2008 R2 Data Ctr/Itan KMS C
    2 - Windows Server 2008R2 Std/Ent KMS B
    3 - Windows Web Srv 2008R2 KMS A
    4 - Win 7 - KMS

    Works like the hierarchy above, keys can activate their peers and below, none of the class above.

    DataCentre / Itanium can activate all servers and clients including other Itanium / Datacentre installs.

    Standard / Enterprise can activate other Standard / Enterprise Servers, Web Server installs and all clients, but not any keys above it (Just Datacentre / Itanium)

    Web Srv can activate other web servers, and clients, but not Std / Enterprise / Datacentre

    Win7 can activate other clients only, no servers.

    Your best bet is to install 1 KMS server with the Datacentre KMS key, job done then can activate everything in the school.

    Hope this helps,
    Si

  12. 2 Thanks to Psymon:

    CyBeRkId2002 (6th December 2012), mitchell1981 (24th August 2009)

  13. #10

    Join Date
    May 2007
    Location
    Kent
    Posts
    125
    Thank Post
    39
    Thanked 11 Times in 10 Posts
    Rep Power
    28
    Thanks that makes it all a bit clearer. Fortunately that is more or less what I have done. Might start experimenting with a Windows 7 client then!

  14. #11
    zag
    zag is offline
    zag's Avatar
    Join Date
    Mar 2007
    Posts
    3,829
    Thank Post
    918
    Thanked 422 Times in 355 Posts
    Blog Entries
    12
    Rep Power
    88
    Hmm I tried SLMGR -IPK OURWINDOWS7KMSKEY

    but get the software license service reported that the product key is invalid

    Am I doing something wrong? I just copy and pasted the KMS key from the website.

    EDIT: Never-mind, I just found the "request MAK key" button on the licensing website, Problem solved

  15. #12
    roty80's Avatar
    Join Date
    May 2008
    Location
    Sheffiled
    Posts
    86
    Thank Post
    14
    Thanked 6 Times in 6 Posts
    Rep Power
    27

    same error here

    Quote Originally Posted by ittech View Post
    Hmm I tried SLMGR -IPK OURWINDOWS7KMSKEY

    but get the software license service reported that the product key is invalid

    Am I doing something wrong? I just copy and pasted the KMS key from the website.

    EDIT: Never-mind, I just found the "request MAK key" button on the licensing website, Problem solved
    Exactly the same thing happened to us, validation error 0xC004F050 and when we run slui.exe it says the product key is invalid.

    We have been using KMS to licence Vista since it came out and not had a problem.

    We have installed the update (KB968912) for KMS on our Windows 2008 server this morning.

    Emailed Microsoft Volume Licencing asking if they know why it would say it wasn't a valid key, no response yet. Definately the KMS key off our licence agreement.

    Any ideas?

  16. #13
    roty80's Avatar
    Join Date
    May 2008
    Location
    Sheffiled
    Posts
    86
    Thank Post
    14
    Thanked 6 Times in 6 Posts
    Rep Power
    27
    Problem solved

    Microsoft replied to us telling us just request MAK keys but last night on MVLS our KMS keys changed. Windows 7 is just KMS, Vista and the different versions of Server 2008 are either KMS A, KMS B or KMS C. Looks like microsoft changed the machines you can run KMS on last night:

    KMS can be hosted on Windows 7 or Windows Server 2003 R2 -> activates 7 and Vista
    KMS_A can be hosted on Web Server 2008 -> activates Vista, 7, Web Server 2008 and HPC Server 2008
    KMS_B can be hosted on Server 2008 Standard -> etc
    KMS_C can be hosted on Server 2008 Enterprise -> etc

    So our KMS key for Windows 7 will only work on a Windows 7 PC or Server 2003 R2 machine.

    Setup a Windows 7 PC and put entered:
    cscript c:\windows\system32\slmgr.vbs /ipk ****-****-****-**** (where * is key)

    This morning all machines say they are activated.

    Looks like for 2008 R2 we will have to setup a Server 2008 R1 Enterprise machine to activate it.
    Last edited by roty80; 27th August 2009 at 10:51 AM. Reason: correction

  17. #14
    zag
    zag is offline
    zag's Avatar
    Join Date
    Mar 2007
    Posts
    3,829
    Thank Post
    918
    Thanked 422 Times in 355 Posts
    Blog Entries
    12
    Rep Power
    88
    Sucks you have to have 2003 R2 to use this

  18. #15

    Join Date
    May 2007
    Location
    Kent
    Posts
    125
    Thank Post
    39
    Thanked 11 Times in 10 Posts
    Rep Power
    28
    Can I ask how, people plan to test Windows 7 without having to set up 25 machines?

    I would like to test it on a couple of machines in a classroom before going for a whole classroom, but as soon as I join them to the domain, they immediately lose their 30 day grace period and start popping up all sorts of warnings about my software not being genuine.

    My KMS server is all set up and working, but I don't really want to install on 25 machines yet.

    What are others doing?

SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Samsung NC10 netbook cannot activate Vista Enterprise via KMS
    By AngryTechnician in forum Windows Vista
    Replies: 14
    Last Post: 14th March 2014, 12:56 PM
  2. KMS Server update for Win7/R2
    By Gatt in forum Windows 7
    Replies: 18
    Last Post: 1st September 2009, 09:31 AM
  3. Vista, WDS and Key Management Service (KMS)
    By Psymon in forum Windows Server 2008
    Replies: 5
    Last Post: 11th August 2008, 05:47 PM
  4. Vista Licensing +KMS
    By Dos_Box in forum Windows Vista
    Replies: 3
    Last Post: 27th March 2008, 03:26 PM
  5. KMS server for w2k3 released.
    By Geoff in forum Windows Vista
    Replies: 4
    Last Post: 20th February 2007, 12:07 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
  •