Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 614
  • Last Modified:

Automatic KMS COnfiguration

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
mishbri
Asked:
mishbri
1 Solution
 
broeckskeCommented:
for starters I would remove your License key from this post before someone abuses it ;)
0
 
Sigurdur HaraldssonSystem AdministratorCommented:
Did you use a computer startup script or user logon script. I'd try the latter.
0
 
mishbriAuthor Commented:
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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now