Skip to content

Instantly share code, notes, and snippets.

@bohack
Created April 17, 2019 13:37
Show Gist options
  • Save bohack/3c02037282afbcbee50d724273baac60 to your computer and use it in GitHub Desktop.
Save bohack/3c02037282afbcbee50d724273baac60 to your computer and use it in GitHub Desktop.
License Windows and Office
@ECHO OFF
REM 03/11/19
REM Bohack
REM Activate both Microsoft OS and Office
ECHO Activating Windows
ECHO ------------------------------------
ECHO .
C:\WINDOWS\SYSTEM32\CSCRIPT.EXE C:\WINDOWS\SYSTEM32\SLMGR.VBS /ATO
ECHO.
ECHO Activating Office 2016
ECHO ------------------------------------
ECHO.
C:\WINDOWS\SYSTEM32\CSCRIPT.EXE "C:\PROGRAM FILES (X86)\MICROSOFT OFFICE\OFFICE16\OSPP.VBS" /ACT
ECHO.
PAUSE
START MS-SETTINGS:windowsupdate-action
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment