码迷,mamicode.com
首页 > 其他好文 > 详细

Office2019最简单的激活方式

时间:2020-05-06 21:52:59      阅读:310      评论:0      收藏:0      [点我收藏+]

标签:复制   激活   art   server   run   rsh   sof   +=   try   

将以下代码复制到txt中,改后缀为bat批处理,双击即可,如果报错,则用管理员方式启动.

(cd /d "%~dp0")&&(NET FILE||(powershell start-process -FilePath %0 -verb runas)&&(exit /B)) >NUL 2>&1
title Office 2019 Activator r/Piracy
echo Converting... & mode 40,25
(if exist "%ProgramFiles%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles%\Microsoft Office\Office16")&(if exist "%ProgramFiles(x86)%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles(x86)%\Microsoft Office\Office16")&(for /f %%x in (dir /b ..\root\Licenses16\ProPlus2019VL*.xrm-ms) do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)&(for /f %%x in (dir /b ..\root\Licenses16\ProPlus2019VL*.xrm-ms) do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)
cscript //nologo ospp.vbs /unpkey:6MWKP >nul&cscript //nologo ospp.vbs /inpkey:NMMKJ-6RK4F-KMJVX-8D9MJ-6MWKP >nul&set i=1
:server
if %i%==1 set KMS_Sev=kms7.MSGuides.com
if %i%==2 set KMS_Sev=kms8.MSGuides.com
if %i%==3 set KMS_Sev=kms9.MSGuides.com
cscript //nologo ospp.vbs /sethst:%KMS_Sev% >nul
echo %KMS_Sev% & echo Activating...
cscript //nologo ospp.vbs /act | find /i "successful" && (echo Complete) || (echo Trying another KMS Server & set /a i+=1 & goto server)
pause >nul
exit 

 

Office2019最简单的激活方式

标签:复制   激活   art   server   run   rsh   sof   +=   try   

原文地址:https://www.cnblogs.com/tan80000/p/12838945.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!