This is for techs that have to do this constantly and the quicker the better.
I updated the script to now check for which version of office is installed on the system and execute the VB script to activate office. The video below just shows the execution of the EXE, windows will complain as I don't pay to register the app. So use at your own discretion.
RAW CODE: Office 2010 and Office 2013 Activator.
echo off
color F0
mode con lines=3 cols=80
IF NOT EXIST "C:\Program Files (x86)\Microsoft Office\Office15\ospp.vbs" goto 2010OFF
IF EXIST "C:\Program Files (x86)\Microsoft Office\Office15\ospp.vbs" goto 2013OFF
:2010OFF
color AE
@echo Example: XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
SET /P offkey=Please enter office 2010 License Key with Dashes:
cscript "C:\Program Files (x86)\Microsoft Office\Office14\ospp.vbs" /inpkey:%offkey%
cscript "C:\Program Files (x86)\Microsoft Office\Office14\ospp.vbs" /act
color 0E
exit
:2013OFF
@echo Example: XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
SET /P offkey=Please enter office 2013 License Key with Dashes:
mode con lines=30 cols=80
cscript "C:\Program Files (x86)\Microsoft Office\Office15\ospp.vbs" /inpkey:%offkey%
cscript "C:\Program Files (x86)\Microsoft Office\Office15\ospp.vbs" /act
color 0E
exit
This is what the app looks like - Yes I know ugly but does what its supposed to do. Click on the picture above to open the link to my ONEDRIVE share. Take a look at the raw file and wrapped exe.