Discussion Locked

How to prevent Remote Desktop Timeout?

0 helpful
14 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have a bit of a problem. We have a server with a few security applications running on them. We connect to the server using Remote Desktop When we connect to the server and initiate the program, sometimes we are timed out before it finishes. There is a GPO that limits connects to 30 minutes when idle. Some of the scans we do take a few hours, so we will minimize the connection while we do other work. This is usually when the timeout occurs. But the software is running, so I don?t understand why it thinks that the connection is idle! I have tried running and old school style mouse trembler from within the session, and it doesn?t seem to help.

Is there any way to force the connection to stay active? Does anyone know of a program or script that will make the remote desktop connection think it is being actively used even when minimized?

14 replies

by jim.azar

Is the Remote Desktop Session being terminated? Or, can you log back in and your session is still alive?

If the RD session is terminating, you can find the session timeout settings in the terminal services configuration, under the administrators menu on the server.

If your session is just becomming disconnected, then it may be that the screen saver is the problem. To solve this problem, just log into the server using Remote Desktop, and then right click on the background of the desktop, select properties, the uncheck the box that requires password on resume.

I hope this helps,
Jim Azar
http://www.rhinoback.com

by dasilvakev

You have a GPO that pushes out these settings so why not change that, or create another GPO for the admins and set the timeout value higher?

by geekenstein

A gold star to Jim Azar and TR. This is another example of useful, easily found information.

by solarwes

old post, but still very helpful. i didn't even realize the screensaver was turning on; i thought it was just timing out.

thank you.

by aks_mcsd

Open control Panel -> Administrative tool->
Setting-> Terminal Services Configuration->
Connection->RDP-tcp->Session->
Idle Session Limit ->30Minutes

by dave.rowe

Is there a registry setting to accomplish this? We have a large number of servers experiencing the same thing and we'd like to change it programatically. Thanks!

by jasoneu

paste this in a notepad, name it something.

Do While True ' keep on getting on
Set objIE = CreateObject("InternetExplorer.Application") ' create an internet explorer instance
Wscript.Sleep 1000 ' wait a bit
objIE.Quit ' kill internet explorer instance
Wscript.Sleep 60000 ' wait a bit
Loop ' do it again!

by shafis

Hey guys,

In my office we are using citrix remote desktop to work on the client's server. My problem is if the system is inactive for sometime "Protocol drive error" is occuring and we have to re-login to citrix. And there is loss of data when there is unsaved documents.

This is really irritating. Anyone having solution to this problem. Please help me in this :)

Jeni

by shafis

Hey guys,

In my office we are using citrix remote desktop to work on the client's server. My problem is if the system is inactive for sometime "Protocol drive error" is occuring and we have to re-login to citrix. And there is loss of data when there is unsaved documents.

This is really irritating. Anyone having solution to this problem. Please help me in this

Jeni .

This discussion is closed to new replies.