Home | Site Map | Cisco How ToNet How To | Wireless |Search | Forums | Services | Donations | Careers | About Us | Contact Us|

Remote logins are currently disabled

RRAS, VPN, TS/RDP, Routing and remote Access.

Remote logins are currently disabled

Postby chicagotech » Tue Sep 26, 2017 4:28 pm

We have two Session Host servers in our RD services. All servers are running on Windows 2012 R2. We used to be able to disable one of Session Host Servers and users don't have a problem to login another Session Host Server automatically. I am not sure what's change. Now, when I switch one of Host servers to "Do not allow new connections", the users may receive this message: Remote logins are currently disabled. What could be the problem? Note: some users still be able to login accessing other host server.
Networking, Internet, Routing, VPN Troubleshooting on http://www.ChicagoTech.net
How to Setup Windows, Network, VPN & Remote Access on http://www.HowToNetworking.com
chicagotech
Site Admin
 
Posts: 6995
Joined: Mon Nov 27, 2006 1:24 pm
Location: Chicago USA

Re: Remote logins are currently disabled

Postby chicagotech » Tue Sep 26, 2017 4:28 pm

Based on my research, if we right click a Host Server and select “Do not allow new connections” in collections, the Host server will be put into drain mode. In Drain mode, new users will be prevented from logging on to the server, while currently logged on users are allowed to reconnect to their existing sessions.

Reference:

Windows Server 2012: Manage your RDS with RDMS

https://technet.microsoft.com/en-us/lib ... 35779.aspx
Networking, Internet, Routing, VPN Troubleshooting on http://www.ChicagoTech.net
How to Setup Windows, Network, VPN & Remote Access on http://www.HowToNetworking.com
chicagotech
Site Admin
 
Posts: 6995
Joined: Mon Nov 27, 2006 1:24 pm
Location: Chicago USA

Re: Remote logins are currently disabled

Postby chicagotech » Tue Sep 26, 2017 4:30 pm

Base on my test, the system remember the old connection session so that the current users can't login after switch to “Do not allow new connections”. Here are my test procedure.

1. UserA is login remote3. UserB doesn't login any remote server.

2. Now, switch remote3 to “Do not allow new connections”. UserA can't login with “Do not allow new connections”.

3. Switch to “Allow New Connections” then switch back to “Do not allow new connections”. UserA still get the same message.

4. UserB is able to login (remote4) without any issues.

5. I also fresh and make sure the user account is not in the connection.
Networking, Internet, Routing, VPN Troubleshooting on http://www.ChicagoTech.net
How to Setup Windows, Network, VPN & Remote Access on http://www.HowToNetworking.com
chicagotech
Site Admin
 
Posts: 6995
Joined: Mon Nov 27, 2006 1:24 pm
Location: Chicago USA

Re: Remote logins are currently disabled

Postby chicagotech » Tue Sep 26, 2017 4:30 pm

One more info. If I wait for 10 minutes or more, the UserA can login remote4 (remote3 is still offline) without any issue. Perhaps the system release the old session in 10 or 15 minutes.
Networking, Internet, Routing, VPN Troubleshooting on http://www.ChicagoTech.net
How to Setup Windows, Network, VPN & Remote Access on http://www.HowToNetworking.com
chicagotech
Site Admin
 
Posts: 6995
Joined: Mon Nov 27, 2006 1:24 pm
Location: Chicago USA

Re: Remote logins are currently disabled

Postby chicagotech » Tue Sep 26, 2017 4:31 pm

It seems that the after 10 or 15 minutes, the RDCB is aware of the drain state of remote3 or the old session is released.

I would like to know if we try the process again, does UserA, and other users still need to wait for 10 or 15 minutes before it can login to remote4?

If it still needs 10 or 15 minutes, please try restarting the Remote Desktop Connection Broker service on RDCB server.

Besides, could you specify how the farm is configured? Such as DNS round robin?
Networking, Internet, Routing, VPN Troubleshooting on http://www.ChicagoTech.net
How to Setup Windows, Network, VPN & Remote Access on http://www.HowToNetworking.com
chicagotech
Site Admin
 
Posts: 6995
Joined: Mon Nov 27, 2006 1:24 pm
Location: Chicago USA


Return to VPN, TS and Remote Access

Your Ad Here

Who is online

Users browsing this forum: No registered users and 2 guests