Key Management Services (KMS) client activation and product keys
密钥管理服务(KMS)客户端激活和产品密钥
To use KMS, you need to have a KMS host available on your local network. Computers that activate with a KMS host need to have a specific product key. This key is sometimes referred to as the KMS client key, but it is formally known as a Microsoft Generic Volume License Key (GVLK). Computers that are running volume licensing editions of Windows Server and Windows client are, by default, KMS clients with no extra configuration needed as the relevant GVLK is already there.
要使用 KMS,您需要在您的本地网络上提供一个 KMS 主机。使用 KMS 主机激活的计算机需要具有特定的产品密钥。这个密钥有时被称为 KMS 客户端密钥,但它的正式名称是微软通用大量授权金钥密钥(GVLK)。默认情况下,运行 Windows Server 和 Windows 客户机批量授权版本的计算机是不需要额外配置的 KMS 客户机,因为相关的 GVLK 已经存在。
There are some scenarios, however, where you will need to add the GVLK to the computer you wish to activate against a KMS host, such as:
然而,在某些情况下,您需要将 GVLK 添加到您希望针对 KMS 主机激活的计算机上,例如:
- Converting a computer from using a Multiple Activation Key (MAK)
- 从使用多个激活密钥(MAK)转换计算机
- Converting a retail license of Windows to a KMS client
- 将 Windows 的零售许可转换为 KMS 客户端
- If the computer was previously a KMS host.
- 如果计算机以前是 KMS 主机。
Important
重要事项
To use the keys listed here (which are GVLKs), you must first have a KMS host available on your local network. If you don't already have a KMS host, please see how to create a KMS host to learn more.
要使用这里列出的密钥(GVLKs) ,您必须首先在本地网络上有一个可用的 KMS 主机。如果你还没有一个知识管理系统的主机,请看看如何创建一个知识管理系统的主机,以了解更多。
If you want to activate Windows without a KMS host available and outside of a volume-activation scenario (for example, you're trying to activate a retail version of Windows client), these keys will not work. You will need to use another method of activating Windows, such as using a MAK, or purchasing a retail license. Get help to find your Windows product key and learn about genuine versions of Windows.
如果您想在没有可用的 KMS 主机和卷激活场景之外激活 Windows (例如,您正试图激活一个零售版本的 Windows 客户端) ,这些密钥将不起作用。您将需要使用另一种激活 Windows 的方法,如使用 MAK,或购买零售许可证。获得帮助,找到您的 Windows 产品密钥,并了解正版 Windows。
Install a product key 安装产品密钥
If you are converting a computer from a KMS host, MAK, or retail edition of Windows to a KMS client, install the applicable product key (GVLK) from the list below. To install a client product key, open an administrative command prompt on the client, and run the following command and then press Enter
:
如果您正在将计算机从 KMS 主机、 MAK 或 Windows 的零售版转换为 KMS 客户端,请从下面的列表中安装适用的产品密钥(GVLK)。要安装客户端产品密钥,请在客户端上打开一个管理命令提示符,然后运行以下命令,然后按 Enter:
slmgr /ipk <product key>
For example, to install the product key for Windows Server 2022 Datacenter edition, run the following command and then press Enter
:
例如,要安装 Windows Server 2022 Datacenter 版本的产品密钥,请运行以下命令,然后按 Enter:
slmgr /ipk WX4NM-KYWYW-QJJR4-XV3QB-6VM33
Generic Volume License Keys (GVLK) 通用卷许可证密钥(GVLK)
In the tables that follow, you will find the GVLKs for each version and edition of Windows. LTSC is Long-Term Servicing Channel, while LTSB is Long-Term Servicing Branch.
在下面的表格中,你可以找到 Windows 的每个版本和版本的 GVLKs。长期服务公司是长期服务渠道,而长期服务公司是长期服务部门。
Windows Server (LTSC versions) Windows 服务器(LTSC 版本)
Windows Server 2022 2022
Operating system edition 操作系统版本 | KMS Client Product Key 客户端产品密钥 |
---|---|
Windows Server 2022 Datacenter 2022 Datacenter | WX4NM-KYWYW-QJJR4-XV3QB-6VM33 |
Windows Server 2022 Standard 2022标准 | VDYBN-27WPP-V4HQT-9VMD4-VMK7H |
Windows Server 2019 2019
Operating system edition 操作系统版本 | KMS Client Product Key 客户端产品密钥 |
---|---|
Windows Server 2019 Datacenter 2019数据中心 | WMDGN-G9PQG-XVVXX-R3X43-63DFG Wmdgn-g9pqg-xvxx-r3x43-63dfg |
Windows Server 2019 Standard 2019标准版 Windows Server | N69G4-B89J2-4G8F4-WWYCC-J464C |
Windows Server 2019 Essentials 2019 Essentials | WVDHN-86M7X-466P6-VHXV7-YY726 |
Windows Server 2016 2016
Operating system edition 操作系统版本 | KMS Client Product Key 客户端产品密钥 |
---|---|
Windows Server 2016 Datacenter 2016数据中心 | CB7KF-BWN84-R7R2Y-793K2-8XDDG |
Windows Server 2016 Standard Windows Server 2016标准 | WC2BQ-8NRM3-FDDYY-2BFGV-KHKQY |
Windows Server 2016 Essentials 2016 Essentials | JCKRF-N37P4-C2D82-9YXRT-4M63B |
Windows Server (Semi-Annual Channel versions) Windowsserver (半年度频道版本)
Windows Server, versions 20H2, 2004, 1909, 1903, and 1809 20H2,2004,1909,1903和1809
Operating system edition 操作系统版本 | KMS Client Product Key 客户端产品密钥 |
---|---|
Windows Server Datacenter 服务器数据中心 | 6NMRW-2C8FM-D24W7-TQWMY-CWH2D |
Windows Server Standard Windows 服务器标准 | N2KJX-J94YW-TQVFB-DG9YT-724CC |
Windows 11 and Windows 10 (Semi-Annual Channel versions) Windows11及 windows10(半年度频道版本)
See the Windows lifecycle fact sheet for information about supported versions and end of service dates.
有关支持的版本和服务结束日期的信息,请参阅 Windows 生命周期情况说明。
Operating system edition 操作系统版本 | KMS Client Product Key 客户端产品密钥 |
---|---|
Windows 11 Pro Windows 10 Pro11 Pro Windows 10 Pro |
W269N-WFGWX-YVC9B-4J6C9-T83GX |
Windows 11 Pro N Windows 10 Pro N11 Pro n Windows 10 Pro n |
MH37W-N47XK-V7XM9-C7227-GCQG9 |
Windows 11 Pro for Workstations Windows 10 Pro for Workstations11 Pro for workstation Windows 10 Pro for workstation |
NRG8B-VKK3Q-CXVCJ-9G2XF-6Q84J |
Windows 11 Pro for Workstations N Windows 10 Pro for Workstations N11 Pro for workstation n Windows 10 Pro for workstation n |
9FNHH-K3HBT-3W4TD-6383H-6XYWF |
Windows 11 Pro Education Windows 10 Pro Education11 Pro Education Windows 10 Pro Education |
6TP4R-GNPTD-KYYHQ-7B7DP-J447Y |
Windows 11 Pro Education N Windows 10 Pro Education N11 Pro Education n Windows 10 Pro Education n |
YVWGF-BXNMC-HTQYQ-CPQ99-66QFC Bxnmc-htqyq-cpq99-66qfc |
Windows 11 Education Windows 10 Education11 Education Windows 10 Education |
NW6C2-QMPVW-D7KKK-3GKT6-VCFB2 |
Windows 11 Education N Windows 10 Education N11 Education n Windows 10 Education n |
2WH4N-8QGBV-H22JP-CT43Q-MDWWJ |
Windows 11 Enterprise Windows 10 Enterprise11企业版 Windows 10企业版 |
NPPR9-FWDCX-D2C8J-H872K-2YT43 |
Windows 11 Enterprise N Windows 10 Enterprise N11 Enterprise n Windows 10 Enterprise n |
DPH2V-TTNVB-4X9Q3-TJR4H-KHJW4 |
Windows 11 Enterprise G Windows 10 Enterprise G11 Enterprise g Windows 10 Enterprise g |
YYVX9-NTFWV-6MDM3-9PT4T-4M68B |
Windows 11 Enterprise G N Windows 10 Enterprise G N11 Enterprise g n Windows 10 Enterprise g n |
44RPN-FTY23-9VTTB-MP9BX-T84FV |
Windows 10 (LTSC/LTSB versions) Windows10(LTSC/LTSB 版本)
Windows 10 LTSC 2021 and 2019 10 LTSC 2021和2019
Operating system edition 操作系统版本 | KMS Client Product Key 客户端产品密钥 |
---|---|
Windows 10 Enterprise LTSC 2021 Windows 10 Enterprise LTSC 201910 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 10 LTSB 2016
Operating system edition 操作系统版本 | KMS Client Product Key 客户端产品密钥 |
---|---|
Windows 10 Enterprise LTSB 2016 10 Enterprise LTSB 2016 | DCPHK-NFMTC-H88MJ-PFHPY-QJ4BJ Dcpk-nfmtc-h88mj-pfhpy-qj4bj |
Windows 10 Enterprise N LTSB 201610 Enterprise n LTSB 2016 | QFFDN-GRT3P-VKWWX-X7T3R-8B639 |
Windows 10 LTSB 2015 10 LTSB 2015
Operating system edition 操作系统版本 | KMS Client Product Key 客户端产品密钥 |
---|---|
Windows 10 Enterprise 2015 LTSB 10 Enterprise 2015 LTSB | WNMTR-4C88C-JK8YV-HQ7T2-76DF9 |
Windows 10 Enterprise 2015 LTSB N10 Enterprise 2015 LTSB n | 2F77B-TNFGY-69QQF-B8YKP-D69TJ 2f77b-tnfgy-69qf-b8ykp-d69tj |
Earlier versions of Windows Server Windows 服务器的早期版本
Windows Server, version 1803 1803版本
Operating system edition 操作系统版本 | KMS Client Product Key 客户端产品密钥 |
---|---|
Windows Server Datacenter 服务器数据中心 | 2HXDN-KRXHB-GPYC7-YCKFJ-7FVDG |
Windows Server Standard Windows 服务器标准 | PTXN8-JFHJM-4WC78-MPCBR-9W4KR |
Windows Server, version 1709 1709版本
Operating system edition 操作系统版本 | KMS Client Product Key 客户端产品密钥 |
---|---|
Windows Server Datacenter 服务器数据中心 | 6Y6KB-N82V8-D8CQV-23MJW-BWTG6 |
Windows Server Standard Windows 服务器标准 | DPCNP-XQFKJ-BJF7R-FRC8D-GF6G4 |
Windows Server 2012 R2 2012 r 2
Operating system edition 操作系统版本 | KMS Client Product Key 客户端产品密钥 |
---|---|
Windows Server 2012 R2 Standard 2012 r 2标准 | D2N9P-3P6X9-2R39C-7RTCD-MDVJX |
Windows Server 2012 R2 Datacenter 2012 r 2数据中心 | W3GGN-FT8W3-Y4M27-J84CP-Q3VJ9 |
Windows Server 2012 R2 Essentials 2012 r 2 Essentials | KNC87-3J2TX-XB4WP-VCPJV-M4FWM |
Windows Server 2012 2012
Operating system edition 操作系统版本 | KMS Client Product Key 客户端产品密钥 |
---|---|
Windows Server 2012 2012 | BN3D2-R7TKB-3YPBD-8DRP2-27GG4 |
Windows Server 2012 N 2012 n | 8N2M2-HWPGY-7PGT9-HGDD8-GVGGY |
Windows Server 2012 Single Language 2012单一语言 | 2WN2H-YGCQR-KFX6K-CD6TF-84YXQ |
Windows Server 2012 Country Specific 视窗伺服器2012国别 | 4K36P-JN4VD-GDC6V-KDT89-DYFKP |
Windows Server 2012 Standard 2012标准 | XC9B7-NBPP2-83J2H-RHMBY-92BT4 |
Windows Server 2012 MultiPoint Standard 2012多点标准 | HM7DN-YVMH3-46JC3-XYTG7-CYQJJ |
Windows Server 2012 MultiPoint Premium 2012 MultiPoint Premium | XNH6W-2V9GX-RGJ4K-Y8X6F-QGJ2G |
Windows Server 2012 Datacenter 2012数据中心 | 48HP8-DN98B-MYWDG-T2DCC-8W83P |
Windows Server 2008 R2
Operating system edition 操作系统版本 | KMS Client Product Key 客户端产品密钥 |
---|---|
Windows Server 2008 R2 Web Windows Server 2008 R2网站 | 6TPJF-RBVHG-WBW2R-86QPH-6RTM4 6tpjf-rbhg-wbw2r-86qph-6rtm4 |
Windows Server 2008 R2 HPC editionWindows Server 2008 R2高性能计算版 | TT8MH-CG224-D3D7Q-498W2-9QCTX |
Windows Server 2008 R2 Standard Windows Server 2008 R2标准 | YC6KT-GKW9T-YTKYR-T4X34-R7VHC |
Windows Server 2008 R2 Enterprise Windows Server 2008 R2企业 | 489J6-VHDMP-X63PK-3K798-CPX3Y |
Windows Server 2008 R2 Datacenter Windows Server 2008 R2数据中心 | 74YFP-3QFB3-KQT8W-PMXWJ-7M648 74yfp-3qfb3-kt8w-xwj-7m648 |
Windows Server 2008 R2 for Itanium-based Systems基于 itanium 的系统 Windows Server 2008 R2 | GT63C-RJFQ3-4GMB6-BRFB9-CB83V |
Windows Server 2008 2008
Operating system edition 操作系统版本 | KMS Client Product Key 客户端产品密钥 |
---|---|
Windows Web Server 2008 2008 | WYR28-R7TFJ-3X2YQ-YCY4H-M249D |
Windows Server 2008 Standard 2008标准 | TM24T-X9RMF-VWXK6-X8JC9-BFGM2 Tm24t-x9rmf-vxk6-x8jc9-bfgm2 |
Windows Server 2008 Standard without Hyper-VWindows Server 2008标准无 Hyper-V | W7VD6-7JFBR-RX26B-YKQ3Y-6FFFJ |
Windows Server 2008 Enterprise 2008企业版 | YQGMW-MPWTJ-34KDK-48M3W-X4Q6V |
Windows Server 2008 Enterprise without Hyper-VWindows Server 2008企业版没有 Hyper-V | 39BXF-X8Q23-P2WWT-38T2F-G3FPG |
Windows Server 2008 HPC 2008 HPC | RCTX3-KWVHP-BR6TB-RB6DM-6X7HP |
Windows Server 2008 Datacenter 2008数据中心 | 7M67G-PC374-GR742-YH8V4-TCBY3 |
Windows Server 2008 Datacenter without Hyper-VWindows Server 2008数据中心无 Hyper-V | 22XQ2-VRXRG-P8D42-K34TD-G3QQC |
Windows Server 2008 for Itanium-Based Systems基于 itanium 系统的 Windows Server 2008 | 4DWFP-JF3DJ-B7DTH-78FJB-PDRHK |
Earlier versions of Windows 早期版本的 Windows
Windows 8.1 8.1
Operating system edition 操作系统版本 | KMS Client Product Key 客户端产品密钥 |
---|---|
Windows 8.1 Pro 8.1 Pro | GCRJD-8NW9H-F2CDX-CCM8D-9D6T9 |
Windows 8.1 Pro N 8.1 Pro n | HMCNV-VVBFX-7HMBH-CTY9B-B4FXY Hmcnv-vbfx-7hmbh-cty9b-b4fxy |
Windows 8.1 Enterprise 8.1企业版 | MHF9N-XY6XB-WVXMC-BTDCT-MKKG7 |
Windows 8.1 Enterprise N 8.1 Enterprise n | TT4HM-HN7YT-62K67-RGRQJ-JFFXW |
Windows 8 8
Operating system edition 操作系统版本 | KMS Client Product Key 客户端产品密钥 |
---|---|
Windows 8 Pro 8 Pro | NG4HW-VH26C-733KW-K6F98-J8CK4 |
Windows 8 Pro N 8 Pro n | XCVCF-2NXM9-723PB-MHCB7-2RYQQ |
Windows 8 Enterprise 8企业版 | 32JNW-9KQ84-P47T8-D8GGY-CWCK7 |
Windows 8 Enterprise N 8 Enterprise n | JMNMF-RHW7P-DMY6X-RF3DR-X2BQT |
Windows 7 7
Operating system edition 操作系统版本 | KMS Client Product Key 客户端产品密钥 |
---|---|
Windows 7 Professional 7专业版 | FJ82H-XT6CR-J8D7P-XQJJ2-GPDD4 Fj82h-xt6cr-j8d7p-xqj2-gpdd4 |
Windows 7 Professional N 7 Professional n | MRPKT-YTG23-K7D7T-X2JMM-QY7MG |
Windows 7 Professional E 7 Professional e | W82YF-2Q76Y-63HXB-FGJG9-GF7QX |
Windows 7 Enterprise 7企业版 | 33PXH-7Y6KF-2VJC9-XBBR8-HVTHH 33pxh-7y6kf-2vc9-xbbr8-hvthh |
Windows 7 Enterprise N 7 Enterprise n | YDRBP-3D83W-TY26F-D46B2-XCKRJ |
Windows 7 Enterprise E 7 Enterprise e | C29WB-22CC8-VJ326-GHFJW-H9DH4 C29wb-2cc8-vj326-ghfjw-h9dh4 |