Help Center> Elastic Cloud Server> Troubleshooting> Multi-User Login Issues> How Do I Apply for a License for Authenticating Multi-User Sessions and Activate an ECS?
Updated on 2023-03-03 GMT+08:00

How Do I Apply for a License for Authenticating Multi-User Sessions and Activate an ECS?

Scenarios

This section describes how to configure remote desktop services and activate an ECS.

The ECS running Windows Server 2012 is used as an example.

Applying for a License for Authenticating Multi-User Sessions

  1. Log in to the Windows ECS.
  2. On the OS, click to open Server Manager.
  3. On the Server Manager page, click All Servers, right-click the server name, and choose RD Licensing Manager from the shortcut menu.
    Figure 1 Selecting RD Licensing Manager
  4. Right-click the unactivated server and choose Properties from the shortcut menu.
    Figure 2 Selecting properties of the unactivated server
  5. In the Properties dialog box, set Connection Method to Web Browser. Record the product ID which will be required for obtaining a server license.

    If the destination server is not displayed in RD Licensing Manager, choose Action > Connect, and enter the server IP address.

    Figure 3 Web browser for connection
  6. Set parameters and click OK.
    Figure 4 Setting parameters
  7. Access https://activate.microsoft.com using Internet Explorer.
    Select Activate a license server and click Next.
    Figure 5 Activating the license server
  8. Set parameters and click Next. Confirm the product information and click Next.
    Figure 6 Configuring the server
  9. Record the license server ID and click Yes.
    Figure 7 Obtaining the license server ID
  10. If the license server ID is not available, set License Program to Enterprise agreement and click Next.
    Figure 8 Enterprise agreement
  11. Set parameters.
    • Product Type: specifies the license server type, for example, Windows Server 2012 Remote Desktop Services Per User client access license.
    • Quantity: the maximum number of users allowed for remote desktop connections, for example, 999.
    • Agreement Number: a 7-digit license registration number purchased at the official Microsoft website.

      HUAWEI CLOUD does not provide licenses for remote desktop connections. Purchase such a license at the official Microsoft website.

      Figure 9 Setting license server information
  12. Record the license server ID and license key pack ID and click Finish.
    Figure 10 Obtaining a license key pack ID

Activating the ECS

  1. Log in to the ECS. Open RD Licensing Manager, right-click the ECS, and choose Activate Server.
    Figure 11 Activating the ECS
  1. In Activate Server Wizard, click Next.
    Figure 12 Activate Server Wizard
  2. Set Connection method to Web Browser and click Next.
    Figure 13 Web browser for connection
  3. Enter the license server ID and click Next.
    The license server ID is the ID obtained in step 9.
    Figure 14 Entering the license server ID
  4. Select Start Install Licenses Wizard now and click Next.
    Figure 15 Starting license installation wizard
  5. Enter the license key pack ID and click Next.
    The key pack ID is obtained in step 12.
    Figure 16 Entering the key pack ID
  6. Click Finish.

Configuring the Licensing Server for Remote Desktop Session Host

  1. Log in to the Windows ECS.
  2. On the OS, click to open Server Manager. Choose Tools > Terminal Services > RD Licensing Diagnoser and check the ECS authorization status.

    For the Windows Server 2019 OS, choose Tools > Remote Desktop Services > RD Licensing Diagnoser and check the ECS authorization status.

    As shown in the following figure, the system displays a message indicating that the licensing mode for the Remote Desktop Session Host Server is not configured.
    Figure 17 Checking the ECS authorization status
  3. In the Run dialog box, enter gpedit.msc and click OK to start Local Group Policy Editor.
    Figure 18 gpedit.msc
  4. Choose Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Licensing.
    Figure 19 Modifying licensing items
  5. Set Use the specified Remote Desktop license servers to Enabled, enter the private IP address or hostname of the ECS under License servers to use, and click OK.
    Figure 20 Using the specified remote desktop license servers
  6. Set the Remote Desktop licensing mode to Enabled, and set the licensing mode to Per User.

    If a message is displayed indicating that there is a problem with remote desktop license, set the licensing mode to Per Device.

    Figure 21 Setting the remote desktop licensing mode
  7. Run cmd and then gpupdate /force to forcibly start Local Group Policy Editor and restart the ECS.