Jump to content


Sign in to follow this  
welshslider

Getting SCCM 2012 To Activate Windows 7

Recommended Posts

Hi forum,

 

I've added this command into my task sequence but unfortunately I still have to log in after the build has completed and click on Activate. I don't need to enter a licence key as that's in the T/S. When I run this command from a Run command it says it needs elevated privileges to run. Any idea how incorporate this into the command?

 

cscript.exe %windir%\system32\slmgr.vbs /ato

 

Thanks

 

 

Share this post


Link to post
Share on other sites


try this

cscript //b c:\windows\system32\slmgr.vbs /ato

 

let me know whats the result please

 

~MOhanad

Hi Mohanad. Thanks for the reply. As coincidence may have it I was just trying that and unfortunately I get the same result. (Still says 3 days until automatic activation. Activate windows now) If I activate manually it activates successfully.

Share this post


Link to post
Share on other sites

Are you sure, you've typed the lincence key correct then? I'm using this command to activate my Windows 7 clients. What type of account do you use? You need to use an account with admin rights.

 

Do you have a firewall protecting your environment. (Not the built-in Windows 7 firewall)?

Share this post


Link to post
Share on other sites

Are you sure, you've typed the lincence key correct then? I'm using this command to activate my Windows 7 clients. What type of account do you use? You need to use an account with admin rights.

 

Do you have a firewall protecting your environment. (Not the built-in Windows 7 firewall)?

Hi. Confirmed the key is fine. It activates after it's built if I click on activate (without having to enter the key.) When you mention account do you have to specify in the T/S which account to use to run cscript //b c:\windows\system32\slmgr.vbs /ato? At the mo it's blank so I'm guessing it uses the default account that SCCM uses.

 

Just tried running the script from a run command and nothing happens. No message or anything. If I run the same command without the //b part it tells me access is denied and require elevated privileges

Share this post


Link to post
Share on other sites

make sure the activation step is after first reboot i add it after install OS and all application... and use account have local admin like your help desk account see attached picture.

 

post-20702-0-37516100-1446044370.jpg

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...