Created
April 1, 2023 09:11
-
-
Save harsh1772/4aa117d076a90a7883e6e3099aafb78e to your computer and use it in GitHub Desktop.
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
For More Information | |
https://msguides.com/office-2019#Method_2_Using_batch_scripts | |
----------------------------------------------------------------------- | |
----------------------------------------------------------------------- | |
open the file location: | |
cd /c: %ProgramFiles%\Microsoft Office\Office16 | |
----------------------------------------------------------------------- | |
and run cmd in administration | |
put the file path cd /c: %ProgramFiles%\Microsoft Office\Office16 | |
----------------------------------------------------------------------- | |
paste the command line: | |
for /f %x in ('dir /b ..\root\Licenses16\ProPlus2019VL*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%x" | |
--------------------------------------------------------------------------------------------------------------------------- | |
after this process do not close cmd. | |
we write additional key for activator. | |
paste this command: | |
cscript ospp.vbs /setprt:1688 | |
----------------------------------------------------------------------- | |
paste this command: | |
cscript ospp.vbs /unpkey:6MWKP >nul | |
----------------------------------------------------------------------- | |
paste this command: | |
cscript ospp.vbs /inpkey:NMMKJ-6RK4F-KMJVX-8D9MJ-6MWKP | |
----------------------------------------------------------------------- | |
paste this command: | |
cscript ospp.vbs /sethst:e8.us.to | |
----------------------------------------------------------------------- | |
paste this command: | |
cscript ospp.vbs /act | |
----------------------------------------------------------------------- | |
----------------------------------------------------------------------- | |
after showing message is: | |
product activation successful. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment