feng的博客feng的博客
  • 首页
  • synology
  • windows
  • Linux
  • docker
  • 源码分享
登陆
首页 windows正文

KMS激活使用方法

sunfeng 2024-07-10 10:55 阅读数 228 #windows


一般来说,只要确保的下载的是VL批量版本并且没有手动安装过任何key, 你只需要使用管理员权限运行cmd执行两句命令就足够:

slmgr /skms sunfeng.vip:30024
slmgr /ato

这句命令的意思是,马上对当前设置的key和服务器地址等进行尝试激活操作。

kms激活的前提是你的系统是批量授权版本,即VL版,一般企业版都是VL版,专业版有零售和VL版,家庭版旗舰版OEM版等等那就肯定不能用kms激活。一般建议从http://msdn.itellyou.cn⁠上面下载系统 VL版本的镜像一般内置GVLK key,用于kms激活。如果你手动输过其他key,那么这个内置的key就会被替换掉,这个时候如果你想用kms,那么就需要把GVLK key输回去。首先, 到https://technet.microsoft.com/en-us/library/jj612867.aspx⁠ 获取你对应版本的KEY 如果打不开下面有对应的

如果不知道自己的系统是什么版本,可以运行以下命令查看系统版本:

wmic os get caption

得到对应key之后,使用管理员权限运行cmd执行安装key:

slmgr /ipk xxxxx-xxxxx-xxxxx-xxxxx

然后跟上面说的一样设置kms服务器地址,激活。

slmgr -upk 卸载原秘钥

slmgr -ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX  安装key

slmgr -skms  sunfeng.vip:30024 (网上好多,有效的即可)

slmgr -ato

slmgr -dlv

一句命令激活OFFICE

首先你的OFFICE必须是VOL版本,否则无法激活。 找到你的office安装目录,比如

C:\Program Files (x86)\Microsoft Office\Office16

64位的就是

C:\Program Files\Microsoft Office\Office16

office16是office2016,office15就是2013,office14就是2010.

然后目录对的话,该目录下面应该有个OSPP.VBS。

接下来我们就cd到这个目录下面,例如:

cd C:\Program Files (x86)\Microsoft Office\Office16

然后执行注册kms服务器地址:

cscript ospp.vbs /sethst:kms.luody.info

/sethst参数就是指定kms服务器地址。

一般ospp.vbs可以拖进去cmd窗口,所以也可以这么弄:

cscript "C:\Program Files (x86)\Microsoft Office\Office16\OSPP.VBS" /sethst:kms.luody.info

一般来说,“一句命令已经完成了”,但一般office不会马上连接kms服务器进行激活,所以我们额外补充一条手动激活命令:

cscript ospp.vbs /act

如果提示看到successful的字样,那么就是激活成功了,重新打开office就好。

## 如果遇到报错,请检查:

  1. 你的系统/OFFICE是否是批量VL版本

  2. 是否以管理员权限运行CMD

  3. 你的系统/OFFICE是否修改过KEY/未安装GVLK KEY

  4. 检查你的网络连接

  5. 服务器繁忙,多试试(点击检查KMS服务是否可用)

  6. 根据出错代码自己搜索出错原因

Windows GVLK密钥对照表(KMS激活专用)

以下key来源于微软官网:https://technet.microsoft.com/en-us/library/jj612867.aspx⁠

Windows Server 2016

操作系统KMS激活序列号
Windows Server 2016 DatacenterCB7KF-BWN84-R7R2Y-793K2-8XDDG
Windows Server 2016 StandardWC2BQ-8NRM3-FDDYY-2BFGV-KHKQY
Windows Server 2016 EssentialsJCKRF-N37P4-C2D82-9YXRT-4M63B

Windows 10

操作系统KMS激活序列号
Windows 10 ProfessionalW269N-WFGWX-YVC9B-4J6C9-T83GX
Windows 10 Professional NMH37W-N47XK-V7XM9-C7227-GCQG9
Windows 10 EnterpriseNPPR9-FWDCX-D2C8J-H872K-2YT43
Windows 10 Enterprise NDPH2V-TTNVB-4X9Q3-TJR4H-KHJW4
Windows 10 EducationNW6C2-QMPVW-D7KKK-3GKT6-VCFB2
Windows 10 Education N2WH4N-8QGBV-H22JP-CT43Q-MDWWJ
Windows 10 Enterprise 2015 LTSBWNMTR-4C88C-JK8YV-HQ7T2-76DF9
Windows 10 Enterprise 2015 LTSB N2F77B-TNFGY-69QQF-B8YKP-D69TJ
Windows 10 Enterprise 2016 LTSBDCPHK-NFMTC-H88MJ-PFHPY-QJ4BJ
Windows 10 Enterprise 2016 LTSB NQFFDN-GRT3P-VKWWX-X7T3R-8B639

Windows 10 Enterprise LTSC 2019的产品密钥是M7XTQ-FN8P6-TTKYV-9D4CC-J462D / MBQRK-FNDW8-B7GF4-V9PCW-6MV77

Windows10 Enterprise N LTSC2019产品密钥:2NFX-8DJQP-P6BBQ-THF9C-7CG2H

Windows10 Enterprise LTSC 2021全新永久性密钥:

NJ4MX-VQQ7Q-FP3DB-VDGHX-7XM87

MH37W-N47XK-V7XM9-C7227-GCQG9

KNXB4-F82M9-TB3X9-P9PQ6-RRG6Y

H4P26-TH7MK-493PP-8HHGH-Q98QT

4G8GX-F3J3P-3KVMG-BG6RB-WCDGR

TPJ6C-YY8KK-Y7XHQ-GDW7H-DFQJV

CKQMQ-DNPGJ-2FQGT-M3Q2W-Q68K3

Windows Server 2012 R2 和 Windows 8.1

操作系统KMS激活序列号
Windows 8.1 ProfessionalGCRJD-8NW9H-F2CDX-CCM8D-9D6T9
Windows 8.1 Professional NHMCNV-VVBFX-7HMBH-CTY9B-B4FXY
Windows 8.1 EnterpriseMHF9N-XY6XB-WVXMC-BTDCT-MKKG7
Windows 8.1 Enterprise NTT4HM-HN7YT-62K67-RGRQJ-JFFXW
Windows Server 2012 R2 Server StandardD2N9P-3P6X9-2R39C-7RTCD-MDVJX
Windows Server 2012 R2 DatacenterW3GGN-FT8W3-Y4M27-J84CP-Q3VJ9
Windows Server 2012 R2 EssentialsKNC87-3J2TX-XB4WP-VCPJV-M4FWM

Windows Server 2012 和 Windows 8

操作系统KMS激活序列号
Windows 8 ProfessionalNG4HW-VH26C-733KW-K6F98-J8CK4
Windows 8 Professional NXCVCF-2NXM9-723PB-MHCB7-2RYQQ
Windows 8 Enterprise32JNW-9KQ84-P47T8-D8GGY-CWCK7
Windows 8 Enterprise NJMNMF-RHW7P-DMY6X-RF3DR-X2BQT
Windows Server 2012BN3D2-R7TKB-3YPBD-8DRP2-27GG4
Windows Server 2012 N8N2M2-HWPGY-7PGT9-HGDD8-GVGGY
Windows Server 2012 Single Language2WN2H-YGCQR-KFX6K-CD6TF-84YXQ
Windows Server 2012 Country Specific4K36P-JN4VD-GDC6V-KDT89-DYFKP
Windows Server 2012 Server StandardXC9B7-NBPP2-83J2H-RHMBY-92BT4
Windows Server 2012 MultiPoint StandardHM7DN-YVMH3-46JC3-XYTG7-CYQJJ
Windows Server 2012 MultiPoint PremiumXNH6W-2V9GX-RGJ4K-Y8X6F-QGJ2G
Windows Server 2012 Datacenter48HP8-DN98B-MYWDG-T2DCC-8W83P

Windows 7 and Windows Server 2008 R2

操作系统KMS激活序列号
Windows 7 ProfessionalFJ82H-XT6CR-J8D7P-XQJJ2-GPDD4
Windows 7 Professional NMRPKT-YTG23-K7D7T-X2JMM-QY7MG
Windows 7 Professional EW82YF-2Q76Y-63HXB-FGJG9-GF7QX
Windows 7 Enterprise33PXH-7Y6KF-2VJC9-XBBR8-HVTHH
Windows 7 Enterprise NYDRBP-3D83W-TY26F-D46B2-XCKRJ
Windows 7 Enterprise EC29WB-22CC8-VJ326-GHFJW-H9DH4
Windows Server 2008 R2 Web6TPJF-RBVHG-WBW2R-86QPH-6RTM4
Windows Server 2008 R2 HPC editionTT8MH-CG224-D3D7Q-498W2-9QCTX
Windows Server 2008 R2 StandardYC6KT-GKW9T-YTKYR-T4X34-R7VHC
Windows Server 2008 R2 Enterprise489J6-VHDMP-X63PK-3K798-CPX3Y
Windows Server 2008 R2 Datacenter74YFP-3QFB3-KQT8W-PMXWJ-7M648
Windows Server 2008 R2 for Itanium-based SystemsGT63C-RJFQ3-4GMB6-BRFB9-CB83V

Windows Vista and Windows Server 2008

操作系统KMS激活序列号
Windows Vista BusinessYFKBB-PQJJV-G996G-VWGXY-2V3X8
Windows Vista Business NHMBQG-8H2RH-C77VX-27R82-VMQBT
Windows Vista EnterpriseVKK3X-68KWM-X2YGT-QR4M6-4BWMV
Windows Vista Enterprise NVTC42-BM838-43QHV-84HX6-XJXKV
Windows Web Server 2008WYR28-R7TFJ-3X2YQ-YCY4H-M249D
Windows Server 2008 StandardTM24T-X9RMF-VWXK6-X8JC9-BFGM2
Windows Server 2008 Standard without Hyper-VW7VD6-7JFBR-RX26B-YKQ3Y-6FFFJ
Windows Server 2008 EnterpriseYQGMW-MPWTJ-34KDK-48M3W-X4Q6V
Windows Server 2008 Enterprise without Hyper-V39BXF-X8Q23-P2WWT-38T2F-G3FPG
Windows Server 2008 HPCRCTX3-KWVHP-BR6TB-RB6DM-6X7HP
Windows Server 2008 Datacenter7M67G-PC374-GR742-YH8V4-TCBY3
Windows Server 2008 Datacenter without Hyper-V22XQ2-VRXRG-P8D42-K34TD-G3QQC
Windows Server 2008 for Itanium-Based Systems4DWFP-JF3DJ-B7DTH-78FJB-PDRHK

 

适用于:Windows 10 LTSC 2021、Windows Server 2022、Windows Server 2019、Windows Server 半年频道、Windows Server 2016、Windows 10

 

安装产品密钥

如果要将计算机从 KMS 主机、MAK 或 Windows 零售版转换为 KMS 客户端,请从以下列表中安装适用的产品密钥 (GVLK)。若要安装客户端产品密钥,请在客户端上打开管理命令提示符,然后运行以下命令,然后按:Enter

slmgr /ipk <product key>

例如,若要安装 Windows Server 2022 Datacenter 版本的产品密钥,请运行以下命令,然后按:Enter

slmgr /ipk WX4NM-KYWYW-QJJR4-XV3QB-6VM33

通用批量许可证密钥 (GVLK)

在下面的表格中,你将找到每个版本和 Windows 版本的 GVLK。LTSC 是长期服务渠道,而 LTSB 是长期服务分支。

Windows Server (LTSC versions)

Windows Server 2022

操作系统版本KMS 客户端产品密钥
Windows Server 2022 DatacenterWX4NM-KYWYW-QJJR4-XV3QB-6VM33
Windows Server 2022 Datacenter
Azure Edition
NTBV8-9K7Q8-V27C6-M2BTV-KHMXV
Windows Server 2022 StandardVDYBN-27WPP-V4HQT-9VMD4-VMK7H

Windows Server 2019

操作系统版本KMS 客户端产品密钥
Windows Server 2019 DatacenterWMDGN-G9PQG-XVVXX-R3X43-63DFG
Windows Server 2019 StandardN69G4-B89J2-4G8F4-WWYCC-J464C
Windows Server 2019 EssentialsWVDHN-86M7X-466P6-VHXV7-YY726

Windows Server 2016

