Script that works wonderfully to activate Office 2010 Pro MAK as a post image task (x86 Office exclusively, FYI; x64 Windows exclusively):


@echo off
if exist "C:\Program Files\Microsoft Office\Office14\ospp.vbs" goto 32
if exist "C:\Program Files (x86)\Microsoft Office\Office14\ospp.vbs" goto 64
goto NotInstalled

cscript.exe "C:\Program Files\Microsoft Office\Office14\ospp.vbs" /act


I Modified script to reflect path changes (\Office15) and the script is now not working with a general failure message.

A solution would be worth millions of dollars to me :)

0 Comments   [ + ] Show Comments


Please log in to comment


You need the inpkey:

Answered 10/01/2014 by: SMal.tmcc
Red Belt

  • Forgot to followup: this worked. Thanks Man!
Please log in to comment
Answer this question or Comment on this question for clarity
Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja