前言
vlmcsd是一个开源的KMS(Key Management Service,密钥管理服务)模拟器。C语言版本的vlmcsd现在可以运行于Linux(包括Android)、FreeBSD、Solaris、Minix、Mac OS、iOS和Windows上。
我们可以利用vlmcsd学习Windows和Office的KMS激活机制。
关心激活的朋友请直接跳转到Windows篇或Office篇,在本文附录可获取KMS安装序列号。
vlmcsd
以下内容来自vlmcsd的讨论页。
vlmcsd is · a replacement for Microsoft’s KMS server · It contains vlmcs, a KMS test client, mainly for debugging purposes, that also can “charge” a genuine KMS server · designed to run on an always-on or often-on device, e.g. router, NAS Box, … · intended to help people who lost activation of their legally-owned licenses, e.g. due to a change of hardware (motherboard, CPU, …)
vlmcsd is not · a one-click activation or crack tool · intended to activate illegal copies of software (Windows, Office, Project, Visio)
Source and binaries: http://rgho.st/8hXKrr9Dd Source only: http://rgho.st/8z9BVlkVC
7zip password is 2017
在64位Linux服务器上搭建KMS模拟器只需运行binaries/Linux/intel/static/vlmcsd-x64-musl-static即可,其他环境类似,在此不再赘述。本站也搭建了KMS模拟器({% raw %}kms.ribo.fun:1688{% endraw %})供实验使用。
另外,python版本的KMS模拟器也可在GitHub上找到。
Windows篇
本方法对Windows Vista/7/8/8.1/10有效。
- 右键点击“开始菜单”,运行“PowerShell(管理员)”(对于操作系统版本10.0.15063及以上)或“命令提示符(管理员)”(对于更低的操作系统版本);
- 输入“slmgr /upk”并回车,卸载当前产品密钥;
- 输入“slmgr /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX”(将XXXXX-XXXXX-XXXXX-XXXXX-XXXXX替换为正确的25位KMS密钥)并回车,安装新的产品密钥;
- 输入“slmgr /skms <KMS Server>”(将<KMS Server>替换为你的KMS服务器,例如 {% raw %}kms.ribo.fun:1688{% endraw %})并回车,设置KMS服务器;
- 输入“slmgr /ato”并回车,尝试利用KMS服务器激活;
- 输入“slmgr /dli”并回车,查看激活状态(此步骤可选)。
Office篇
日常不想更新..下次有空了在更 ヾ(o◕∀◕)ノヾ
(2018.3.22 更新:叫我拖更小王子哈哈哈哈w)
(2019.9.9 更新:Office篇)
本方法对Office 2016/2019有效。
- 在Office安装目录找到ospp.vbs;
- 打开命令提示符(可能需要管理员权限),切换到包含ospp.vbs的目录;
- 输入“cscript ospp.vbs /dstatus”并回车,查看当前许可证是VOLUME还是RETAIL通道,若为VOLUME通道可直接跳至第5步;
- 若为RETAIL通道则根据需求输入以下命令,增加VOLUME通道:
|
|
- 输入“cscript ospp.vbs /unpkey:XXXXX”(将XXXXX替换为当前产品密钥的末5位)并回车,卸载当前产品密钥;
- 输入“cscript ospp.vbs /inpkey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX”(将XXXXX-XXXXX-XXXXX-XXXXX-XXXXX替换为正确的25位KMS密钥)并回车,安装新的产品密钥;
- 输入“cscript ospp.vbs /sethst:<KMS Server>”(将<KMS Server>替换为你的KMS服务器,例如 {% raw %}kms.ribo.fun:1688{% endraw %})并回车,设置KMS服务器;
- 输入“cscript ospp.vbs /act”并回车,尝试利用KMS服务器激活;
- 输入“cscript ospp.vbs /dstatus”并回车,查看激活状态(此步骤可选)。
附录:KMS Client Setup Keys
(以下表格在PC端显示效果最佳,完整表格请前往微软MSDN Library获得)
Windows 10
OPERATING SYSTEM EDITION | KMS CLIENT SETUP KEY |
---|---|
Windows 10 Professional | W269N-WFGWX-YVC9B-4J6C9-T83GX |
Windows 10 Enterprise | NPPR9-FWDCX-D2C8J-H872K-2YT43 |
Windows 10 Education | NW6C2-QMPVW-D7KKK-3GKT6-VCFB2 |
Windows 10 Enterprise 2015 LTSB | WNMTR-4C88C-JK8YV-HQ7T2-76DF9 |
Windows 10 Enterprise 2016 LTSB | DCPHK-NFMTC-H88MJ-PFHPY-QJ4BJ |
Windows 8.1
OPERATING SYSTEM EDITION | KMS CLIENT SETUP KEY |
---|---|
Windows 8.1 Professional | GCRJD-8NW9H-F2CDX-CCM8D-9D6T9 |
Windows 8.1 Enterprise | MHF9N-XY6XB-WVXMC-BTDCT-MKKG7 |
Windows 8
OPERATING SYSTEM EDITION | KMS CLIENT SETUP KEY |
---|---|
Windows 8 Professional | NG4HW-VH26C-733KW-K6F98-J8CK4 |
Windows 8 Enterprise | 32JNW-9KQ84-P47T8-D8GGY-CWCK7 |
Windows 7
OPERATING SYSTEM EDITION | KMS CLIENT SETUP KEY |
---|---|
Windows 7 Professional | FJ82H-XT6CR-J8D7P-XQJJ2-GPDD4 |
Windows 7 Enterprise | 33PXH-7Y6KF-2VJC9-XBBR8-HVTHH |
Windows Vista
OPERATING SYSTEM EDITION | KMS CLIENT SETUP KEY |
---|---|
Windows Vista Business | YFKBB-PQJJV-G996G-VWGXY-2V3X8 |
Windows Vista Enterprise | VKK3X-68KWM-X2YGT-QR4M6-4BWMV |
Office 2019
SOFTWARE EDITION | KMS CLIENT SETUP KEY |
---|---|
Office Pro Plus 2019 | NMMKJ-6RK4F-KMJVX-8D9MJ-6MWKP |
Office Std 2019 | 6NWWJ-YQWMR-QKGCB-6TMB3-9D9HK |
Project Pro 2019 | B4NPR-3FKK7-T2MBV-FRQ4W-PKD2B |
Project Std 2019 | C4F7P-NCP8C-6CQPT-MQHV9-JXD2M |
Visio Pro 2019 | 9BGNQ-K37YR-RQHF2-38RQ3-7VCBB |
Visio Std 2019 | 7TQNQ-K3YQQ-3PFH7-CCPPM-X4VQ2 |
Office 2016
SOFTWARE EDITION | KMS CLIENT SETUP KEY |
---|---|
Office Pro Plus 2016 | XQNVK-8JYDB-WJ9W3-YJ8YR-WFG99 |
Office Std 2016 | JNRGM-WHDWX-FJJG3-K47QV-DRTFM |
Project Pro 2016 | YG9NW-3K39V-2T3HJ-93F3Q-G83KT |
Project Std 2016 | GNFHQ-F6YQM-KQDGJ-327XX-KQBVC |
Visio Pro 2016 | PD3PC-RHNGV-FXJ29-8JK7D-RJRJK |
Visio Std 2016 | 7WHWN-4T7MP-G96JF-G33KR-W8GF4 |