操作系统版本KMS 客户端产品密钥
Windows Server 2016 DatacenterCB7KF-BWN84-R7R2Y-793K2-8XDDG
Windows Server 2016 StandardWC2BQ-8NRM3-FDDYY-2BFGV-KHKQY
Windows Server 2016 EssentialsJCKRF-N37P4-C2D82-9YXRT-4M63B

Windows Server (半年频道版本)

Windows Server, versions 20H2, 2004, 1909, 1903, and 1809

操作系统版本KMS 客户端产品密钥
Windows Server Datacenter6NMRW-2C8FM-D24W7-TQWMY-CWH2D
Windows Server StandardN2KJX-J94YW-TQVFB-DG9YT-724CC

Windows 11 and Windows 10 (半年频道版本)

有关支持的版本和服务终止日期的信息,请参阅 Windows 生命周期情况说明书。

操作系统版本KMS 客户端产品密钥
Windows 11 Pro
Windows 10 Pro
W269N-WFGWX-YVC9B-4J6C9-T83GX
Windows 11 Pro N
Windows 10 Pro N
MH37W-N47XK-V7XM9-C7227-GCQG9
Windows 11 Pro for Workstations
Windows 10 Pro for Workstations
NRG8B-VKK3Q-CXVCJ-9G2XF-6Q84J
Windows 11 Pro for Workstations N
Windows 10 Pro for Workstations N
9FNHH-K3HBT-3W4TD-6383H-6XYWF
Windows 11 Pro Education
Windows 10 Pro Education
6TP4R-GNPTD-KYYHQ-7B7DP-J447Y
Windows 11 Pro Education N
Windows 10 Pro Education N
YVWGF-BXNMC-HTQYQ-CPQ99-66QFC
Windows 11 Education
Windows 10 Education
NW6C2-QMPVW-D7KKK-3GKT6-VCFB2
Windows 11 Education N
Windows 10 Education N
2WH4N-8QGBV-H22JP-CT43Q-MDWWJ
Windows 11 Enterprise
Windows 10 Enterprise
NPPR9-FWDCX-D2C8J-H872K-2YT43
Windows 11 Enterprise N
Windows 10 Enterprise N
DPH2V-TTNVB-4X9Q3-TJR4H-KHJW4
Windows 11 Enterprise G
Windows 10 Enterprise G
YYVX9-NTFWV-6MDM3-9PT4T-4M68B
Windows 11 Enterprise G N
Windows 10 Enterprise G N
44RPN-FTY23-9VTTB-MP9BX-T84FV

Windows 10 (LTSC/LTSB versions)

Windows 10 LTSC 2021 and 2019

操作系统版本KMS 客户端产品密钥
Windows 10 Enterprise LTSC 2021
Windows 10 Enterprise LTSC 2019
M7XTQ-FN8P6-TTKYV-9D4CC-J462D
Windows 10 Enterprise N LTSC 2021
Windows 10 Enterprise N LTSC 2019
92NFX-8DJQP-P6BBQ-THF9C-7CG2H

Windows 10 LTSB 2016

操作系统版本KMS 客户端产品密钥
Windows 10 Enterprise LTSB 2016DCPHK-NFMTC-H88MJ-PFHPY-QJ4BJ
Windows 10 Enterprise N LTSB 2016QFFDN-GRT3P-VKWWX-X7T3R-8B639

Windows 10 LTSB 2015

操作系统版本KMS 客户端产品密钥
Windows 10 Enterprise 2015 LTSBWNMTR-4C88C-JK8YV-HQ7T2-76DF9
Windows 10 Enterprise 2015 LTSB N2F77B-TNFGY-69QQF-B8YKP-D69TJ

Earlier versions of Windows Server

Windows Server, version 1803

操作系统版本KMS 客户端产品密钥
Windows Server Datacenter2HXDN-KRXHB-GPYC7-YCKFJ-7FVDG
Windows Server StandardPTXN8-JFHJM-4WC78-MPCBR-9W4KR

Windows Server, version 1709

操作系统版本KMS 客户端产品密钥
Windows Server Datacenter6Y6KB-N82V8-D8CQV-23MJW-BWTG6
Windows Server StandardDPCNP-XQFKJ-BJF7R-FRC8D-GF6G4

