Setup Windows CVM For Multi-user Remote Login

Last updated: 2020-04-13 11:17:44

    Scenario

    This document shows you how to configure a multi-user remote login to Windows CVM, taking a CVM with Windows Server 2012 R2 as the operating system as an example.

    Steps

    Adding remote desktop service

    1. Log in to the Windows CVM.
    2. In the operating system interface, click to open Server Manager, as shown below:
    3. Click Add roles and features, and the Add Roles and Features Wizard window will pop up.
    4. In the “Add Roles and Features Wizard” window, keep the default parameters for the first 3 steps.
    5. In the Select server roles page, check Remote Desktop Services and click Next, as shown below:
    6. Keep the default parameters and click Next two times in a row.
    7. In the Select Role Service interface, check Remote Desktop Session Host, as shown below:
      The “Add features that are required for remote desktop session host?” prompt box will pop up.
    8. In the “Add features required for remote desktop session host?” prompt box, click Add Features, as shown below:
    9. In the Select Role Service page, check Remote Desktop Licensing, as shown below:
      The “Add features that required for Remote Desktop Licensing?” prompt box will pop up.
    10. In the “Add features that required for Remote Desktop Licensing?” prompt box, click Add Features.
    11. Click Next.
    12. Check Restart the destination server automatically if required, and click Yes in the pop-up prompt box, as shown below:
    13. Click Install and wait for the remote desktop service installation to complete.

    Configuring multi-user remote login to instance

    1. Use VNC to log in to Windows CVM.
    2. In the operating system interface, click to open the Windows PowerShell window.
    3. In the Windows PowerShell window, enter gpedit.msc and 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 Limit number of connections, as shown below:
    5. In the Limit number of connections window that pops up, select Enabled, and enter the maximum number of simultaneous remote users in RD Maximum Connections allowed, as shown below:
    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 Restrict Remote Desktop Services users to a single Remote Desktop Services session, as shown below:
    8. In the “Restrict Remote Desktop Services users to a single Remote Desktop Services session” window that pops up, select Disabled, and click OK, as shown below:
    9. Close local group policy editor.
    10. Restart the instance.

    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback
    Help