Guidelines for installing the Remote Desktop Session Host role service on a computer running Windows Server 2012 without the Remote Desktop Connection Broker role service

Article translations Article translations
Close Close
Article ID: 2833839 - View products that this article applies to.
Expand all | Collapse all

Summary

This article provides the guidelines to install and configure the Remote Desktop Session Host  role service on a computer running Windows Server 2012 without the Remote Desktop Connection Broker role service installed.
 
This configuration should only be used when it is the only option as the recommended configuration includes the Remote Desktop Connection Broker to provide access to the complete functionality with Remote Desktop Services. If a Domain Controller is available on a separate server, it is recommended to use the Standard Remote Desktop Services deployment wizard. This configuration is appropriate when there is only one server on the network. This server can be part of a workgroup or may be configured as a Domain Controller.

This configuration, will provide desktop sessions to users based on the number of Remote Desktop Services client access license (RDS CALs) installed on the server, but will not provide access to RemoteApp programs or the RDWeb site.

More information

Consideration for installing the Remote Desktop Session Host role service on a computer running Windows Server 2012 without the Remote Desktop Connection Broker role service.

The deployment of a Remote Desktop Session Host role service without the Remote Desktop Connection Broker role service adds certain requirements and considerations. Unless otherwise noted, the steps apply to both Workgroup and Domain Controller cases:

  1. If the system needs to be configured as a Domain Controller, install the Active Directory Domain Service (AD DS) role service on the Server and promote as Domain Controller

    For more information on how to install AD DS in Windows Server 2012, Visit the following Microsoft Web page:
    http://technet.microsoft.com/en-us/library/hh472162
  2. Install the Remote Desktop Licensing and the Remote Desktop Session Host role services using the following steps:
    • Open Server Manager
    • Click on Manage and select Add Roles and Features
    • Select Role-based or Feature-based installation
    • Under Remote Desktop Services, choose Remote Desktop Licensing and Remote Desktop Session Host role services.
    • Proceed with installation


  3. Add the License Server to Terminal Server License Servers group and restart the Remote Desktop service
    • You can add the server to Terminal Server License Servers group by opening licmgr.exe and select the Review link.
      OR
    • You can manually add the server to Terminal Server License Servers group (On DC this will be in Built-in groups)
  4. Activate the License Server automatically from License Server UI (licmgr.exe)

    For more information on how to activate the Remote Desktop License server:
    http://technet.microsoft.com/en-us/library/cc771547.aspx
  5. Install appropriate RDSCALs.

    For more information on how to install RDS CALs, visit the following Microsoft Web page:
    http://technet.microsoft.com/en-us/library/cc725890.aspx
  6. If the system is a Domain Controller, add the Domain Users group (or the specific list of users) to the Allow logon through Remote Desktop Services local group policy. To edit the local group policy object setting, follow these steps:
    1. Open GPEDIT.MSC
    2. Expand Computer Configuration, expand Windows Settings, expand Security Settings, expand Local Policies and then click User Rights Assignment.
    3. Double-click Allow log on through Remote Desktop Services and then click Add User or Group.
    4. Type the user account, click OK and then click OK
    5. Close the Group Policy Object Editor.

  7. Add the users you want to allow to connect to the Remote Desktop Users group.
    For example: Domain Users. (On DC this will be in Built in groups)
  8. Configure the Remote Desktop Session Host role with to use the local Remote Desktop Licensing server. Follow these steps:
    1. Open an elevated Windows PowerShell prompt
    2. Type the following command on the PS prompt and press Enter:

      $obj = gwmi -namespace "Root/CIMV2/TerminalServices" Win32_TerminalServiceSetting
    3. Run the following command to set the licensing mode: 
      Note: Value = 2 for Per device, Value = 4 for Per User

      $obj.ChangeMode(value)
    4. Run the following command to replace the machine name with License Server:

      $obj.SetSpecifiedLicenseServerList("LicServer")
    5. Run the following command to verify the settings that are configured using above mentioned steps:

      $obj.GetSpecifiedLicenseServerList()

      You should see the server name in the output.

Users can now initiate Remote Desktop Sessions to the server from any supported RDS client.

Note: If the system is a Domain Controller, an additional step must be taken to allow printer redirection to function properly.
For more information, click the following article number to see the article in the Microsoft Knowledge Base article:

968605 Terminal Server Easy Print not printing
Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

Properties

Article ID: 2833839 - Last Review: April 11, 2013 - Revision: 1.0
Applies to
  • Windows Server 2012 Foundation
  • Windows Server 2012 Standard
  • Windows Server 2012 Datacenter
Keywords: 
kbstepbystep kbpolicy KB2833839

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com