Skip to content

Instantly share code, notes, and snippets.

@adarsh-chakraborty
Last active February 19, 2023 20:40
Show Gist options
  • Save adarsh-chakraborty/57d110774910dc6a0c738956f4226139 to your computer and use it in GitHub Desktop.
Save adarsh-chakraborty/57d110774910dc6a0c738956f4226139 to your computer and use it in GitHub Desktop.
Ms Office 16 Activation Script using command prompt.

Microsoft Office 2016 Activation Script

Open command promt as admin.

Check if Ms Office Directory exists and change the current directory.

if exist "C:\Program Files (x86)\Microsoft Office\Office16\ospp.vbs" cd /d "C:\Program Files (x86)\Microsoft Office\Office16"

Check current activation status

cscript ospp.vbs /dstatus

Copy and paste the following script for execution

cscript ospp.vbs /inslic:"..\root\Licenses16\ProPlusVL_KMS_Client-ppd.xrm-ms"
cscript ospp.vbs /inslic:"..\root\Licenses16\ProPlusVL_KMS_Client-ul.xrm-ms"
cscript ospp.vbs /inslic:"..\root\Licenses16\ProPlusVL_KMS_Client-ul-oob.xrm-ms"
cscript ospp.vbs /inslic:"..\root\Licenses16\ProPlusVL_MAK-pl.xrm-ms"
cscript ospp.vbs /inslic:"..\root\Licenses16\ProPlusVL_MAK-ppd.xrm-ms"
cscript ospp.vbs /inslic:"..\root\Licenses16\ProPlusVL_MAK-ul-oob.xrm-ms"
cscript ospp.vbs /inslic:"..\root\Licenses16\ProPlusVL_MAK-ul-phn.xrm-ms"

Input a product key here

cscript ospp.vbs /inpkey:XQNVK-8JYDB-WJ9W3-YJ8YR-WFG99

Change the host so all the settings are applied.

cscript ospp.vbs /sethst:kms.teevee.asia

Finally, activate the product key using the following command.

cscript ospp.vbs /act

Check the activation status

cscript ospp.vbs /dstatus
@Xalifaxxdm
Copy link

It's amazing. I really appreciate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment