Activating Office 2013 in script

  • Thread starter Thread starter Vector Support
  • Start date Start date
V

Vector Support

Guest
Hey there,

I am just wondering if there is a way to activate office 2013 with in a script. I have setup my msp file with our license key, but when I complete the removal and install from the script, it still needs to go to the internet ton fully activate the copy of office. some users do not have internet access and can not do this.


Is it possible to automate this step in a startup script? See my current script below.


thanks!





:keyverify
reg query HKEY_LOCAL_MACHINE\SOFTWARE\MSOFFICE2013
if %errorlevel%==1 (goto MSOFFICE2013) else (goto End)


:MSOFFICE2013

wmic product where name="Microsoft Office Standard 2007" uninstall /nointeractive

\\domain.com\software\Deployment\Office2013\2013\setup.exe /adminfile \\domain.com\software\Deployment\Office2013\2013\updates\Office2013.msp

reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\12.0 /f


:End

pause

Continue reading...
 
Back
Top