Configure a Windows instance to support multiple concurrent remote desktop connections

更新时间:
复制 MD 格式

By default, Windows Server supports remote desktop connections based on Remote Desktop Protocol (RDP), which allows a maximum of two users to connect to a server simultaneously for simple remote management tasks. To support multiple concurrent remote connections, you must install Remote Desktop Services. This topic uses a Windows Server 2016 operating system as an example to describe how to configure multiple concurrent remote connections to a Windows Elastic Compute Service (ECS) instance.

Important

After you install Remote Desktop Services, you can use it for a 120 day free trial. During this period, an unlimited number of remote desktop sessions are supported. After the free trial expires, you must configure the licensing service and install Remote Desktop Services Client Access Licenses (RDS CALs). Otherwise, you cannot make remote connections.

Install Remote Desktop Services

  1. Log on to the Windows ECS instance. For more information, see Choose an ECS remote connection method.

  2. Right-click the 开始 icon in the lower-left corner, and then click Run. In the dialog box, enter servermanager and click OK.

  3. On the Dashboard page, click Add roles and features.image

  4. On the Before you begin page, read the instructions and click Next.

  5. On the Select installation type page, keep the default parameters and click Next. On the Select destination server page, keep the default parameters and click Next.

  6. On the Select server roles page, select Remote Desktop Services and click Next.image

  7. On the Select features page, keep the default parameters and click Next. On the Remote Desktop Services page, click Next.

  8. On the Select role services page, select Remote Desktop Session Host and Remote Desktop Licensing. In the dialog box that appears, click Add Features, and then click Next.image

  9. Select the Restart the destination server automatically if required option, click Install, and wait for the Remote Desktop Services installation to complete.image

Create a new user and add the user to the Remote Desktop Users group

To allow new users to log on to the ECS instance, create the users and add them to the Remote Desktop Users group.

  1. Create a new user:

    1. Log on to the Windows ECS instance. For more information, see Choose an ECS remote connection method.

    2. Right-click the 开始 icon in the lower-left corner, and then click Run. In the dialog box, enter lusrmgr.msc and click OK.

    3. Click Users. In a blank area, right-click and select New User.image

    4. Enter the new user information and click Create.

  2. Add the user to the Remote Desktop Users group:

    1. Click Groups, double-click Remote Desktop Users, and then click Add. image

    2. In the Select Users dialog box, click Advanced. image

    3. Click Find Now, select the correct account, and then click OK.image

    4. Confirm the account to add and click OK.image

Re-authenticating after Remote Desktop authorization expires

After the 120 day free trial expires, you must configure the licensing service and install RDS CALs. Otherwise, you cannot make remote connections. For information about how to purchase and activate licenses, see Activate Remote Desktop Services (RDS) licenses for a Windows Server instance.