网上搜到的特别厉害的visio2019激活方法
程序员文章站
2023-11-06 19:17:16
原文链接:https://blog.csdn.net/godot06/article/details/94141854 步骤如下: 1.电脑新建一个记事本文件.txt(任何地方都可以) 2.复制下面代码到新建记事本文件.txt中,并保存 3.上述记事本文件.txt后缀成.bat 的Windows可执 ......
原文链接:
步骤如下:
1.电脑新建一个记事本文件.txt(任何地方都可以)
2.复制下面代码到新建记事本文件.txt中,并保存
@echo off title activate microsoft visio 2019&cls&echo ============================================================================&echo #visio: activating microsoft software products for free without software&echo ============================================================================&echo.&echo #supported products:&echo - microsoft visio standard 2019&echo - microsoft visio professional plus 2019&echo.&echo.&(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")&cscript //nologo ospp.vbs /inslic:"..\root\licenses16\pkeyconfig-office.xrm-ms" >nul&(for /f %%x in ('dir /b ..\root\licenses16\client-issuance*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\licenses16\%%x" >nul)&(for /f %%x in ('dir /b ..\root\licenses16\visioprovl_kms*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\licenses16\%%x" >nul)&(for /f %%x in ('dir /b ..\root\licenses16\visiopro2019vl_kms*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\licenses16\%%x" >nul)&echo.&echo ============================================================================&echo 正在尝试激活...&cscript //nologo ospp.vbs /unpkey:7vcbb >nul&cscript //nologo ospp.vbs /inpkey:9bgnq-k37yr-rqhf2-38rq3-7vcbb >nul&set i=1 :server if %i%==1 set kms_sev=kms8.msguides.com if %i%==2 set kms_sev=kms9.msguides.com if %i%==3 set kms_sev=kms7.msguides.com if %i%==4 goto notsupported cscript //nologo ospp.vbs /sethst:%kms_sev% >nul&echo ============================================================================&echo.&echo. cscript //nologo ospp.vbs /act | find /i "successful" && (echo 已完成,按任意键退出) || (echo 连接kms服务器失败! 试图连接到另一个… & echo 请等待... & echo. & echo. & set /a i+=1 & goto server) pause >nul exit
3.上述记事本文件.txt后缀成.bat 的windows可执行脚本文件
4.直接右键使用管理员权限身份打开修改后的.bat文件
5.耐心等待一会,不要以为没有执行,等一会会有打印记录