We help IT Professionals succeed at work.

Unable to connect to Remote Desktop after successful connections

innotionent
innotionent asked
on
977 Views
Last Modified: 2012-05-10
I have a PC (Windows XP) that is used for one of our road warriors.  For months, there hasn't been an issue with her connecting.  Over the last week or so, it seems that I have to reboot at least a couple times a week or she gets the generic "Can't connect to the remote computer" error.  If I reboot the machine, it works fine but then it seems that it doesn't terminate the session when she disconnects.

I've also verified that it's not only her that is unable to connect - if she has the problem, I can't connect remotely, either.

The last time, I was able to log in locally and verify that "Terminal Services" was still running.  I then logged off and she was able to connect normally.

I advised her to make sure that she was logging out of the machine, as opposed to simply closing the RDC connection (which, she admitted is what she had been doing previously), but that hasn't made a difference.

Any thoughts?
Comment
Watch Question

I was having a similiar problem with my system at home and it turned out that for some strange reason it was being assigned a different IP via DHCP than the IP reservation I set up for it in the router/DHCP server config.  Because of this subnet IP change, my port forwards couldn't reach the client computer from the internet.  Another thing to check is to make sure that the built in firewall and any firewall/AV software on her computer is not blocking port 3389, tsclient, mstsc and the RDP protocol.
Set a timeout for the connection

1.Open Terminal Services Configuration.
2.In the console tree, click Connections.
3.In the details pane, right-click the connection for which you want to modify time-out settings, and then click Properties.
4.On the Sessions tab, above End a disconnected session, select the Override user settings check box. This allows you to configure time-out settings for the connection.
5.Configure the following time-out settings as appropriate:

In End a disconnected session, select the maximum amount of time that a disconnected session remains on the server. When the time limit is reached, the disconnected session ends. When a session ends, it is permanently deleted from the server. Select Never to allow disconnected sessions to remain on the server indefinitely.

In Active session limit, select the maximum amount of time that a user's session can remain active on the server. When the time limit is reached, either the user is disconnected from the session or the session ends. When a session ends, it is permanently deleted from the server. Select Never to allow the session to continue indefinitely.

In Idle session limit, select the maximum amount of time that an idle session (a session without client activity) remains on the server. When the time limit is reached, either the user is disconnected from the session or the session ends. When a session ends, it is permanently deleted from the server. Select Never to allow idle sessions to remain on the server indefinitely.

Notes
To open Terminal Services Configuration, click Start, click Control Panel, double-click Administrative Tools, and then double-click Terminal Services Configuration.

Group Policy overrides the configuration set with the Terminal Services Configuration tool.

These settings affect every client that uses the connection to connect to the terminal server. To define Session settings on a per-user basis, use the User Configuration Group Policies or the Terminal Services Extension to Local Users and Groups and Active Directory Users and Computers

Author

Commented:
Thanks for the quick responses.

I don't see it being an IP or forewall issue because, again, it will work that first time as long as I reboot or (in at least two instances) log off the session physically at the PC.

I had actually thought of setting a timeout but couldn't find where to do it in XP.  I'm not seeing Terminal Services Configuration under Administrative Tools.
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
Thanks, nuttytech, for the follow-up that got me the erminal Services configuration that I needed and now I have set a timeout.

I'm still having issues with connecting, though, so let's assume I was mistaken about it being an issue with the session staying open.  Any ideas on what else what would suddenly make an RDP connection that was working fine stop working?  If it stopped altogether, it would make sense.  It's the fact that I connect the first time and then I can't get back to it that is driving me nuts.
I've been having the same issue off and on.  Does the session "lock" if somebody else connects remotely that first time?  I don't see how it would matter, but then the whole issue is sort of strange.

Author

Commented:
The issue appears to have gone now, we haven't had any issues in over a week of fairly regular use.  Points to nuttytech because even though there was still an issue for the first day after setting the timeouts, that's the last thing that I managed to change before the issue cleared up.  Moreover, that was basically what I was hoping to implement anyway.

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.