All Products
Document Center

How to activate the VPC-Connected Windows instances using KMS servers

Last Updated: Dec 24, 2018

Windows instances connected to VPCs cannot be activated using KMS deployed in the public cloud. This section describes how to use KMS from specific domains to activate Windows instances connected to VPCs.

KMS domains

Region KMS domain
Mainland China and Hong Kong
US (Silicon Valley)
US (Virginia)
Japan (Tokyo)
Germany (Frankfurt)
UAE (Dubai)
Australia (Sydney)
India (Mumbai)
Malaysia (Kuala Lumpur)
Indonesia (Jakarta)
UK (London)

Activation procedure

  1. Click Start > Run, type cmd, and press Enter to launch the Command Prompt in windows.

  2. Enter the following command to change the KMS server. The following uses the Mainland China region as an example:

    1. slmgr -skms


  3. Enter the following command to activate KMS.

    1. slmgr -ato


If the problem persists, open a ticket.