Este conteúdo foi traduzido por máquina para sua conveniência e a Huawei Cloud não pode garantir que o conteúdo foi traduzido com precisão. Para exibir o conteúdo original, use o link no canto superior direito para mudar para a página em inglês.
Atualizado em 2025-01-23 GMT+08:00

Why Is My Purchased ECS Not Activated?

Symptom

A Windows ECS that you purchase is automatically activated within two hours after you purchase it. However, you find that it is not activated two hours after you purchase it.

Prerequisites

You have configured the IP address of the HUAWEI CLOUD DNS server.

For details, see Checking the DNS Server Addresses of an ECS.

Solution

  1. Manually activate the Windows ECS.

    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

      Figura 1 IP address of the KMS server
      • If the obtained IP address is the same as that (100.125.1.2) shown in the red rectangle of Figura 1, the IP address of the KMS server is correct.
      • If the obtained IP address is different from that shown in the red rectangle of Figura 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, the ECS fails to be activated. In this case, 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.