Created
October 19, 2017 17:51
-
-
Save bohack/8c5939f9649269d5086f2f304ab68528 to your computer and use it in GitHub Desktop.
Office Activation Script on Startup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ECHO OFF | |
REM Jon Buhagiar | |
REM 10/19/17 | |
REM Office Manual Activation | |
IF EXIST "C:\Support\.officeactivation" GOTO :END | |
CSCRIPT "C:\Program Files (x86)\Microsoft Office\Office16\ospp.vbs" /act | |
ECHO %ERRORLEVEL% - %DATE% - %TIME% > "C:\Support\.officeactivation" | |
:END |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment