Link to home
Create AccountLog in
Avatar of David Roberts
David RobertsFlag for United States of America

asked on

RD Gateway Server Maximum Allowed Connections SBS 2011

Hello.  I have a client that was recently migrated to Small Business Server 2011.

Through the RWA Console, no matter the user or computer logged in as, when trying to connect to a remote computer listed, receiving the following error:

"Your computer can't connect to the remote computer because the Remote Desktop Gateway server reached its maximum allowed connections."

However, when I open RD Gateway Manager, it shows 0 connections from 0 users to 0 remote computers.  In properties for the RD Gateway Server, it is set to allow the maximum supported simultaneous connections.

What am I missing here?
Avatar of Patrick Bogers
Patrick Bogers
Flag of Netherlands image

Hi

I used to open the Terminal Services Manager to see what connections are active.
Hello,

Has it always done this or just started happening?

Presuming you have tried restarting following services:
Remote Desktop Gateway
Remote Desktop Services
Remote Desktop Services UserMode Port Redirector

Have you just activated the RD Gateway Manager now to fix the problem or have settings being changed in here?
have you noticed any event like : 203 ( Microsoft-Windows-TerminalServices-Gateway)


Please go through below link and cross verify the settings,

http://www.nappliance.com/blog/hotfix-available-remote-desktop-services%E2%80%99-%E2%80%98maximum-connections-reached%E2%80%99-error-uag
Avatar of David Roberts

ASKER

David,

I have restarted the Server completely but still the same result.  

Also, it has yet to work and been like this.  They were previously on 2003 so this is a new feature trying to get going for them.  After researching and checking into the settings in RD Gateway Manager, I read something that stated SBS doesn't utilize RD Gateway Service but has its own configuration.  Is there truth to that?  I verified on another client running SBS 2011 that they don't even have RD Gateway role installed but this features works from their RWA console.
Just confirmed in Server Manager after logging into the other client Server running SBS 2011 as well, they don't even have 'Remote Desktop Services' role installed at all, and this feature works.  There has to be something built into SBS that runs this which would explain why I show 0 connections in RD Gateway Manager on the Server in question.  

Glad Microsoft is doing away with it and this is my last migration to SBS.  If anyone knows where the configuration for RD Gateway is within SBS, that would be helpful.  It is obviously apparent now after comparing two Servers that it does not utilize the standard configuration in RD Gateway Manager and has no need for that role to be installed on an SBS Server.
ASKER CERTIFIED SOLUTION
Avatar of Cliff Galiher
Cliff Galiher
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
cgaliher,

Thanks for the response and link to clarify.

So let's assume I go remove RD Gateway Server role and it still doesn't work.  Is there any place I can go on the Server to actually verify the configuration and adjust anything back to the default settings or is RD Gateway and its configuration just invisibly built into SBS?

How would I attempt a "repair"?
When you open RD Gateway manager, does it bring up a certificate error?  I would expect it to - See the link given by cgailher.

As cgailher explained, the RD Gateway service is installed on the SBS but the configuration is done when the server is installed.

Do you get any other errors/warnings in the Application event log?

Try running the Fix My Network Wizard in the SBS console and confirm if it mentions anything about the remote gateway certificate.
The cmd below from the weblink provided in cgaliher response fixed the issue.  RDP from RWA Console works now.  Obviously, in light of the rest, I will remove the RD Gateway Role since it is not needed.  Thanks for your help everyone!

NOTE: Typically you should not need to install the Gateway-UI feature. If you have made changes to the web site regarding certificates try the following from an administrator cmd prompt first, and then attempt to connect via RWA to a client computer.

REG ADD HKLM\SYSTEM\CurrentControlSet\services\HTTP\Parameters\SslBindingInfo\0.0.0.0:443  /v DefaultFlags /t REG_DWORD /d 1 /f
net stop tsgateway & net start tsgateway