利用VLMCSD部署本地KMS服务器

项目名称:VLMCSD
项目简介:KMS Emulator in C (Currently runs on Linux, Mac OS, iOS, Windows with or without Cygwin)
项目主页:https://github.com/Wind4/vlmcsd
软件下载:https://github.com/Wind4/vlmcsd/releases

部署本地KMS服务器:

1.准备一个 Linux 环境

2.下载vlmcsd:wget https://github.com/Wind4/vlmcsd/releases/download/svn1113/binaries.tar.gz

3.解压:tar -zxvf binaries.tar.gz

4.查看Linux物理机的CPU信息:cat /proc/cpuinfo

5.挑选对应CPU版本的程序,一般为Intel:cd binaries/Linux/intel/static/

6.修改权限:chmod u+x vlmcsd-x64-musl-static

7.运行vlmcsd:./vlmcsd-x64-musl-static

8.查看运行状态:netstat -tupln |grep 1688

9.放行防火墙规则:iptables -I INPUT -p tcp -m state --state NEW -m tcp --dport 1688 -j ACCEPT

10.设置开机自动启动:echo "/path/vlmcsd-x64-musl-static" >> /etc/rc.local

# 为了使用方便,可以将执行文件拷贝到"/usr/bin"目录下,并重命名为kms:mv /path/vlmcsd-x64-musl-static /usr/bin/kms && chmod +x /usr/bin/kms

使用本地KMS进行激活:

激活Windows:
# Start a Command Prompt as an Administrator.
slmgr.vbs -ipk W269N-WFGWX-YVC9B-4J6C9-T83GX      #安装GVLkey(不同操作系统KEY见附录),如果是VL批量版本并没有手动安装过任何KEY可略过此步;
slmgr.vbs -skms [KMS服务器域名/IP]      #设置kms服务器
slmgr.vbs -ato      #手动激活
激活Office:
# Start a Command Prompt as an Administrator.
cd C:\Program Files\Microsoft Office\Office16      #进入Offiice目录
cscript ospp.vbs /inpkey:YC7DK-G2NP3-2QQC3-J6H88-GVGXT    #安装GVLkey(不同版本Officekey见附录),如果是VL批量版本并没有手动安装过任何KEY可略过此步;
cscript ospp.vbs /sethst:[KMS服务器域名/IP]     #设置kms服务器,sethst:后面没有空格
cscript ospp.vbs /act      #手动激活

附录:Windows/Office KMS Key

Windows KMS Client Setup Keys:
Windows 10 Professional      W269N-WFGWX-YVC9B-4J6C9-T83GX
Windows 8.1 Professional      GCRJD-8NW9H-F2CDX-CCM8D-9D6T9
Windows 7 Professional      FJ82H-XT6CR-J8D7P-XQJJ2-GPDD4
Windows Server 2012 R2 Server Standard      D2N9P-3P6X9-2R39C-7RTCD-MDVJX
Windows Server 2008 R2 Standard      YC6KT-GKW9T-YTKYR-T4X34-R7VHC
#其他访问 https://technet.microsoft.com/en-us/library/jj612867.aspx 获取;

Office Generic Volume License Keys for KMS:
Office Professional Plus 2019    NMMKJ-6RK4F-KMJVX-8D9MJ-6MWKP
Office Professional Plus 2016    XQNVK-8JYDB-WJ9W3-YJ8YR-WFG99
Office Professional Plus 2013    YC7DK-G2NP3-2QQC3-J6H88-GVGXT
上一篇:Pycharm professional远程连接服务器详细教程


下一篇:【VS各版本激活码,实测有效,附带教程】Visual Studio 2013/2015/2017/2019