Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
42 views1 page

Script 2021

This document contains a batch script to activate Microsoft Office using KMS hosting. The script checks for the Office installation location and runs commands to install a license, input a product key, set the KMS host, and activate Office.

Uploaded by

Yonathan Dueñas
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
42 views1 page

Script 2021

This document contains a batch script to activate Microsoft Office using KMS hosting. The script checks for the Office installation location and runs commands to install a license, input a product key, set the KMS host, and activate Office.

Uploaded by

Yonathan Dueñas
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

if exist "C:\Program Files\Microsoft Office\Office16\ospp.

vbs" cd /d "C:\
Program Files\Microsoft Office\Office16"
if exist "C:\Program Files (x86)\Microsoft Office\Office16\ospp.vbs" cd /d
"C:\Program Files (x86)\Microsoft Office\Office16"
for /f %x in ('dir /b ..\root\Licenses16\ProPlus2021VL_KMS*.xrm-ms') do
cscript ospp.vbs /inslic:"..\root\Licenses16\%x"
cscript ospp.vbs /inpkey:FXYTK-NJJ8C-GB6DW-3DYQT-6F7TH
cscript ospp.vbs /sethst:kms.msgang.com
cscript ospp.vbs /act
pause

You might also like