Help Center/ Bare Metal Server/ Private Image Creation Guide/ FAQ/ How Do I Activate a Windows BMS?
Updated on 2022-07-12 GMT+08:00

How Do I Activate a Windows BMS?

Windows BMSs need to be activated manually.

  1. Log in to the BMS.
  2. Click Start, enter cmd in the Type here to search box to open the command-line interface (CLI).
  3. Run the following command to configure the IP address of the Key Management Service (KMS) server:

    slmgr -skms 100.125.1.2

  4. Run the following command to restart the BMS:

    slmgr -ato

    • The BMS is activated if a message similar to "Activated the product" is displayed, and no further action is required.
    • The BMS is not activated if the error 0xC004F074 (with description "The Key Management Server (KMS) is unavailable") occurs. Go to 5.
  5. Check whether the BMS system time is synchronized with the standard time. If it is not, synchronize it with the standard time.
  6. Run the following command to check whether the BMS can connect to the KMS server port:

    telnet 100.125.1.2 1688

    If the connection fails, disable the firewall or enable TCP port 1688 on the firewall. Stop security software such as safedog if any.

  7. Run the following command to check whether the BMS has been activated:

    slmgr -ato