How Can I Enable Multi-User Login on a Windows HECS?
Scenarios
This section uses an HECS running Windows Server 2012 as an example to describe how to enable concurrent logins by multiple users.
An HECS running Windows Server 2012, by default, allows concurrent logins by two users. To allow logins by more users, configure the remote desktop session host and remote desktop licensing.
- After multi-user logins are configured, different users can log in to the HECS without affecting each other.
- The configuration in this section enables concurrent logins by multiple users or multiple concurrent logins using one account. However, a remote desktop license is valid for only 120 days. After the license expires, multi-user logins will be unavailable. For instructions on how to activate Remote Desktop Licensing, see Applying for a License for Authenticating Multi-User Sessions and Activating the HECS.
- However, a remote desktop license is valid for only 120 days. After the license expires, multi-user logins will be unavailable. In this case, delete the remote desktop service. For details, see What Should I Do If the System Displays No Remote Desktop License Servers Available to Provide a License When I Log In to a Windows ECS?
- After multi-user logins are configured on a Windows HECS, the browser may fail to be opened by multiple users. For details, see Troubleshooting a Browser Launch Error Occurred in Multi-User Login.
Procedure
Configuring Remote Desktop Session Host and Remote Desktop Licensing
- Log in to the Windows HECS.
- On the OS, click
to open Server Manager. Click Add roles and features. Figure 1 Add roles and features
- Retain default settings and click Next. On the displayed installation page, select Role-based or feature-based installation and click Next. Figure 2 Selecting an installation type
- Choose Server Selection, select Select a server from the server pool, and click Next.
- Choose Server Roles, select Remote Desktop Services, and click Next. Figure 3 Selecting server roles
- On the Features page, retain default settings and click Next twice. Figure 4 Features
- On the Role Services page, select Remote Desktop Session Host and Remote Desktop Licensing. In the displayed dialog box, click Add Features and then Next. Figure 5 Adding features required by the remote desktop session host
Figure 6 Selecting Remote Desktop Licensing
- Confirm installation selections and click Install. Figure 7 Confirming installation selections
- After the installation is complete, restart the destination server as prompted and click Close. Figure 8 Installation progress
Enabling Multi-User Logins
- In the Run dialog box, enter gpedit.msc and click OK to start Local Group Policy Editor. Figure 9 gpedit.msc
- Choose Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Connections. Configure Allow user to connect remotely by using Remote Desktop Services, Limit number of connections (based on site requirements), and Restrict Remote Desktop Services users to a single Remote Desktop Services session. Figure 10 Configuring Connections
- Right-click Allow users to connect remotely by using Remote Desktop Services and choose Edit. Then, set the status to Enabled. Figure 11 Allowing users to connect remotely by using Remote Desktop Services
- Set Limit number of connections to Enabled and set the number based on site requirements. Figure 12 Setting limit number of connections
- Set Restrict Remote Desktop Services users to a single Remote Desktop Services session to Enabled or Disabled as required. In this example, Enabled is selected.
- Enabled: allows concurrent logins by multiple users, but does not allow multiple logins using one account.
For example, users A, B, and C can concurrently log in to an HECS using account A, B, and C, respectively. However, users A, B, and C cannot use the same account to log in to the HECS.
- Disabled: allows multiple users to concurrently log in to an HECS using one account. For example, users A, B, and C can use the same account to concurrently log in to an HECS.Figure 13 Restricting Remote Desktop Services users to a single Remote Desktop Services session
- Enabled: allows concurrent logins by multiple users, but does not allow multiple logins using one account.
- Run cmd and then gpupdate /force to forcibly start Local Group Policy Editor and restart the HECS.
Adding a New User to the Remote Desktop Users Group
After enabling multi-user login, add new users to the remote desktop users group. This section describes how to create a user and add the user to remote desktop users group.
- Open the Run dialog box, enter lusrmgr.msc, and click OK to open Local Users and Groups. Figure 14 Local Users and Groups
- Select Users, right-click the blank area, and choose New User from the shortcut menu. Figure 15 Adding a new user
- Set user information and click Create. Figure 16 Setting user information
- Select Groups, double-click Remote Desktop Users, and click Add. Figure 17 Remote Desktop Users Properties
- In the Select Users dialog box, click Advanced. Figure 18 Selecting users (Advanced)
- Click Find Now, select the user for remote login in the search results, and click OK. Figure 19 Selecting users (Find Now)
Figure 20 Adding a user
- Click OK to add the user to the Remote Desktop Users group. Figure 21 Confirming user information
Follow-up Operations
For instructions on how to activate Remote Desktop Licensing, see Applying for a License for Authenticating Multi-User Sessions and Activating the HECS.
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.