[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 617
  • 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

[Webinar] Kill tickets & tabs using PowerShell

Are you tired of cycling through the same browser tabs everyday to close the same repetitive tickets? In this webinar JumpCloud will show how you can leverage RESTful APIs to build your own PowerShell modules to kill tickets & tabs using the PowerShell command Invoke-RestMethod.

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