- Documentation
Elastic Compute Service
Elastic Compute Service
Best Practices
Instance configuration
Windows Multi - User Login
Applying for remote desktop license and activating ECS instance
Windows Multi - User Login
Applying for remote desktop license and activating ECS instance
Applying for remote desktop license and activating ECS instance
The grace period for remote desktop authorization is 120 days. If you do not activate the ECS instance with a license within this period, the multi-user login feature will be unavailable. This topic describes the procedure for applying for a remote desktop license and activating the corresponding ECS instance.
This section uses Windows Server 2019 as an example. The actual paths may vary depending on your operating system.
Step 1: Obtain the product ID
- Click the Windows icon and select "Server Manager."
- In the left navigation tree, select "All Servers", right-click the target server, and select "RD Licensing Manager".
- Right-click the target server and select "Properties".
- Configure the properties.
- Set "Connection Method" to "Web browser", and record the "Product ID" value.
- Select the "Required Information" tab, fill in the required information, and click "OK".
Step 2: Apply for a Remote Desktop license
- Select "Activate a license server" and then click the "Next" button.
-
- In the "Product ID" field, enter the product ID you obtained in Step 1 along with other required information, and then click "Next".
-
- After verifying the information, click "Next".
-
- Record the server ID indicated in the red box, and then click "YES".
-
- In the "License Program" field, select "Enterprise agreement". After verifying the other information, click "Next".
-
- After filling in the configuration information, click "Next".
- Product Type: Product type. Please select the corresponding license based on the actual operating system platform version of the server. This document uses "Windows Server 2019 Remote Desktop Services Per User client access license" as an example.
- Quantity: The maximum number of users that can log in simultaneously. This document uses "99" as an example.
- Agreement Number: The agreement number. Enter the registration number of the Remote Desktop Services Client Access Licenses (RDS CALs) that you purchased from Microsoft.
-
- After confirming the information is correct, click "Next".
-
- Record the License Server ID and the License Key Pack ID, and then click "Finish" to complete the operation.
Step 3: Activate the ECS instance
- Click the Windows icon and select "Server Manager."
- In the directory tree on the left, select "All Servers," right-click the target server, and select "RD Authorization Manager."
- Right-click the target server and select "Properties > Activate Server".
- Follow the wizard and click the "Next" button.
- Select "Connection Method" as "Web Browser," and click the "Next Step" button.
- Enter the License Server ID obtained in Step 2, and then click "Next".
- Check the "Enable the License Installation Wizard immediately" option, and click the "Next Step" button.
- Enter the License Key Pack ID obtained in Step 2, and then click "Next".
- Click "Finish" to complete the configuration.
Step 4: Configure the Remote Desktop Session Host authorization server.
- Click the Windows picture, and select "Server Manager".
- In the directory tree on the left, select "All Servers", right-click the target server, and choose "RD Licensing Diagnosis".
- If the diagnosis result contains "Remote Desktop Session Host server licensing mode is not configured", follow the steps below to complete the configuration.
- Click the Windows icon, and then select "Windows System > Run".
- In the dialog box, input gpedit.msc and press Enter to open the Local Group Policy Editor.
- In the directory tree on the left, select "Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Licensing", and complete the following configuration.
- Use the specified Remote Desktop license server.
- Right-click "Use the specified Remote Desktop license servers", and select "Edit".
- Select "Enabled", and in the "License Server to Use" field, enter the private IP address or hostname of the current ECS instance.
- Click the "Apply" button, then click "OK" to complete the configuration.
- Set the Remote Desktop licensing mode
- Right-click "Set the Remote Desktop licensing mode" and select "Edit".
- Select "Enabled", and in the "Specify RD Session Host server authorization mode", set it to "Per User".
- Click the "Apply" button, then click "OK" to complete the configuration.
Last updated: 2026.06.18 17:49:52