Help Center > > FAQs> ECS Management> Usage Errors> What Should I Do If I Cannot Activate a Windows ECS?

What Should I Do If I Cannot Activate a Windows ECS?

Updated at: May 06, 2020 GMT+08:00

Symptom

A Windows ECS is automatically activated within two hours after it is purchased. However, it is still not activated after two hours.

Prerequisites

The IP address of the HUAWEI CLOUD DNS server has been configured.

Handling Method

  1. Manually activate the Windows ECS.

    To do so, perform the following operations:

    1. Choose Start > Run. In the Run text box, type cmd.
    2. Run the following command to check whether the IP address of the KMS server is correct:

      slmgr -dli

      Figure 1 IP address of the KMS server
      • If the obtained IP address is the same as that shown in the red box of Figure 1, the IP address of the KMS server is correct.
      • If the obtained IP address is different from that shown in the red box of Figure 1, the IP address of the KMS server is incorrect. In this case, run the following command to register the ECS with the KMS server:

        slmgr -skms 100.125.1.2

        If the system displays an error, indicating that the link to the server is inaccessible, check whether the IP address of the HUAWEI CLOUD DNS server has been configured.

    3. Run the following command to check whether the ECS has been activated:

      slmgr -ato

      If error 0xC004F074 occurs, activating the ECS failed. In this event, go to step 2.

  2. Identify the cause of the ECS activation failure.
    1. Check whether the private IP address of the ECS is correct.
      1. Run the following command to obtain the private IP address:

        ipconfig

      2. Check whether this IP address is the same as the private IP address displayed on the management console.
        • If yes, go to step 2.b.
        • If no, go to step 2.a.iii.
      3. Run the following command to release the private IP address:

        ipconfig /release

      4. Run the following command to assign an IP address to the ECS again:

        ipconfig /renew

      5. Run the following command to check whether the ECS has been activated:

        slmgr -ato

    2. Verify that the time in the ECS is the same as the standard time. If the time is significantly different, the ECS cannot be activated.
    3. Run the following command on the ECS to check whether the link between the ECS and the activated server port is reachable:

      telnet 100.125.1.2 1688

      Check whether all ports and protocols are bypassed in the outbound direction of the security group.

    4. Run the following command to check whether the ECS has been activated:

      slmgr -ato

      The system displays a message indicating that the ECS has been activated.

Did you find this page helpful?

Submit successfully!

Thank you for your feedback. Your feedback helps make our documentation better.

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?







Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel