Pages

Friday, December 18, 2015

Allow more than 2 Concurrent RDP sessions on Windows Server 2012

To Enable more than two Concurrent RDP sessions on a Windows 2012 Server here are the steps to be followed.

   Windows Server 2012 does not have the GUI snapin available to specify the licensing server, number of concurrent sessions to be allowed and type of licensing (Per Device /Per User). So to specify these settings one need to do it either via GPO or via Registry after installing Remote Desktop Session Host Role.

(#)Install RD-Licensing Server along with RD Licensing Diagnoser:

 # Powershell method:
    install-windowsfeature RDS-RD-Server,RSAT-RDS-Licensing-Diagnosis-UI
 # GUI (Add Roles /Features) method:
    Server Manager > Add Roles > Remote Desktop Services > Remote Desktop Session Host

(#)Reboot machine for the installed roles to come into effect.
 

(#)Specify Licensing server configuration Details:

 # Registry method:
  Reg Path - HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal  Services
    REG_DWORD - "MaxInstanceCount" Value = Number of sessions to be allowed
    REG_SZ - "LicenseServers"    Value = LicenseServer.domain.com
    REG_DWORD - "LicensingMode" Value = 2 (PerDevice); 4 (Per User)


 # Group Policy method

 (1) Computer Configuration>Administrative Templates>Windows Components>Remote Desktop Services>Remote Desktop Session Host>Connections>Limit Number of Connections.
   

 (2) Computer Configuration>Administrative Templates>Windows Components>Remote Desktop Services>Remote Desktop Session Host>Licensing>Use the specified Remote Desktop license servers.
   
 (3) Computer Configuration>Administrative Templates>Windows Components>Remote Desktop Services>Remote Desktop Session Host>Set the Remote Desktop licensing mode.

(#)Open Administrative Tools > Remote Desktop Services > RD Licensing Diagnoser
 

(#)Scroll down and click on the Licensing server being shown below.
 

(#)Click Provide Credentials from the Right hand actions pane.
 

(#)Once credentials are validated it should be green with licensing status showing there.

2 comments:

  1. Hi fellas,
    Thank you so much for this wonderful article really!
    If someone want to read more about that buy rdp I think this is the right place for you!

    ReplyDelete