Windows Server 2012 R2

操作系统版本KMS 客户端产品密钥
Windows Server 2012 R2 StandardD2N9P-3P6X9-2R39C-7RTCD-MDVJX
Windows Server 2012 R2 DatacenterW3GGN-FT8W3-Y4M27-J84CP-Q3VJ9
Windows Server 2012 R2 EssentialsKNC87-3J2TX-XB4WP-VCPJV-M4FWM

Windows Server 2012

操作系统版本KMS 客户端产品密钥
Windows Server 2012BN3D2-R7TKB-3YPBD-8DRP2-27GG4
Windows Server 2012 N8N2M2-HWPGY-7PGT9-HGDD8-GVGGY
Windows Server 2012 Single Language2WN2H-YGCQR-KFX6K-CD6TF-84YXQ
Windows Server 2012 Country Specific4K36P-JN4VD-GDC6V-KDT89-DYFKP
Windows Server 2012 StandardXC9B7-NBPP2-83J2H-RHMBY-92BT4
Windows Server 2012 MultiPoint StandardHM7DN-YVMH3-46JC3-XYTG7-CYQJJ
Windows Server 2012 MultiPoint PremiumXNH6W-2V9GX-RGJ4K-Y8X6F-QGJ2G
Windows Server 2012 Datacenter48HP8-DN98B-MYWDG-T2DCC-8W83P
Windows Server 2012 EssentialsHTDQM-NBMMG-KGYDT-2DTKT-J2MPV

Windows Server 2008 R2

操作系统版本KMS 客户端产品密钥
Windows Server 2008 R2 Web6TPJF-RBVHG-WBW2R-86QPH-6RTM4
Windows Server 2008 R2 HPC editionTT8MH-CG224-D3D7Q-498W2-9QCTX
Windows Server 2008 R2 StandardYC6KT-GKW9T-YTKYR-T4X34-R7VHC
Windows Server 2008 R2 Enterprise489J6-VHDMP-X63PK-3K798-CPX3Y
Windows Server 2008 R2 Datacenter74YFP-3QFB3-KQT8W-PMXWJ-7M648
Windows Server 2008 R2 for Itanium-based SystemsGT63C-RJFQ3-4GMB6-BRFB9-CB83V

Windows Server 2008

操作系统版本KMS 客户端产品密钥
Windows Web Server 2008WYR28-R7TFJ-3X2YQ-YCY4H-M249D
Windows Server 2008 StandardTM24T-X9RMF-VWXK6-X8JC9-BFGM2
Windows Server 2008 Standard without Hyper-VW7VD6-7JFBR-RX26B-YKQ3Y-6FFFJ
Windows Server 2008 EnterpriseYQGMW-MPWTJ-34KDK-48M3W-X4Q6V
Windows Server 2008 Enterprise without Hyper-V39BXF-X8Q23-P2WWT-38T2F-G3FPG
Windows Server 2008 HPCRCTX3-KWVHP-BR6TB-RB6DM-6X7HP
Windows Server 2008 Datacenter7M67G-PC374-GR742-YH8V4-TCBY3
Windows Server 2008 Datacenter without Hyper-V22XQ2-VRXRG-P8D42-K34TD-G3QQC
Windows Server 2008 for Itanium-Based Systems4DWFP-JF3DJ-B7DTH-78FJB-PDRHK

Earlier versions of Windows

Windows 8.1

操作系统版本KMS 客户端产品密钥
Windows 8.1 ProGCRJD-8NW9H-F2CDX-CCM8D-9D6T9
Windows 8.1 Pro NHMCNV-VVBFX-7HMBH-CTY9B-B4FXY
Windows 8.1 EnterpriseMHF9N-XY6XB-WVXMC-BTDCT-MKKG7
Windows 8.1 Enterprise NTT4HM-HN7YT-62K67-RGRQJ-JFFXW

Windows 8

操作系统版本KMS 客户端产品密钥
Windows 8 ProNG4HW-VH26C-733KW-K6F98-J8CK4
Windows 8 Pro NXCVCF-2NXM9-723PB-MHCB7-2RYQQ
Windows 8 Enterprise32JNW-9KQ84-P47T8-D8GGY-CWCK7
Windows 8 Enterprise NJMNMF-RHW7P-DMY6X-RF3DR-X2BQT

