?
Solved

KMS server

Posted on 2010-11-18
13
Medium Priority
?
3,105 Views
Last Modified: 2012-05-10
I built KMS server and install VAMT for windows 7 activation. I’ve imported computer names from AD when I right click on a computer name – Update Status –Current Credential and I have a message attached “Unable to connect to the WMI service on the remote machine”. What I have to configure in desktop level and VAMT to activate Windows 7. Additional details, I put KMS product key to my answer file (unattend.xml).

 
0
Comment
Question by:Itsa56
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 6
13 Comments
 
LVL 21

Assisted Solution

by:Ivano Viola
Ivano Viola earned 2000 total points
ID: 34173015
Itsa,
If you used the KMS Windows 7 Install media then then you don't have to specify the product key in your unattend.xml file (leave the product key blank). The Windows 7 installation already has the KMS key included. You need to make sure your KMS server is registered in DNS. The Windows 7 clients will automatically check DNS for the activation server and activate automatically. You also have to make sure the KMS server is listening to port 1688.

http://certcollection.org/forum/topic/8746-setup-a-kms-server/
0
 

Author Comment

by:Itsa56
ID: 34177327
Nice to hear from you again ivanoviola.
How can I specify the name of KMS server in my unattend file. The other word, how PCs will know KMS server is there.
FYI, yes I installed Windows 7 pro from media which I downloaded from https://www.microsoft.com/licensing/servicecenter/ 
0
 
LVL 21

Accepted Solution

by:
Ivano Viola earned 2000 total points
ID: 34177764
Good seeing you again!

As long as your media is a volume license installation, the setup key is installed by default, which makes the system a KMS client. It should automatically look for a KMS server in DNS.

If you want to specify a KMS server in your unattend.xml file, you need to add a command in the AsynchronousCommand section under "Microsoft-Windows-Shell-Setup"
Microsoft-Windows-Shell-Setup - LogonCommands - AsynchronousCommand
Example:

            <FirstLogonCommands>
                <SynchronousCommand wcm:action="add">
                    <Description>KMS Authentication</Description>
                    <CommandLine>c:\windows\system32\slmgr.vbs -skms KMS.SERVER.HERE</CommandLine>
                    <Order>1</Order>
                </SynchronousCommand>
            </FirstLogonCommands>

Let me know how you make out.

0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

Author Comment

by:Itsa56
ID: 34184588
I did follow your instruction on my unattend file. It comes up without error after sysprep, but it's still not activated Win7. I've scaled down the problem.
1. PCs tries to talk to wrong server. I fixed this issue with running  c:\windows\system32\slmgr.vbs /skms KMS
2. KMS server is not responding to PCs request for activation.
Any idea why KMS's not responding.
0
 
LVL 21

Assisted Solution

by:Ivano Viola
Ivano Viola earned 2000 total points
ID: 34187531
The KMS server will only start activating clients when it reaches a threshold of 25 clients. Run the following command on a command prompt on the KMS server:
slmgr /dlv
This is a section of the output:
 KMS outputIf everything is running as it should your current count should start to go up. Once the count reaches 25, all clients that have requested activation will activate. Any requests for activation after 25 will occur immediately. It stops counting at 50. Also, make sure the KMS server is listening to port 1688.
0
 

Author Comment

by:Itsa56
ID: 34193387
At the moment I don't have 25 PCs yet. However when I run slmgr /dlv on KMS server. I got the output attached. The current count is still :0 , even I already have more than 20 clients.  

 
Kms-output.docx
0
 
LVL 21

Assisted Solution

by:Ivano Viola
Ivano Viola earned 2000 total points
ID: 34193454
Try changing the the product key on one of the computers using one of the client KMS keys listed in this link (matching your OS):
http://technet.microsoft.com/en-us/library/ff793406.aspx
When done activate the computer by running cscript slmgr.vbs /ato at a command prompt.
0
 
LVL 21

Expert Comment

by:Ivano Viola
ID: 34193455
Forgot to mention.....check the KMS client to see if the count changes to 1.
0
 

Author Comment

by:Itsa56
ID: 34202745
It did not regonise the client KMS key. It came with error Code 0xC004F074. However when I added the same key in KMS host and ran update Status - Current Credential -the output is Successful Installed product key. But in Genuine status shows Non Genuine.
0
 

Author Comment

by:Itsa56
ID: 34235956
I've worked it out with my KMS server. Now it's working.
0
 
LVL 21

Expert Comment

by:Ivano Viola
ID: 34235974
Hi Itsa,

Sorry, have been away for Thanksgiving. What was causing the problem?
That's great you got it working.

IV
0
 

Author Comment

by:Itsa56
ID: 34236020
1. My server 2008 is not R2.
2. I need to activate Server 2008 R2 licence with microsoft first and then apply virtual licence key on client PCs. I also need to modify my unattend file set Skip rearm to 0 (not 1).
0
 
LVL 21

Expert Comment

by:Ivano Viola
ID: 34236071
I use server core for my KMS server so I forgot about the R2. The skip rearm to 0 is important as the machines will then be assigned different CMID's. Every time a KMS client activates, the rearm count goes to 1, which actually means you can sysprep the same machine multiple times.

Well done.
0

Featured Post

What’s Wrong with Your Cloud Strategy ?

Even as many CIOs are embracing a cloud-first strategy, the reality is that moving to the cloud is a lengthy process and the end-state is likely to be a blend of multiple clouds—public and private. Learn why multicloud solutions matter in this webinar by Nimble Storage.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

OfficeMate Freezes on login or does not load after login credentials are input.
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
This Micro Tutorial will go in depth within Systems and Security in Windows 7 and will go into detail regarding Action Center, Windows Firewall, System, etc. This will be demonstrated using Windows 7 operating system.
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question