?
Solved

Automatic KMS COnfiguration

Posted on 2010-08-17
4
Medium Priority
?
606 Views
Last Modified: 2012-05-10
I have a domain with approximately 1000 misconfigured WIndows 7 machines.  They are presently configured for MAK as opposed to KMS.  I've tried to set a GPO startup script (machine policy) that executes the following VBS:

Set objShell = CreateObject("WScript.Shell")
strCmdLine = "cmd /k cscript.exe /B c:\windows\system32\slmgr.vbs /ipk 33PXH-7Y6KF-2VJC9-XBBR8-HVTHH"
objShell.Run(strCmdLine)

For some reason, the slmgr is not converting to KMS and there isn't much help in the event view.  Any thoughts on what I'm doing wrong, or is there an easier way to do this?
0
Comment
Question by:mishbri
[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
4 Comments
 
LVL 7

Expert Comment

by:broeckske
ID: 33459360
for starters I would remove your License key from this post before someone abuses it ;)
0
 
LVL 11

Accepted Solution

by:
sighar earned 2000 total points
ID: 33459666
Did you use a computer startup script or user logon script. I'd try the latter.
0
 

Author Comment

by:mishbri
ID: 33459880
This is the generic key for kms from msft website.  It is a computer startup script, i will try it as user based tomorrow.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
Uncontrolled local administrators groups within any organization pose a huge security risk. Because these groups are locally managed it becomes difficult to audit and maintain them.
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum editing capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Suggested Courses
Course of the Month9 days, 7 hours left to enroll

762 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