Skip to content

kms

kms激活windows操作系统

kms server

docker run -d -p 1688:1688 --restart=always --name kms mikolatero/vlmcsd

active

激活 windows

管理员身份运行

1
2
3
4
5
6
7
slmgr.vbs /upk

slmgr /ipk <key>

slmgr /skms <kms-server>

slmgr /ato

e.g. 激活win10, win11专业版

1
2
3
4
5
6
7
slmgr.vbs /upk

slmgr /ipk W269N-WFGWX-YVC9B-4J6C9-T83GX

slmgr /skms your_kms_server

slmgr /ato

激活 office

office必须是vol版本,否则无法激活

找到office安装目录

  • 32位系统 C:\Program Files (x86)\Microsoft Office\Office16
  • 64位系统 C:\Program Files\Microsoft Office\Office16

office16是office2016 office15就是2013 office14就是2010

执行

cscript ospp.vbs /sethst:your_kms_server
  • /sethst参数就是指定kms服务器地址

一般office不会马上连接kms服务器进行激活,额外补充一条手动激活命令

cscript ospp.vbs /act

server key

Windows Server 2016

Operating system edition KMS Client Setup Key
Windows Server 2016 Datacenter CB7KF-BWN84-R7R2Y-793K2-8XDDG
Windows Server 2016 Standard WC2BQ-8NRM3-FDDYY-2BFGV-KHKQY
Windows Server 2016 Essentials JCKRF-N37P4-C2D82-9YXRT-4M63B

Windows 10

Operating system edition KMS Client Setup Key
Windows 10 Professional W269N-WFGWX-YVC9B-4J6C9-T83GX
Windows 10 Professional N MH37W-N47XK-V7XM9-C7227-GCQG9
Windows 10 Enterprise NPPR9-FWDCX-D2C8J-H872K-2YT43
Windows 10 Enterprise N DPH2V-TTNVB-4X9Q3-TJR4H-KHJW4
Windows 10 Education NW6C2-QMPVW-D7KKK-3GKT6-VCFB2
Windows 10 Education N 2WH4N-8QGBV-H22JP-CT43Q-MDWWJ
Windows 10 Enterprise 2015 LTSB WNMTR-4C88C-JK8YV-HQ7T2-76DF9
Windows 10 Enterprise 2015 LTSB N 2F77B-TNFGY-69QQF-B8YKP-D69TJ
Windows 10 Enterprise 2016 LTSB DCPHK-NFMTC-H88MJ-PFHPY-QJ4BJ
Windows 10 Enterprise 2016 LTSB N QFFDN-GRT3P-VKWWX-X7T3R-8B639