Hello, I create this Batch file to Activate Windows 7 and Office 2010 It work fine with activate windows 7 but not working for activate office 2010. Can any body help me modify it to work for office @echo off start cmd.exe /k slmgr.vbs /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX start cmd.exe /k slmgr.vbs /ato start cmd.exe /k cscript.exe 'C: Program Files Microsoft Office Office14 'ospp.vbs ospp.vbs /inpkey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX start cmd.exe /k cscript.exe 'C: Program Files Microsoft Office Office14> 'ospp.vbs /act @echo off Select all. Drop the 'start', it's counterproductive here, and drop the 'cmd.exe' as well; you can just start cscript.exe directly. Then in your first line for the Office activation, you have ospp.vbs twice, and in the second line, you have a '>' that shouldn't be there. @echo off cscript.exe '%Systemroot% system32 slmgr.vbs' /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX cscript.exe '%Systemroot% system32 slmgr.vbs' /ato cscript.exe 'C: Program Files Microsoft Office Office14 ospp.vbs' /inpkey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX cscript.exe 'C: Program Files Microsoft Office Office14 ospp.vbs' /act pause Select all.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2018
Categories |