操作方法
新建文本文件,将下列内容复制进去,将后缀改成bat,双击运行。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
| @ECHO OFF&PUSHD %~DP0 setlocal EnableDelayedExpansion&color 3e & cd /d "%~dp0" title office2016 retail转换vol版 %1 %2 mshta vbscript:createobject("shell.application").shellexecute("%~s0","goto :runas","","runas",1)(window.close)&goto :eof :runas 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" :WH cls echo. echo 选择需要转化的office版本序号 echo. echo -------------------------------------------------------------------------------- echo 1. 零售版 Office Pro Plus 2016 转化为VOL版 echo. echo 2. 零售版 Office Visio Pro 2016 转化为VOL版 echo. echo 3. 零售版 Office Project Pro 2016 转化为VOL版 echo. echo. --------------------------------------------------------------------------------
set /p tsk="请输入需要转化的office版本序号【回车】确认(1-3): " if not defined tsk goto:err if %tsk%==1 goto:1 if %tsk%==2 goto:2 if %tsk%==3 goto:3 :err goto:WH :1 cls echo 正在安装 KMS 许可证... for /f %%x in ('dir /b ..\root\Licenses16\proplusvl_kms.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul echo 正在安装 MAK 许可证... for /f %%x in ('dir /b ..\root\Licenses16\proplusvl_mak.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul set /p y=请输入激活密钥,按回车确定: cscript ospp.vbs /inpkey:%y% goto :e :2 cls echo 正在安装 KMS 许可证... for /f %%x in ('dir /b ..\root\Licenses16\visio???vl_kms.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul echo 正在安装 MAK 许可证... for /f %%x in ('dir /b ..\root\Licenses16\visio???vl_mak.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul set /p y=请输入激活密钥,按回车确定: cscript ospp.vbs /inpkey:%y% goto :e :3 cls echo 正在安装 KMS 许可证... for /f %%x in ('dir /b ..\root\Licenses16\project???vl_kms.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul echo 正在安装 MAK 许可证... for /f %%x in ('dir /b ..\root\Licenses16\project???vl_mak.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul set /p y=请输入激活密钥,按回车确定: cscript ospp.vbs /inpkey:%y% goto :e :e echo. echo 转化完成,按任意键退出! pause >nul exit
|
相关Key (VOL激活密钥)
Office Professional Plus 2016:XQNVK-8JYDB-WJ9W3-YJ8YR-WFG99
Office Standard 2016:JNRGM-WHDWX-FJJG3-K47QV-DRTFM
Project Professional 2016:YG9NW-3K39V-2T3HJ-93F3Q-G83KT
Project Standard 2016:GNFHQ-F6YQM-KQDGJ-327XX-KQBVC
Visio Professional 2016:PD3PC-RHNGV-FXJ29-8JK7D-RJRJK
Visio Standard 2016:7WHWN-4T7MP-G96JF-G33KR-W8GF4
参考链接
- office2016永久激活码 office2016产品密钥永久激活 office2016专业版永久激活码(http://www.xitongcheng.com/jiaocheng/dnrj_article_45187.html)