快速搭建一个简易的KMS 服务

xu言:

  之前,闹的沸沸扬扬的KMS激活工具自身都存在问题的事。让我们对以前的什么小马激活、kms激活、各种激活工具都去打了一个深深的“?”,到底哪些能用。哪些不能用。有些还注明的里面必须要关闭杀毒软件,以免误杀。。。但是这样真的安全吗?带着这样的疑问去调研了下如何自建KMS。

经过了解发下了一个适合“懒人”用的 一键KMS搭建~

https://github.com/ThunderEX/py-kms

Features(功能及支持的系统)

  • Responds to V4, V5, and V6 KMS requests.
  • Supports activating Windows 7/8/8.1/10/2008R2/2012/2012R2/2016 and Office 2010/2013/2016.
  • It's written in Python.

Dependencies(依赖的环境)

  • Python 2.6 or higher, micropython v1.9 or higher.
  • Python 2.6 needs the "argparse" module installed.
  • Micropython needs libpcre and libffi, and modules in micropythonlib, check section below.

Usage(使用方法)

  • To start the server, execute python server.py [listen_address] [port]. The default listening address is 0.0.0.0 (all interfaces) and the default port is 1688.
  • To run the client, use python client.py server_address [port]. The default port is 1688.
  • To run on ipv6, please use a valid ipv6 address, for example :: for broadcast.

 Note: 基本上通过这个激活的大部分下载的系统盘都是VOL或者非零售版本的操作系统及Office软件。不然可能不能正常激活。

如果想windows上使用就直接下载zip包,linux作为服务器就git clone下来吧。

默认使用的是1688端口。

 

微软KMS 官方序列号

 

服务端架设篇 

 

让其在linux后台执行

查看端口是否已经开启监听

打开防火墙

 sudo firewall-cmd --add-port=1688/tcp --permanent

 sudo systemctl reload firewalld

 

 

客户端激活篇 

 

激活windows

slmgr /skms x.x.x.x:1688
slmgr /ato

 

验证结果:

slmgr.vbs -xpr

 


slmgr.vbs -dli

 

 


rem 激活office

cscript ospp.vbs /sethst:x.x.x.x:1688
cscript ospp.vbs /act

 

验证结果: 找到你office的安装目录下面执行:

cscript ospp.vbs /dstatus

看服务器地址是否已经指向你自己假设的服务器上面

 

转载于:https://www.cnblogs.com/Cong0ks/p/9131805.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值