使用vlmcsd搭建KMS服务器

107次阅读
没有评论

安装

源码地址Github 地址:https://github.com/Wind4/vlmcsd

最新版本下载:https://github.com/Wind4/vlmcsd/releases/latest

# wget https://github.com/Wind4/vlmcsd/releases/download/svn1113/binaries.tar.gz // 下载
# tar xf binaries.tar.gz // 解压
# ./binaries/Linux/intel/static/vlmcsd-x64-musl-static // 启动服务

查看 1688 端口是否已经启动

[root@localhost ~]# ss -ntl | grep 1688
LISTEN     0      128          *:1688                     *:*                  
LISTEN     0      128         :::1688                    :::*

加入开机启动

# cp ./binaries/Linux/intel/static/vlmcsd-x64-musl-static /usr/local/bin/
# echo '/usr/local/bin/vlmcsd-x64-musl-static' >> /etc/rc.d/rc.local
# chmod a+x /etc/rc.d/rc.local

测试

查看可用 apps

# ./binaries/Linux/intel/static/vlmcs-x64-musl-static -x

查看 kms 服务器 26 号 app,26 号是 Windows 10 Professional

# ./binaries/Linux/intel/static/vlmcs-x64-musl-static -v -l 26 127.0.0.1

同理,我们可用它来检测其他kms服务器的可用性,只需要将主机地址更换到对应的地址即可,例如:

# ./binaries/Linux/intel/static/vlmcs-x64-musl-static -v -l 26 kms.wujingquan.com

上面示例以 Linux 为例子,其他系统及平台类似

目录结构

  • vlmcsd-xxx:服务端
  • vlmcs-xxx:客户端

激活

kms 服务器只能激活 vl 版软件

示例:Windows 10 专业版

slmgr /upk
slmgr /ipk W269N-WFGWX-YVC9B-4J6C9-T83GX
slmgr /skms:<kms's IP>
slmgr /ato

示例:Office 2016 vl on Windows 10

cd 'C:\Program Files\Microsoft Office\Office16\'
cscript ospp.vbs /sethst:<kms's IP>
cscript ospp.vbs /act
cscript ospp.vbs /dstatus
正文完
 0
wujingquan
版权声明:本站原创文章,由 wujingquan 于2024-07-06发表,共计1120字。
转载说明:Unless otherwise specified, all articles are published by cc-4.0 protocol. Please indicate the source of reprint.
评论(没有评论)