KMS激活

简单介绍

KMS,即Key Management Service/Windows密钥管理服务
是巨硬在Vista之后的产品中启用的一种新型产品激活机制,用于企业内部的激活(即VOL版本的产品)
它要求局域网中必须有一台KMS服务器,KMS服务器的作用是给局域网中的所有计算机的申请激活的产品定周期提供一个随机的激活ID。当与服务器断开连接超过180天,已经激活的产品就会因为激活ID过期而重新回到试用版本状态;与服务器保持连接的客户端则能够定期获得ID更新,保持一直正确的激活状态。

使用

由上面的介绍我们可以得知,用KMS激活自己手上的产品,需要手上的产品是VOL版的,并且手上有一个可用的KMS服务器地址
(文末会有列表的,可以自行查看)

Windows

一般的情况下企业版是一定支持的,除Win7以外其他的版本专业版肯定支持,Win10所有版本均支持。
(对于Win7,如果你的bios含有slic表,会有无法使用kms的情况)

如果系统不支持,可以考虑到MSDN, 我告诉你下载正版镜像重装。

Windows进行激活管理的是slmgr程序,需要在管理员权限的命令提示符下运行
图

执行以下命令就行

1
2
3
4
5
slmgr /skms [服务器地址]
#设定kms服务器

slmgr /ato
#立刻尝试激活

Office系列

推荐使用Office Tool Plus来安装最新版本的Office并激活,使用教程
手动激活已安装产品请自行参考这里

进阶操作-搭建kms服务器

!免责声明:请尽可能避免在公网上部署KMS服务器!这是一种盗版行为,小心微软的律师函or服务器被封停!这不是开玩笑!!

法一:直接运行编译好的二进制文件

这个页面找到符合你系统的二进制包,下载并运行即可

程序名描述
vlmcs用于测试KMS服务器的客户端
vlmcsd完全兼容Microsoft的KMS服务器

法二:Linux下可以自行编译[2]

安装必要环境

首先,安装编译所需要的软件包:

For CentOS:

1
2
yum makecache fast
yum install git gcc make -y

For Fedora:

1
2
dnf makecache
dnf install git gcc make -y

For Ubuntu/Debian:(Ubuntu 16+/Debian 8+可以将apt-get换为apt)

1
2
apt-get update
apt-get install git gcc make -y

编译vlmcsd

使用Git将vlmscd的源码Clone下来:

1
git clone https://github.com/Wind4/vlmcsd.git

开始编译:

1
2
cd vlmcsd/
make

之后在 bin 目录下,会得到两个文件:vlmcsvlmcsd

如果为了以后方便的话,可以将这两个文件复制到/usr/sbin 或者你想要的目录中,方便命令执行:

1
cp bin/* /usr/sbin/

公网可用KMS服务器

NO地址
1kms.ljcbaby.top
2kms.03k.org
3kms.chinancce.com
4kms.lotro.cc
More?

支持产品

包括但不限于以下产品,新产品请自行测试

NO产品名
1Windows Server 2019 ARM64
2Windows Server 2019 Azure Core
3Windows Server 2019 Datacenter
4Windows Server 2019 Essentials
5Windows Server 2019 Standard
6Windows Server 2019 Datacenter (Semi-Annual Channel)
7Windows Server 2019 Standard (Semi-Annual Channel)
8Windows 10 Enterprise LTSC 2019
9Windows 10 Enterprise LTSC 2019 N
10Windows 10 Enterprise G
11Windows 10 Enterprise GN
12Windows 10 Enterprise 2016 LTSB
13Windows 10 Enterprise 2016 LTSB N
14Windows 10 Home
15Windows 10 Home Country Specific
16Windows 10 Home N
17Windows 10 Home Single Language
18Windows 10 Education
19Windows 10 Education N
20Windows 10 Enterprise
21Windows 10 Enterprise 2015 LTSB
22Windows 10 Enterprise 2015 LTSB N
23Windows 10 Enterprise N
24Windows 10 Professional Workstation
25Windows 10 Professional Workstation N
26Windows 10 Professional
27Windows 10 Professional Education
28Windows 10 Professional Education N
29Windows 10 Professional N
30Windows 10 Professional Preview
31Windows 10 Enterprise Preview
32Windows 10 Enterprise for Virtual Desktops
33Windows 10 Remote Server
34Windows 10 S (Lean)
35Windows 7 Enterprise
36Windows 7 Enterprise E
37Windows 7 Enterprise N
38Windows 7 Professional
39Windows 7 Professional E
40Windows 7 Professional N
41Windows 7 Embedded POSReady
42Windows 7 Embedded Standard
43Windows 7 ThinPC
44Windows 8 Core
45Windows 8 Core Country Specific
46Windows 8 Core N
47Windows 8 Core Single Language
48Windows 8 Professional WMC
49Windows 8 Embedded Industry Professional
50Windows 8 Embedded Industry Enterprise
51Windows 8 Enterprise
52Windows 8 Enterprise N
53Windows 8 Professional
54Windows 8 Professional N
55Windows 8.1 Core
56Windows 8.1 Core ARM
57Windows 8.1 Core Country Specific
58Windows 8.1 Core N
59Windows 8.1 Core Single Language
60Windows 8.1 Professional Student
61Windows 8.1 Professional Student N
62Windows 8.1 Professional WMC
63Windows 8.1 Core Connected
64Windows 8.1 Core Connected Country Specific
65Windows 8.1 Core Connected N
66Windows 8.1 Core Connected Single Language
67Windows 8.1 Enterprise
68Windows 8.1 Enterprise N
69Windows 8.1 Professional
70Windows 8.1 Professional N
71Windows 8.1 Embedded Industry Professional
72Windows 8.1 Embedded Industry Automotive
73Windows 8.1 Embedded Industry Enterprise
74Windows 10 Enterprise Preview
75Windows 10 Professional Preview
76Windows 10 Professional WMC Preview
77Windows 8.x Preview
78Windows 8.x Preview ARM
79Windows Server 2008 Web
80Windows Server 2008 Compute Cluster
81Windows Server 2008 Standard
82Windows Server 2008 Standard without Hyper-V
83Windows Server 2008 Enterprise
84Windows Server 2008 Enterprise without Hyper-V
85Windows Server 2008 Datacenter
86Windows Server 2008 Datacenter without Hyper-V
87Windows Server 2008 for Itanium
88Windows MultiPoint Server 2010
89Windows Server 2008 R2 Web
90Windows Server 2008 R2 HPC Edition
91Windows Server 2008 R2 Standard
92Windows Server 2008 R2 Enterprise
93Windows Server 2008 R2 Datacenter
94Windows Server 2008 R2 for Itanium Enterprise
95Windows Server 2012 Datacenter
96Windows Server 2012 MultiPoint Premium
97Windows Server 2012 MultiPoint Standard
98Windows Server 2012 Standard
99Windows Server 2012 R2 Cloud Storage
100Windows Server 2012 R2 Datacenter
101Windows Server 2012 R2 Essentials
102Windows Server 2012 R2 Standard
103Windows Server 2016 Azure Core
104Windows Server 2016 Cloud Storage
105Windows Server 2016 Datacenter
106Windows Server 2016 Essentials
107Windows Server 2016 Standard
108Windows Server 2016 ARM64
109Windows Server 2016 Datacenter (Semi-Annual Channel)
110Windows Server 2016 Standard (Semi-Annual Channel)
111Windows Server 2016 Datacenter Preview
112Windows Vista Business
113Windows Vista Business N
114Windows Vista Enterprise
115Windows Vista Enterprise N
116Office Access 2010
117Office Excel 2010
118Office Groove 2010
119Office InfoPath 2010
120Office Mondo 1 2010
121Office Mondo 2 2010
122Office OneNote 2010
123Office OutLook 2010
124Office PowerPoint 2010
125Office Professional Plus 2010
126Office Project Pro 2010
127Office Project Standard 2010
128Office Publisher 2010
129Office Small Business Basics 2010
130Office Standard 2010
131Office Visio Premium 2010
132Office Visio Pro 2010
133Office Visio Standard 2010
134Office Word 2010
135Office Access 2013
136Office Excel 2013
137Office InfoPath 2013
138Office Lync 2013
139Office Mondo 2013
140Office OneNote 2013
141Office OutLook 2013
142Office PowerPoint 2013
143Office Professional Plus 2013
144Office Project Pro 2013
145Office Project Standard 2013
146Office Publisher 2013
147Office Standard 2013
148Office Visio Pro 2013
149Office Visio Standard 2013
150Office Word 2013
151Office Access 2013 (Pre-Release)
152Office Excel 2013 (Pre-Release)
153Office Groove 2013 (Pre-Release)
154Office InfoPath 2013 (Pre-Release)
155Office Lync 2013 (Pre-Release)
156Office Mondo 2013 (Pre-Release)
157Office OneNote 2013 (Pre-Release)
158Office Outlook 2013 (Pre-Release)
159Office PowerPoint 2013 (Pre-Release)
160Office Professional Plus 2013 (Pre-Release)
161Office Project Pro 2013 (Pre-Release)
162Office Project Standard 2013 (Pre-Release)
163Office Publisher 2013 (Pre-Release)
164Office Visio Pro 2013 (Pre-Release)
165Office Visio Standard 2013 (Pre-Release)
166Office Word 2013 (Pre-Release)
167Office Access 2016
168Office Excel 2016
169Office Mondo 2016
170Office Mondo R 2016
171Office OneNote 2016
172Office Outlook 2016
173Office Powerpoint 2016
174Office Professional Plus 2016
175Office Project Pro 2016
176Office Project Pro 2016 C2R
177Office Project Standard 2016
178Office Project Standard 2016 C2R
179Office Publisher 2016
180Office Skype for Business 2016
181Office Standard 2016
182Office Visio Pro 2016
183Office Visio Pro 2016 C2R
184Office Visio Standard 2016
185Office Visio Standard 2016 C2R
186Office Word 2016
187Office Professional Plus 2019 C2R Preview
188Office Project Pro 2019 C2R Preview
189Office Visio Pro 2019 C2R Preview
190Office Access 2019
191Office Excel 2019
192Office Outlook 2019
193Office Powerpoint 2019
194Office Professional Plus 2019
195Office Project Pro 2019
196Office Project Standard 2019
197Office Publisher 2019
198Office Skype for Business 2019
199Office Standard 2019
200Office Visio Pro 2019
201Office Visio Standard 2019
202Office Word 2019

参考资料
[1]本站上线KMS服务~一句命令激活windows/office | 零散坑知识分享
[2]配置vlmcsd,让你的Linux服务器瞬间变成KMS服务器 - 柠檬的随想空间
[3]Wind4/vlmcsd: KMS Emulator in C (currently runs on Linux including Android, FreeBSD, Solaris, Minix, Mac OS, iOS, Windows with or without Cygwin)
[4]kkkgo/vlmcsd: 🔑Portable open-source KMS Emulator in C