KMS 激活

简单介绍

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

使用

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

Windows

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

如果系统不支持,可以考虑到 NEXT, ITELLYOU 下载正版镜像重装。
Windows 进行激活管理的是 slmgr 程序,需要在管理员权限的命令提示符下运行
图

执行以下命令就行

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

slmgr /ato
#立刻尝试激活

Office 系列

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

进阶操作 - 搭建 kms 服务器

!免责声明:请尽可能避免在公网上部署 KMS 服务器!这是一种盗版行为,小心微软的律师函 or 服务器被封停!这不是开玩笑!!
注意: 这并不是微软官方的 KMS 服务器,只是能够骗过微软验证的伪 KMS 服务器。
请勿将此服务用于商业用途!

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

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

程序名 描述
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 地址
1 kms.ljcbaby.top
2 kms.03k.org
3 kms.chinancce.com
4 kms.lotro.cc
More?

支持产品

支持产品

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

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