Windows 7

操作系统版本KMS 客户端产品密钥
Windows 7 ProfessionalFJ82H-XT6CR-J8D7P-XQJJ2-GPDD4
Windows 7 Professional NMRPKT-YTG23-K7D7T-X2JMM-QY7MG
Windows 7 Professional EW82YF-2Q76Y-63HXB-FGJG9-GF7QX
Windows 7 Enterprise33PXH-7Y6KF-2VJC9-XBBR8-HVTHH
Windows 7 Enterprise NYDRBP-3D83W-TY26F-D46B2-XCKRJ
Windows 7 Enterprise EC29WB-22CC8-VJ326-GHFJW-H9DH4

Windows Vista

操作系统版本KMS 客户端产品密钥
Windows Vista BusinessYFKBB-PQJJV-G996G-VWGXY-2V3X8
Windows Vista Business NHMBQG-8H2RH-C77VX-27R82-VMQBT
Windows Vista EnterpriseVKK3X-68KWM-X2YGT-QR4M6-4BWMV
Windows Vista Enterprise NVTC42-BM838-43QHV-84HX6-XJXKV

 


上一篇:xcopy Windows下使用cmd命令将A文件夹copy到B文件夹 下一篇:群晖NAS(DSM7.2)安装Mtab导航书签,并设置伪静态规则
相关文章
  • 在windows下使用bat脚本“映射网络驱动器”

    分享一个局域网手动映射网络驱动器.bat脚本:下载地址  ,双击脚本,根据提示输入正确信息即可。外网通过web...

    2025-05-21 14:02 4阅读 #windows
    在windows下使用bat脚本“映射网络驱动器”
  • 在 Windows 上安装 .Appx 或 .AppxBundle 应用及启用开发人员模式

    在 Windows 11 和 Windows 10 系统中,「通用 Windows 平台」(UWP)应用程序采用了.Ap...

    2024-12-31 14:02 554阅读 #windows
    在 Windows 上安装 .Appx 或 .AppxBundle 应用及启用开发人员模式
  • 为"更改适配器" 选项 创建快捷方式

    右键单击桌面上的空白区域,然后单击 "新建" 和 "快捷方式"输入以下任意一个地...

    2024-10-08 10:18 252阅读 #windows
    为"更改适配器" 选项 创建快捷方式
  • Windows 10 LTSC 2021最快捷的安装Microsoft Store的方法

    注意,此方法会从【Windows10 企业版 LTSC】变为【Windows10 IoT 企业版 LTSC】。微软官方解...

    2024-09-04 14:55 292阅读 #windows
    Windows 10 LTSC 2021最快捷的安装Microsoft Store的方法
  • 解决远程桌面报错:由于没有远程桌面授权服务器可以提供许可证,远程会话连接已断开请跟服务器管理员联系。

    解决Windows远程桌面连接“由于没有远程桌面授权服务器可以提供许可证,远程会话连接已断开请跟服务器管理员联系。”问题...

    2024-09-02 14:35 273阅读 #windows
    解决远程桌面报错:由于没有远程桌面授权服务器可以提供许可证,远程会话连接已断开请跟服务器管理员联系。
  • KMS激活使用方法

    一般来说,只要确保的下载的是VL批量版本并且没有手动安装过任何key, 你只需要使用管理员权限运行cmd执行两句命令就足...

    2024-07-10 10:55 228阅读 #windows
    KMS激活使用方法

发表评论:取消回复

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

搜索
孙锋

孙锋

作者文章
  • 在windows下使用bat脚本“映射网络驱动器” 2025-05-21 14:02
  • 群晖Synology登录提示:“此 IP 地址已被封锁”,如何解决? 2025-04-08 17:28
  • Synology NAS 出现故障时,如何使用 PC 恢复数据? 2025-03-13 13:34
  • Synology群晖利用Easytier开源方案实现去中心化的免费内网穿透 2025-03-04 12:34
  • Linux scp 命令详解 2025-03-01 21:38
浏览更多
导航栏
  • 首页
  • synology
  • windows
  • Linux
  • docker
  • 源码分享
标签列表