Deployment and Imaging Group

 View Only
Expand all | Collapse all

Windows and Office activation after image deployment

  • 1.  Windows and Office activation after image deployment

    Posted Jul 09, 2016 12:53 PM

    Hello.

    We deploying windows 7 image on machines but after image deployed successfully Windows and Microsoft office asking to activate.

    Whats the post deployment task to activate windows and microsoft office.

     

    Regards

    Vikas



  • 2.  RE: Windows and Office activation after image deployment

    Posted Jul 11, 2016 10:44 AM

    Windows 7:

    C:\Windows\System32\cscript.exe /b c:\windows\system32\slmgr.vbs /ipk xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
    C:\Windows\System32\cscript.exe /b c:\windows\system32\slmgr.vbs /ato

    Office 2010:

    C:\Windows\System32\cscript.exe "C:\Program Files (x86)\Microsoft Office\Office14\ospp.vbs" /act



  • 3.  RE: Windows and Office activation after image deployment

    Posted Jul 11, 2016 10:52 AM

    Is this a script?? which script i have to use for this?



  • 4.  RE: Windows and Office activation after image deployment

    Posted Jul 11, 2016 11:11 AM

    That's DOS/Windows Command line scripting.



  • 5.  RE: Windows and Office activation after image deployment

    Posted Jul 11, 2016 11:18 AM

    Hello BBC

    i tried through command script but its not working. Altiris having below script option to run, let me know which one we have to choose.

    script.JPG



  • 6.  RE: Windows and Office activation after image deployment

    Posted Jul 11, 2016 12:31 PM

    Command script is how you run those command lines. This assumes that Windows and Office are installed in the default folder paths.

    The Office file path (x86) is for the 32-bit version of Office 2010 on 64-bit version of Windows 7.



  • 7.  RE: Windows and Office activation after image deployment

    Posted Jul 11, 2016 12:45 PM

    Task run successfully but windows not activate.



  • 8.  RE: Windows and Office activation after image deployment

    Posted Jul 11, 2016 02:13 PM

    Turn on " 

     

    Is your activation code valid? Can you manually input the code into a machine and have it activate to check?



  • 9.  RE: Windows and Office activation after image deployment

    Posted Jul 12, 2016 06:01 AM

    yes activation code valid and  manually it works properly. 



  • 10.  RE: Windows and Office activation after image deployment

    Posted Jul 12, 2016 08:11 AM

    Try using cscript //b instead of the single / in your script task.



  • 11.  RE: Windows and Office activation after image deployment

    Posted Jul 12, 2016 08:20 AM

    still fail...failure-return code -2147012721



  • 12.  RE: Windows and Office activation after image deployment

    Posted Jul 12, 2016 11:53 AM

    Note sure if it's applicable in this instance but a general tip is to ensure the date/time of the client PCs is set correctly.  We often have issues with activation caused by client PCs having the wrong date/time which causes activation to fail.

     



  • 13.  RE: Windows and Office activation after image deployment

    Posted Jul 12, 2016 11:54 AM

    Its proper, there no in date and time.