-
-
Save bob1113/331b9cfbb8c468063b35cb9deb872dd2 to your computer and use it in GitHub Desktop.
建 KMS Server 及 啟用方式
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Server端] 使用 Docker 建立 kms 驗證服務 | |
$ docker run -itd -p 1688:1688 --name kms luodaoyi/kms-server | |
# 開機啟動 可補上 | |
$ docker update --restart unless-stopped kms | |
[Client端] 建立 bat 執行檔驗證 | |
xxx.bat | |
------------------------------ | |
echo 啟用 win | |
slmgr /skms kms.luody.info | |
slmgr /ato | |
echo 啟用 office | |
cscript "C:\Program Files\Microsoft Office\Office16\ospp.vbs" /sethst:kms.luody.info | |
cscript "C:\Program Files\Microsoft Office\Office16\ospp.vbs" /act | |
pause | |
------------------------------- | |
[參考] | |
https://blog.star-chen.com/2018/08/07/Docker-KMS-Windows-Activate/ | |
https://github.com/Mr-xn/kms-server-deploy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment