This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft Edge More info about Internet Explorer and Microsoft Edge

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's 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.

There are some scenarios, however, where you'll need to add the GVLK to the computer you wish to activate against a KMS host, such as:

  • Converting a computer from using a Multiple Activation Key (MAK)
  • Converting a retail license of Windows to a KMS client
  • If the computer was previously a KMS host
  • 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.

    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 .

    Install a product key

    If you're 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 :

    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:

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

    Generic Volume License Keys (GVLK)

    In the tables that follow, you'll find the GVLKs for each version and edition of Windows. LTSC is Long-Term Servicing Channel, while LTSB is Long-Term Servicing Branch.

    Windows Server (LTSC versions)

    Windows Server 2022

    Operating system edition KMS Client Product Key

    Important

    Windows Server, version 20H2 reached end of service on August 9, 2022. This includes the retirement of Windows Server Semi-Annual Channel (SAC) with no future releases and will no longer receive security updates after August 9, 2022.

    Customers using Windows Server SAC should move to Azure Stack HCI. Alternatively, customers may use the Long-Term Servicing Channel of Windows Server.

    Windows 11 and Windows 10 (Semi-Annual Channel versions)

    See the Windows lifecycle fact sheet for information about supported versions and end of service dates.

    Operating system edition KMS Client Product Key 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

    Operating system edition KMS Client Product Key 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

    Operating system edition KMS Client Product Key