Office循环激活脚本(180天)
<h4><a href="https://blog.csdn.net/weixin_42588262/article/details/81120403">Office激活参考</a></h4>
<p>想手动激活看这个:<a href="https://03k.org/kms.html">https://03k.org/kms.html</a></p>
<p>沧水编写的“一键激活Windows和Office脚本”:<a href="http://kms.cangshui.net/">http://kms.cangshui.net/</a></p>
<p>梁伟制作的检测KMS服务器是否正常小工具:<a href="https://kms.ddz.red/kmscheck.php">https://kms.ddz.red/kmscheck.php</a></p>
<pre><code class="language-bash">@echo off
start "" excel.exe
for /f "delims=" %%a in ('wmic process where caption^="excel.exe" get commandline^|find /i "excel"') do (
taskkill /f /im excel.exe >nul 2>nul
cd/d "%%~dpa"
for /f "delims=" %%b in ('dir /s /a /b OSPP.VBS') do cscript "%%~b" /dstatus&&echo 激活已完成.
pause
exit
)</code></pre>