Skip to content

Instantly share code, notes, and snippets.

@mokocup
Last active May 3, 2024 10:50
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save mokocup/392ac9386b86d5f8c22abc72fb2f5023 to your computer and use it in GitHub Desktop.
Save mokocup/392ac9386b86d5f8c22abc72fb2f5023 to your computer and use it in GitHub Desktop.
Convert Office 2019 Retail To Volume
REM Change 192.168.1.7 to KMS Server IP or Host
REM Change ProgramFiles to ProgramFiles(x86) If install x86 version . Default are x64
@echo off
Title Converter Office 2019 Retail to Volume And Active Through Server
set LICPATH=%ProgramFiles%\Microsoft Office\root\Licenses16
set LICPATH1=%ProgramFiles%\Microsoft Office\Office16
cscript slmgr.vbs /ilc "%LICPATH%\ProPlusVL_KMS_Client-ppd.xrm-ms"
cscript slmgr.vbs /ilc "%LICPATH%\ProPlusVL_KMS_Client-ul.xrm-ms"
cscript slmgr.vbs /ilc "%LICPATH%\ProPlusVL_KMS_Client-ul-oob.xrm-ms"
cscript slmgr.vbs /ilc "%LICPATH%\client-issuance-bridge-office.xrm-ms"
cscript slmgr.vbs /ilc "%LICPATH%\client-issuance-root.xrm-ms"
cscript slmgr.vbs /ilc "%LICPATH%\client-issuance-root-bridge-test.xrm-ms"
cscript slmgr.vbs /ilc "%LICPATH%\client-issuance-stil.xrm-ms"
cscript slmgr.vbs /ilc "%LICPATH%\client-issuance-ul.xrm-ms"
cscript slmgr.vbs /ilc "%LICPATH%\client-issuance-ul-oob.xrm-ms"
cscript slmgr.vbs /ilc "%LICPATH%\pkeyconfig-office.xrm-ms"
cscript slmgr.vbs /ipk XQNVK-8JYDB-WJ9W3-YJ8YR-WFG99
cscript "%LICPATH1%\ospp.vbs" /sethst:192.168.1.7
cscript "%LICPATH1%\ospp.vbs" /act
echo.
echo Finished.
echo.
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment