KMS 激活 office 2019 (921 views)

gHOST

2019-05-01 19:04:13

新建文本文档,输入以下代码:

@echo off
(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

保存之后,修改文本文档后缀,将.txt修改为.bat 保持联网,然后以管理员身份运行,等待数秒,即可激活。 本方法通过kms密钥管理服务器激活,有效期为180天,等到180天后,又会自动联网激活,不用重复操作,然后再续180天。

参考 https://www.jianshu.com/p/5904cf505fa6