BWDenver Posted September 5, 2014 Report post Posted September 5, 2014 I run an SCCM 2012 system managing about 250 clients, and can deploy applications and Win Updates but my experience so far is limited to just those two items. (Read no formal training) I need to send a BAT file out to my clients to switch them from MAK to KMS Licensing. The file needs to execute on the servers as a “Admin”. The batch file is pretty straight forward: 1) slmgr /ipk 489J6-VHDMP-X63PK-3K798-CPX3Y (installs the MS Published KMS key replacing the MAK key) 2) slmgr /ato Forces the system to do a DNS lookup for the KMS server SRV record ID and port. I’ve set up the appropriate collections based on a WMI query, specifically the “Caption” in the Win32_OperatingSystem class, ie “Microsoft Windows Server 2008 R2 Enterprise “ As I said my experience in this particular area is very limited. Digging on the Internet so far has not uncovered the "fix" for this specific issue. Thanks in advance, Bryan Quote Share this post Link to post Share on other sites More sharing options...
anyweb Posted September 5, 2014 Report post Posted September 5, 2014 you can do it in many ways, if you want to use a batch file then create a package in software library, in that package create a program, the program should point to your batch file, here's an example you have no error checking in your batch file though and that might be a good thing, why not use vbs or powershell instead ? once you've created a working script, and packaged it as a package/program, distribute that package to at least one of your distribution points, once done, test it by deploying the package to a test virtual machine, monitor the behaviour and confirm it's doing what you want, if so, deploy it to a collection containing more computers, and so on... Quote Share this post Link to post Share on other sites More sharing options...