查看: 6996|回复: 9
收起左侧

[求助] MS office 2016

[复制链接]
Z0930
发表于 2018-10-7 17:51:05 | 显示全部楼层 |阅读模式
找一个MS office 2016软件,大家谁有,贡献一个,谢谢
静影沉璧
发表于 2018-10-7 17:58:45 | 显示全部楼层
cn_office_professional_plus_2016_x86_x64_dvd_6969182.iso (2.41 GB)

评分

参与人数 1分享 +2 人气 +3 收起 理由
屁颠屁颠 + 2 + 3 版区有你更精彩: )

查看全部评分

googles
发表于 2018-11-15 21:10:58 | 显示全部楼层
这个能用吗?没有号,也是试用啊
tomochan
发表于 2018-11-15 22:39:36 | 显示全部楼层
所以楼主和楼上两位以为来卡饭就能白嫖到各种正版杀软?
tomlee0101
发表于 2018-11-15 23:50:48 | 显示全部楼层
试用版多得很
lqhaudit
发表于 2018-12-5 09:45:36 | 显示全部楼层
有没有可用的绿色版 推荐?
飞碟1234
头像被屏蔽
发表于 2018-12-5 10:43:25 | 显示全部楼层
googles 发表于 2018-11-15 21:10
这个能用吗?没有号,也是试用啊

自己去KMS激活一下,工具那么多,百度解决
玄羽飞翎
发表于 2018-12-30 21:48:47 | 显示全部楼层
https://www.3xiazai.com/view/soft_874.html
据说是绿色版的,可以试试
Z0930
 楼主| 发表于 2019-12-2 22:24:45 | 显示全部楼层
我发的吗
想离开的人
发表于 2019-12-9 10:14:55 | 显示全部楼层
googles 发表于 2018-11-15 21:10
这个能用吗?没有号,也是试用啊

