Quantcast
Channel: Office 2013 and Office 365 ProPlus - Planning, Deployment, and Compatibility forum
Viewing all articles
Browse latest Browse all 3748

Activating Office 2013 in script

$
0
0

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


Viewing all articles
Browse latest Browse all 3748

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>