Setting to Allow Multiple Users to Remotely Log in to Windows CVM

Last Updated At: 2025-10-21 09:10:00

Overview

This document takes the operating system CVM of Windows Server 2012 R2 as an example to guide you to make configurations to allow multiple users to remotely log in to Windows CVM.

Directions

Adding Remote Desktop Services

  1. Log in to the Windows CVM.
  2. On the operating system interface, click to open Server Manager. As shown below:
  3. Click Add Roles and Features to pop up the Add Roles and Features Wizard window.
  4. In the Wizard to Add Roles and Features window, keep the default parameters and consecutively click Next three times.
  5. On the Select Server Roles interface, select Remote Desktop Services and click Next. As shown below:
  6. Keep the default parameters and consecutively click Next twice.
  7. On the Select Role Services interface, select Remote Desktop Session Host. As shown below:
    The Add Features Required for Remote Desktop Session Host dialog box pops up.
  8. In the Add Features Required for Remote Desktop Session Host dialog box, click Add Features. As shown below:
  9. On the Select Role Services interface, select Remote Desktop Licensing. As shown below:
    The Add Features Required for Remote Desktop Session Host dialog box pops up.
  10. In the Add Features Required for Remote Desktop Licensing dialog box, click Add Features.
  11. Click next.
  12. Check Automatically Restart the Target Server if Necessary and click Yes in the pop-up dialog box. As shown below:
  13. Click Install and wait for the installation of Remote Desktop Services to complete.

Configuring a Multi-user Remote Login Instance

  1. Use VNC to log in to Windows CVM.
  2. On the operating system interface, click to open a Windows PowerShell window.
  3. In the Windows PowerShell window, enter gpedit.msc and then press Enter to open the Local Group Policy Editor.
  4. In the left navigation tree, select Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Connections, and double-click to open Limit the number of connections.
  5. In the popped-up Limit the number of connections window, select Enabled, and fill in the maximum number of concurrent remote users in Maximum allowed RD connections.
  6. Click OK.
  7. In the left navigation tree, select Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Connections, and double-click to open Restrict Remote Desktop Services users to a single Remote Desktop Services session.
  8. In the popped-up Restrict Remote Desktop Services users to a single Remote Desktop Services session]window, select Disabled, click OK.
  9. Disable the Local Group Policy Editor.
  10. Restart instance.