Modifying the Group Policy
Local Group Policy Editor
Open the Run box and enter gpedit.msc to open Local Group Policy Editor.
Using the Specified Remote Desktop License Servers
- Choose Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Licensing. Double-click Use the specified Remote Desktop license servers.
- In the displayed window, select the Enabled option.
- Click OK.
Hiding Notifications About RD Licensing Problems that Affect the RD Session Host Server
- Choose Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Licensing. Double-click Hide notifications about RD Licensing problems that affect the RD Session Host Server.
- In the displayed window, select the Enabled option.
- Then, click OK.
Setting the Remote Desktop Licensing Mode
- Choose Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Licensing. Double-click Set the Remote Desktop licensing mode.
- In the displayed window, select the Enabled option. In the Options area, under Specify the licensing mode for the RD Session Host server, select Per User from the drop-down list.
- Then, click OK.
Limit number of connections
- Choose Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Connections. Double-click Limit number of connections.
- In the displayed window, select the Enabled option, then set RD Maximum Connections allowed to 999999.
- Then, click OK.
Allowing Remote Start of Unlisted Programs
- Choose Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Connections. Double-click Allow users to connect remotely using Remote Desktop Services.
- In the displayed dialog box, select the Enabled option.
- Then, click OK.
Restrict Remote Desktop Services users to a single Remote Desktop Services session
- Choose Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Connections. Double-click Restrict Remote Desktop Services user to a single Remote Desktop Services session.
- In the displayed window, select the Disabled option.
- Then, click OK.
Setting Time Limit for Disconnected Sessions
- Choose Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Session Time Limits. Double-click Set time limit for disconnected sessions.
- In the displayed window, select Enabled for Set time limit for disconnected sessions, and change the value of End a disconnected session to 1 minute.
- Then, click OK.
Refreshing the Local Group Policy
- Close the Local Group Policy Editor window.
- Open the Run box and run the gpupdate /force command to refresh the local policy.
- The application publish server has been deployed. To test its function, add this server to your bastion host.
Parent topic: Installing a Windows Server 2012 R2 Application Server
- Local Group Policy Editor
- Using the Specified Remote Desktop License Servers
- Hiding Notifications About RD Licensing Problems that Affect the RD Session Host Server
- Setting the Remote Desktop Licensing Mode
- Limit number of connections
- Allowing Remote Start of Unlisted Programs
- Restrict Remote Desktop Services users to a single Remote Desktop Services session
- Setting Time Limit for Disconnected Sessions
- Refreshing the Local Group Policy