Setup Windows CVM For Multi-user Remote Login

Last updated: 2019-11-04 14:02:10

PDF

Scenario

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

Directions

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 If required, and click Yes in the prompt box that pops up, as shown below:
  13. Click Install and wait for the remote desktop service installation to complete.

Configuring for 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 > Connection, 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 Maximum number of RD 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 > Connection, and double click Limit remote desktop service users to separate remote desktop service session, as shown below:
  8. In the “Limit remote desktop service users to separate remote desktop service session” window that pops up, select Disabled, and click OK, as shown below:
  9. Close local group policy editor.
  10. Restart the instance.