那我就给附一个我自用的激活批处理,由于我自己是路由搭建服务器,使用前需要把服务器替换一下,自行查找。

  1. ::关闭回显 & 定义标题
  2. @echo off & title MS-Office 2016/2019 线上KMS服务器激活

  3. ::============================================================
  4. ::此处设置KMS服务器
  5. ::  你可以使用文本编辑器(例如记事本)编辑该批处理文件
  6. ::  按照下列格式添加新的 KMS 服务器。
  7. set KMS1=router.asus.com

  8. :: 最多可以设置 50 个KMS服务器,以下内容无需修改
  9. ::============================================================
  10. ::开启环境变量延迟
  11. setlocal EnableExtensions EnableDelayedExpansion

  12. ::获取管理员身份
  13. set "_FilePath=%~f0"
  14. set "_FileDir=%~dp0"
  15. setlocal EnableExtensions EnableDelayedExpansion
  16. fltmc >nul 2>&1 || (
  17.     echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\GetAdmin.vbs"
  18.     echo UAC.ShellExecute "!_FilePath!", "", "", "runas", 1 >> "%temp%\GetAdmin.vbs"
  19.     "%temp%\GetAdmin.vbs"
  20.     del /f /q "%temp%\GetAdmin.vbs" >nul 2>&1
  21.     exit
  22. )
  23. pushd "!_FileDir!"

  24. ::============================================================
  25. ::检查系统语言
  26. chcp | find "936" > nul || (
  27. echo. & echo.The Batch only support Simplified Chinese, press anykey to exit.
  28. pause>nul & exit
  29. )

  30. ::检查是否联网使用
  31. echo.正在检测网络,请稍等...
  32. ping -n 1 www.baidu.com | find /i "TTL" > nul && ( echo.测试正常,脚本继续... ) || ( echo.检测到网络存在异常,本脚本需联网使用,请检查网络,按任意键退出... & exit )

  33. ::============================================================
  34. ::从注册表获取安装路径
  35. for /f "tokens=2*" %%a in ('"reg query HKLM\SOFTWARE\Microsoft\Office\16.0\Common\InstallRoot /v Path" 2^>nul') do (
  36.     set "_msi16=%%b"
  37. )
  38. for /f "tokens=2*" %%a in ('"reg query HKLM\SOFTWARE\Wow6432Node\Microsoft\Office\16.0\Common\InstallRoot /v Path" 2^>nul') do (
  39.     set "_msi16wow=%%b"
  40. )
  41. for /f "tokens=2*" %%a in ('"reg query HKLM\SOFTWARE\Microsoft\Office\ClickToRun /v InstallPath" 2^>nul') do (
  42.     set "_ctr16=%%b\Office16"
  43. )

  44. ::验证路径是否正确,是则继续,否则提示未找到安装目录
  45. if exist "%_msi16%\OSPP.VBS" (
  46.     cd /d %_msi16%
  47. ) else if exist "%_msi16wow%\OSPP.VBS" (
  48.     cd /d %_msi16wow%
  49. ) else if exist "%_ctr16%\OSPP.VBS" (
  50.     cd /d %_ctr16%
  51. ) else if exist "%ProgramFiles%\Microsoft Office\Office16\OSPP.VBS" (
  52.     cd /d "%ProgramFiles%\Microsoft Office\Office16"
  53. ) else if exist "%ProgramFiles(x86)%\Microsoft Office\Office16\OSPP.VBS" (
  54.     cd /d "%ProgramFiles(x86)%\Microsoft Office\Office16"
  55. ) else (
  56. echo.未找到 Microsoft Office 2016
  57. echo.请按任意键退出。。。
  58. pause>nul & exit
  59. )

  60. ::============================================================
  61. ::正在获取所安装的版本信息
  62. if exist "%tmp%\kms.log" del "%tmp%\kms.log"
  63. Cscript /nologo OSPP.VBS /dstatusall >>"%tmp%\kms.log"

  64. ::============================================================
  65. ::  MS-Office 2016
  66. ::    Office 标准版
  67. type "%tmp%\kms.log" | find "Office16Standard" >nul && (
  68. echo.检测到安装了产品:Microsoft Office 2016 标准版
  69. echo.正在安装 KMS 许可证...
  70. for /f %%x in ('dir /b ..\root\Licenses16\StandardVL_KMS*.xrm-ms') do Cscript /nologo OSPP.VBS /inslic:"..\root\Licenses16\%%x" >nul
  71. echo.正在安装 MAK 许可证...
  72. for /f %%x in ('dir /b ..\root\Licenses16\StandardVL_MAK*.xrm-ms') do Cscript /nologo OSPP.VBS /inslic:"..\root\Licenses16\%%x" >nul
  73. echo.正在导入 KMS GVLK
  74. Cscript /nologo OSPP.VBS /inpkey:JNRGM-WHDWX-FJJG3-K47QV-DRTFM >nul
  75. )

  76. ::    Office 专业增强版
  77. type "%tmp%\kms.log" | find "Office16ProPlus" >nul && (
  78. echo.检测到安装了产品:Microsoft Office 2016 专业增强版
  79. echo.正在安装 KMS 许可证...
  80. for /f %%x in ('dir /b ..\root\Licenses16\ProPlusVL_KMS*.xrm-ms') do Cscript /nologo OSPP.VBS /inslic:"..\root\Licenses16\%%x" >nul
  81. echo.正在安装 MAK 许可证...
  82. for /f %%x in ('dir /b ..\root\Licenses16\ProPlusVL_MAK*.xrm-ms') do Cscript /nologo OSPP.VBS /inslic:"..\root\Licenses16\%%x" >nul
  83. echo.正在导入 KMS GVLK
  84. Cscript /nologo OSPP.VBS /inpkey:XQNVK-8JYDB-WJ9W3-YJ8YR-WFG99 >nul
  85. )

  86. ::    Project 标准版
  87. type "%tmp%\kms.log" | find "Office16ProjectStd" >nul && (
  88. echo.检测到安装了产品:Microsoft Project 2016 标准版
  89. echo.正在安装 KMS 许可证...
  90. for /f %%x in ('dir /b ..\root\Licenses16\ProjectStdVL_KMS*.xrm-ms') do Cscript /nologo OSPP.VBS /inslic:"..\root\Licenses16\%%x" >nul
  91. echo.正在安装 MAK 许可证...
  92. for /f %%x in ('dir /b ..\root\Licenses16\ProjectStdVL_MAK*.xrm-ms') do Cscript /nologo OSPP.VBS /inslic:"..\root\Licenses16\%%x" >nul
  93. echo.正在导入 KMS GVLK
  94. Cscript /nologo OSPP.VBS /inpkey:GNFHQ-F6YQM-KQDGJ-327XX-KQBVC >nul
  95. )

  96. ::    Project 专业版
  97. type "%tmp%\kms.log" | find "Office16ProjectPro" >nul && (
  98. echo.检测到安装了产品:Microsoft Project 2016 专业版
  99. echo.正在安装 KMS 许可证...
  100. for /f %%x in ('dir /b ..\root\Licenses16\ProjectProVL_KMS*.xrm-ms') do Cscript /nologo OSPP.VBS /inslic:"..\root\Licenses16\%%x" >nul
  101. echo.正在安装 MAK 许可证...
  102. for /f %%x in ('dir /b ..\root\Licenses16\ProjectProVL_MAK*.xrm-ms') do Cscript /nologo OSPP.VBS /inslic:"..\root\Licenses16\%%x" >nul
  103. echo.正在导入 KMS GVLK
  104. Cscript /nologo OSPP.VBS /inpkey:YG9NW-3K39V-2T3HJ-93F3Q-G83KT >nul
  105. )

  106. ::    Visio 标准版
  107. type "%tmp%\kms.log" | find "Office16VisioStd" >nul && (
  108. echo.检测到安装了产品:Microsoft Visio 2016 标准版
  109. echo.正在安装 KMS 许可证...
  110. for /f %%x in ('dir /b ..\root\Licenses16\VisioStdVL_KMS*.xrm-ms') do Cscript /nologo OSPP.VBS /inslic:"..\root\Licenses16\%%x" >nul
  111. echo.正在安装 MAK 许可证...
  112. for /f %%x in ('dir /b ..\root\Licenses16\VisioStdVL_MAK*.xrm-ms') do Cscript /nologo OSPP.VBS /inslic:"..\root\Licenses16\%%x" >nul
  113. echo.正在导入 KMS GVLK
  114. Cscript /nologo OSPP.VBS /inpkey:7WHWN-4T7MP-G96JF-G33KR-W8GF4 >nul
  115. )

  116. ::    Visio 专业版
  117. type "%tmp%\kms.log" | find "Office16VisioPro" >nul && (
  118. echo.检测到安装了产品:Microsoft Visio 2016 专业版
  119. echo.正在安装 KMS 许可证...
  120. for /f %%x in ('dir /b ..\root\Licenses16\VisioProVL_KMS*.xrm-ms') do Cscript /nologo OSPP.VBS /inslic:"..\root\Licenses16\%%x" >nul
  121. echo.正在安装 MAK 许可证...
  122. for /f %%x in ('dir /b ..\root\Licenses16\VisioProVL_MAK*.xrm-ms') do Cscript /nologo OSPP.VBS /inslic:"..\root\Licenses16\%%x" >nul
  123. echo.正在导入 KMS GVLK
  124. Cscript /nologo OSPP.VBS /inpkey:PD3PC-RHNGV-FXJ29-8JK7D-RJRJK >nul
  125. )

  126. ::    Access
  127. type "%tmp%\kms.log" | find "Office16Access" >nul && (
  128. echo.检测到安装了产品:Microsoft Access 2016
  129. echo.正在安装 KMS 许可证...
  130. for /f %%x in ('dir /b ..\root\Licenses16\AccessVL_KMS*.xrm-ms') do Cscript /nologo OSPP.VBS /inslic:"..\root\Licenses16\%%x" >nul
  131. echo.正在安装 MAK 许可证...
  132. for /f %%x in ('dir /b ..\root\Licenses16\AccessVL_MAK*.xrm-ms') do Cscript /nologo OSPP.VBS /inslic:"..\root\Licenses16\%%x" >nul
  133. echo.正在导入 KMS GVLK
  134. Cscript /nologo OSPP.VBS /inpkey:GNH9Y-D2J4T-FJHGG-QRVH7-QPFDW >nul
  135. )

  136. ::    Excel
  137. type "%tmp%\kms.log" | find "Office16Excel" >nul && (
  138. echo.检测到安装了产品:Microsoft Excel 2016
  139. echo.正在安装 KMS 许可证...
  140. for /f %%x in ('dir /b ..\root\Licenses16\ExcelVL_KMS*.xrm-ms') do Cscript /nologo OSPP.VBS /inslic:"..\root\Licenses16\%%x" >nul
  141. echo.正在安装 MAK 许可证...
  142. for /f %%x in ('dir /b ..\root\Licenses16\ExcelVL_MAK*.xrm-ms') do Cscript /nologo OSPP.VBS /inslic:"..\root\Licenses16\%%x" >nul
  143. echo.正在导入 KMS GVLK
  144. Cscript /nologo OSPP.VBS /inpkey:9C2PK-NWTVB-JMPW8-BFT28-7FTBF >nul
  145. )

  146. ::    OneNote
  147. type "%tmp%\kms.log" | find "Office16OneNote" >nul && (
  148. echo.检测到安装了产品:Microsoft OneNote 2016
  149. echo.正在安装 KMS 许可证...
  150. for /f %%x in ('dir /b ..\root\Licenses16\OneNoteVL_KMS*.xrm-ms') do Cscript /nologo OSPP.VBS /inslic:"..\root\Licenses16\%%x" >nul
  151. echo.正在安装 MAK 许可证...
  152. for /f %%x in ('dir /b ..\root\Licenses16\OneNoteVL_MAK*.xrm-ms') do Cscript /nologo OSPP.VBS /inslic:"..\root\Licenses16\%%x" >nul
  153. echo.正在导入 KMS GVLK
  154. Cscript /nologo OSPP.VBS /inpkey:DR92N-9HTF2-97XKM-XW2WJ-XW3J6 >nul
  155. )

  156. ::    Outlook
  157. type "%tmp%\kms.log" | find "Office16Outlook" >nul && (
  158. echo.检测到安装了产品:Microsoft Outlook 2016
  159. echo.正在安装 KMS 许可证...
  160. for /f %%x in ('dir /b ..\root\Licenses16\OutlookVL_KMS*.xrm-ms') do Cscript /nologo OSPP.VBS /inslic:"..\root\Licenses16\%%x" >nul
  161. echo.正在安装 MAK 许可证...
  162. for /f %%x in ('dir /b ..\root\Licenses16\OutlookVL_MAK*.xrm-ms') do Cscript /nologo OSPP.VBS /inslic:"..\root\Licenses16\%%x" >nul
  163. echo.正在导入 KMS GVLK
  164. Cscript /nologo OSPP.VBS /inpkey:R69KK-NTPKF-7M3Q4-QYBHW-6MT9B >nul
  165. )

  166. ::    PowerPoint
  167. type "%tmp%\kms.log" | find "Office16PowerPoint" >nul && (
  168. echo.检测到安装了产品:Microsoft PowerPoint 2016
  169. echo.正在安装 KMS 许可证...
  170. for /f %%x in ('dir /b ..\root\Licenses16\PowerPointVL_KMS*.xrm-ms') do Cscript /nologo OSPP.VBS /inslic:"..\root\Licenses16\%%x" >nul
  171. echo.正在安装 MAK 许可证...
  172. for /f %%x in ('dir /b ..\root\Licenses16\PowerPointVL_MAK*.xrm-ms') do Cscript /nologo OSPP.VBS /inslic:"..\root\Licenses16\%%x" >nul
  173. echo.正在导入 KMS GVLK
  174. Cscript /nologo OSPP.VBS /inpkey:J7MQP-HNJ4Y-WJ7YM-PFYGF-BY6C6 >nul
  175. )

  176. ::    Publisher
  177. type "%tmp%\kms.log" | find "Office16Publisher" >nul && (
  178. echo.检测到安装了产品:Microsoft Publisher 2016
  179. echo.正在安装 KMS 许可证...
  180. for /f %%x in ('dir /b ..\root\Licenses16\PublisherVL_KMS*.xrm-ms') do Cscript /nologo OSPP.VBS /inslic:"..\root\Licenses16\%%x" >nul
  181. echo.正在安装 MAK 许可证...
  182. for /f %%x in ('dir /b ..\root\Licenses16\PublisherVL_MAK*.xrm-ms') do Cscript /nologo OSPP.VBS /inslic:"..\root\Licenses16\%%x" >nul
  183. echo.正在导入 KMS GVLK
  184. Cscript /nologo OSPP.VBS /inpkey:F47MM-N3XJP-TQXJ9-BP99D-8K837 >nul
  185. )

  186. ::    Skype for Business
  187. type "%tmp%\kms.log" | find "Office16SkypeforBusiness" >nul && (
  188. echo.检测到安装了产品:Microsoft Skype for Business 2016
  189. echo.正在安装 KMS 许可证...
  190. for /f %%x in ('dir /b ..\root\Licenses16\SkypeforBusinessVL_KMS*.xrm-ms') do Cscript /nologo OSPP.VBS /inslic:"..\root\Licenses16\%%x" >nul
  191. echo.正在安装 MAK 许可证...
  192. for /f %%x in ('dir /b ..\root\Licenses16\SkypeforBusinessVL_MAK*.xrm-ms') do Cscript /nologo OSPP.VBS /inslic:"..\root\Licenses16\%%x" >nul
  193. echo.正在导入 KMS GVLK
  194. Cscript /nologo OSPP.VBS /inpkey:869NQ-FJ69K-466HW-QYCP2-DDBV6 >nul
  195. )

  196. ::    Word
  197. type "%tmp%\kms.log" | find "Office16Word" >nul && (
  198. echo.检测到安装了产品:Microsoft Word 2016
  199. echo.正在安装 KMS 许可证...
  200. for /f %%x in ('dir /b ..\root\Licenses16\WordVL_KMS*.xrm-ms') do Cscript /nologo OSPP.VBS /inslic:"..\root\Licenses16\%%x" >nul
  201. echo.正在安装 MAK 许可证...
  202. for /f %%x in ('dir /b ..\root\Licenses16\WordVL_MAK*.xrm-ms') do Cscript /nologo OSPP.VBS /inslic:"..\root\Licenses16\%%x" >nul
  203. echo.正在导入 KMS GVLK
  204. Cscript /nologo OSPP.VBS /inpkey:WXY84-JN2Q9-RBCCQ-3Q3J3-3PFJ6 >nul
  205. )

  206. ::============================================================
  207. ::  MS-Office 2019
  208. ::    Office 标准版
  209. type "%tmp%\kms.log" | find "Office19Standard" >nul && (
  210. echo.检测到安装了产品:Microsoft Office 2019 标准版
  211. echo.正在安装 KMS 许可证...
  212. for /f %%x in ('dir /b ..\root\Licenses16\Standard2019VL_KMS*.xrm-ms') do Cscript /nologo OSPP.VBS /inslic:"..\root\Licenses16\%%x" >nul
  213. echo.正在安装 MAK 许可证...
  214. for /f %%x in ('dir /b ..\root\Licenses16\Standard2019VL_MAK*.xrm-ms') do Cscript /nologo OSPP.VBS /inslic:"..\root\Licenses16\%%x" >nul
  215. echo.正在导入 KMS GVLK
  216. Cscript /nologo OSPP.VBS /inpkey:6NWWJ-YQWMR-QKGCB-6TMB3-9D9HK >nul
  217. )

  218. ::    Office 专业增强版
  219. type "%tmp%\kms.log" | find "Office19ProPlus" >nul && (
  220. echo.检测到安装了产品:Microsoft Office 2019 专业增强版
  221. echo.正在安装 KMS 许可证...
  222. for /f %%x in ('dir /b ..\root\Licenses16\ProPlus2019VL_KMS*.xrm-ms') do Cscript /nologo OSPP.VBS /inslic:"..\root\Licenses16\%%x" >nul
  223. echo.正在安装 MAK 许可证...
  224. for /f %%x in ('dir /b ..\root\Licenses16\ProPlus2019VL_MAK*.xrm-ms') do Cscript /nologo OSPP.VBS /inslic:"..\root\Licenses16\%%x" >nul
  225. echo.正在导入 KMS GVLK
  226. Cscript /nologo OSPP.VBS /inpkey:NMMKJ-6RK4F-KMJVX-8D9MJ-6MWKP >nul
  227. )

  228. ::    Project 标准版
  229. type "%tmp%\kms.log" | find "Office19ProjectStd" >nul && (
  230. echo.检测到安装了产品:Microsoft Project 2019 标准版
  231. echo.正在安装 KMS 许可证...
  232. for /f %%x in ('dir /b ..\root\Licenses16\ProjectStd2019VL_KMS*.xrm-ms') do Cscript /nologo OSPP.VBS /inslic:"..\root\Licenses16\%%x" >nul
  233. echo.正在安装 MAK 许可证...
  234. for /f %%x in ('dir /b ..\root\Licenses16\ProjectStd2019VL_MAK*.xrm-ms') do Cscript /nologo OSPP.VBS /inslic:"..\root\Licenses16\%%x" >nul
  235. echo.正在导入 KMS GVLK
  236. Cscript /nologo OSPP.VBS /inpkey:C4F7P-NCP8C-6CQPT-MQHV9-JXD2M >nul
  237. )

  238. ::    Project 专业版
  239. type "%tmp%\kms.log" | find "Office19ProjectPro" >nul && (
  240. echo.检测到安装了产品:Microsoft Project 2019 专业版
  241. echo.正在安装 KMS 许可证...
  242. for /f %%x in ('dir /b ..\root\Licenses16\ProjectPro2019VL_KMS*.xrm-ms') do Cscript /nologo OSPP.VBS /inslic:"..\root\Licenses16\%%x" >nul
  243. echo.正在安装 MAK 许可证...
  244. for /f %%x in ('dir /b ..\root\Licenses16\ProjectPro2019VL_MAK*.xrm-ms') do Cscript /nologo OSPP.VBS /inslic:"..\root\Licenses16\%%x" >nul
  245. echo.正在导入 KMS GVLK
  246. Cscript /nologo OSPP.VBS /inpkey:B4NPR-3FKK7-T2MBV-FRQ4W-PKD2B >nul
  247. )

  248. ::    Visio 标准版
  249. type "%tmp%\kms.log" | find "Office19VisioStd" >nul && (
  250. echo.检测到安装了产品:Microsoft Visio 2019 标准版
  251. echo.正在安装 KMS 许可证...
  252. for /f %%x in ('dir /b ..\root\Licenses16\VisioStd2019VL_KMS*.xrm-ms') do Cscript /nologo OSPP.VBS /inslic:"..\root\Licenses16\%%x" >nul
  253. echo.正在安装 MAK 许可证...
  254. for /f %%x in ('dir /b ..\root\Licenses16\VisioStd2019VL_MAK*.xrm-ms') do Cscript /nologo OSPP.VBS /inslic:"..\root\Licenses16\%%x" >nul
  255. echo.正在导入 KMS GVLK
  256. Cscript /nologo OSPP.VBS /inpkey:7TQNQ-K3YQQ-3PFH7-CCPPM-X4VQ2 >nul
  257. )

  258. ::    Visio 专业版
  259. type "%tmp%\kms.log" | find "Office19VisioPro" >nul && (
  260. echo.检测到安装了产品:Microsoft Visio 2019 专业版
  261. echo.正在安装 KMS 许可证...
  262. for /f %%x in ('dir /b ..\root\Licenses16\VisioPro2019VL_KMS*.xrm-ms') do Cscript /nologo OSPP.VBS /inslic:"..\root\Licenses16\%%x" >nul
  263. echo.正在安装 MAK 许可证...
  264. for /f %%x in ('dir /b ..\root\Licenses16\VisioPro2019VL_MAK*.xrm-ms') do Cscript /nologo OSPP.VBS /inslic:"..\root\Licenses16\%%x" >nul
  265. echo.正在导入 KMS GVLK
  266. Cscript /nologo OSPP.VBS /inpkey:9BGNQ-K37YR-RQHF2-38RQ3-7VCBB >nul
  267. )

  268. ::    Access
  269. type "%tmp%\kms.log" | find "Office19Access" >nul && (
  270. echo.检测到安装了产品:Microsoft Access 2019
  271. echo.正在安装 KMS 许可证...
  272. for /f %%x in ('dir /b ..\root\Licenses16\Access2019VL_KMS*.xrm-ms') do Cscript /nologo OSPP.VBS /inslic:"..\root\Licenses16\%%x" >nul
  273. echo.正在安装 MAK 许可证...
  274. for /f %%x in ('dir /b ..\root\Licenses16\Access2019VL_MAK*.xrm-ms') do Cscript /nologo OSPP.VBS /inslic:"..\root\Licenses16\%%x" >nul
  275. echo.正在导入 KMS GVLK
  276. Cscript /nologo OSPP.VBS /inpkey:9N9PT-27V4Y-VJ2PD-YXFMF-YTFQT >nul
  277. )

  278. ::    Excel
  279. type "%tmp%\kms.log" | find "Office19Excel" >nul && (
  280. echo.检测到安装了产品:Microsoft Excel 2019
  281. echo.正在安装 KMS 许可证...
  282. for /f %%x in ('dir /b ..\root\Licenses16\Excel2019VL_KMS*.xrm-ms') do Cscript /nologo OSPP.VBS /inslic:"..\root\Licenses16\%%x" >nul
  283. echo.正在安装 MAK 许可证...
  284. for /f %%x in ('dir /b ..\root\Licenses16\Excel2019VL_MAK*.xrm-ms') do Cscript /nologo OSPP.VBS /inslic:"..\root\Licenses16\%%x" >nul
  285. echo.正在导入 KMS GVLK
  286. Cscript /nologo OSPP.VBS /inpkey:TMJWT-YYNMB-3BKTF-644FC-RVXBD >nul
  287. )

  288. ::    Outlook
  289. type "%tmp%\kms.log" | find "Office19Outlook" >nul && (
  290. echo.检测到安装了产品:Microsoft Outlook 2019
  291. echo.正在安装 KMS 许可证...
  292. for /f %%x in ('dir /b ..\root\Licenses16\Outlook2019VL_KMS*.xrm-ms') do Cscript /nologo OSPP.VBS /inslic:"..\root\Licenses16\%%x" >nul
  293. echo.正在安装 MAK 许可证...
  294. for /f %%x in ('dir /b ..\root\Licenses16\Outlook2019VL_MAK*.xrm-ms') do Cscript /nologo OSPP.VBS /inslic:"..\root\Licenses16\%%x" >nul
  295. echo.正在导入 KMS GVLK
  296. Cscript /nologo OSPP.VBS /inpkey:7HD7K-N4PVK-BHBCQ-YWQRW-XW4VK >nul
  297. )

  298. ::    PowerPoint
  299. type "%tmp%\kms.log" | find "Office19PowerPoint" >nul && (
  300. echo.检测到安装了产品:Microsoft PowerPoint 2019
  301. echo.正在安装 KMS 许可证...
  302. for /f %%x in ('dir /b ..\root\Licenses16\PowerPoint2019VL_KMS*.xrm-ms') do Cscript /nologo OSPP.VBS /inslic:"..\root\Licenses16\%%x" >nul
  303. echo.正在安装 MAK 许可证...
  304. for /f %%x in ('dir /b ..\root\Licenses16\PowerPoint2019VL_MAK*.xrm-ms') do Cscript /nologo OSPP.VBS /inslic:"..\root\Licenses16\%%x" >nul
  305. echo.正在导入 KMS GVLK
  306. Cscript /nologo OSPP.VBS /inpkey:RRNCX-C64HY-W2MM7-MCH9G-TJHMQ >nul
  307. )

  308. ::    Publisher
  309. type "%tmp%\kms.log" | find "Office19Publisher" >nul && (
  310. echo.检测到安装了产品:Microsoft Publisher 2019
  311. echo.正在安装 KMS 许可证...
  312. for /f %%x in ('dir /b ..\root\Licenses16\Publisher2019VL_KMS*.xrm-ms') do Cscript /nologo OSPP.VBS /inslic:"..\root\Licenses16\%%x" >nul
  313. echo.正在安装 MAK 许可证...
  314. for /f %%x in ('dir /b ..\root\Licenses16\Publisher2019VL_MAK*.xrm-ms') do Cscript /nologo OSPP.VBS /inslic:"..\root\Licenses16\%%x" >nul
  315. echo.正在导入 KMS GVLK
  316. Cscript /nologo OSPP.VBS /inpkey:G2KWX-3NW6P-PY93R-JXK2T-C9Y9V >nul
  317. )

  318. ::    Skype for Business
  319. type "%tmp%\kms.log" | find "Office19SkypeforBusiness" >nul && (
  320. echo.检测到安装了产品:Microsoft Skype for Business 2019
  321. echo.正在安装 KMS 许可证...
  322. for /f %%x in ('dir /b ..\root\Licenses16\SkypeforBusiness2019VL_KMS*.xrm-ms') do Cscript /nologo OSPP.VBS /inslic:"..\root\Licenses16\%%x" >nul
  323. echo.正在安装 MAK 许可证...
  324. for /f %%x in ('dir /b ..\root\Licenses16\SkypeforBusiness2019VL_MAK*.xrm-ms') do Cscript /nologo OSPP.VBS /inslic:"..\root\Licenses16\%%x" >nul
  325. echo.正在导入 KMS GVLK
  326. Cscript /nologo OSPP.VBS /inpkey:NCJ33-JHBBY-HTK98-MYCV8-HMKHJ >nul
  327. )

  328. ::    Word
  329. type "%tmp%\kms.log" | find "Office19Word" >nul && (
  330. echo.检测到安装了产品:Microsoft Word 2019
  331. echo.正在安装 KMS 许可证...
  332. for /f %%x in ('dir /b ..\root\Licenses16\Word2019VL_KMS*.xrm-ms') do Cscript /nologo OSPP.VBS /inslic:"..\root\Licenses16\%%x" >nul
  333. echo.正在安装 MAK 许可证...
  334. for /f %%x in ('dir /b ..\root\Licenses16\Word2019VL_MAK*.xrm-ms') do Cscript /nologo OSPP.VBS /inslic:"..\root\Licenses16\%%x" >nul
  335. echo.正在导入 KMS GVLK
  336. Cscript /nologo OSPP.VBS /inpkey:PBX3G-NWMT6-Q7XBW-PYJGG-WXD33 >nul
  337. )

  338. ::============================================================
  339. ::尝试激活
  340. for /L %%a in (1,1,50) do (
  341.         if defined KMS%%a (
  342.                 echo ============================================ &echo 正在尝试的 KMS 服务器:  !KMS%%a! &echo.
  343.                 cscript //Nologo OSPP.VBS /sethst:!KMS%%a! >nul
  344.                 (cscript //nologo OSPP.VBS /act) ^| findstr /i "successful" >nul && (
  345.                         del "%tmp%\kms.log" >nul 2>nul
  346.                         echo.&echo ==================================================================
  347.                         echo 恭喜!已经成功激活! &echo.&echo 使用的 KMS 服务器是: !KMS%%a!
  348.                         echo ==================================================================&echo.
  349.                         echo 按任意键退出... & pause>nul
  350.                         exit
  351.                 )
  352.         )
  353. )
复制代码

评分

参与人数 1人气 +1 收起 理由
Candygu + 1 版区有你更精彩: )

查看全部评分

您需要登录后才可以回帖 登录 | 快速注册

本版积分规则

手机版|杀毒软件|软件论坛| 卡饭论坛

Copyright © KaFan  KaFan.cn All Rights Reserved.

Powered by Discuz! X3.4( 沪ICP备2020031077号-2 ) GMT+8, 2024-11-23 03:25 , Processed in 0.177910 second(s), 17 queries .

卡饭网所发布的一切软件、样本、工具、文章等仅限用于学习和研究,不得将上述内容用于商业或者其他非法用途,否则产生的一切后果自负,本站信息来自网络,版权争议问题与本站无关,您必须在下载后的24小时之内从您的电脑中彻底删除上述信息,如有问题请通过邮件与我们联系。

快速回复 客服 返回顶部 返回列表