Remote desktop defeating inactivity timeout

5

Is there an easy way to prevent a Remote Desktop session from timing out due to inactivity, assuming no access to the terminal server timeout settings? Maybe something like automatically transmitting a mouse click or a key press every few minutes?

jlpp

Posted 2011-02-17T14:45:22.273

Reputation: 153

Answers

8

I suspect there are ways in software to do this but I found a really simple solution by accident years ago. Assuming your mouse is optical, placing it on a refractive surface such as a frosted glass coaster causes the mouse sensor to move the mouse by a few pixels at a time almost continuously.

I use this trick every day as I operate a remote recovery service and some portions of the service can lag for hours, I use this to keep the session active while I move onto other projects. I picked up a set of the coaster, 4 I think, for about ten bucks last time I added workstations and find it a simple technique. One warning though, if your mouse is wireless this will cause you to run through a lot of batteries so use rechargables.

Chris - Armor-IT

Posted 2011-02-17T14:45:22.273

Reputation: 761

Perfect. Another option may be putting your watch under the mouse sensor? May use less batteries. – jlpp – 2011-02-17T19:09:59.267

3If you don't want to buy coasters you can actually set the mouse on any hologram and have the same effect. Think old windows/office CD – Chris - Armor-IT – 2011-02-17T19:17:18.387

3

I found this question searching on Google and one possible solution is to have a program that automatically moves your mouse every X seconds and does something (like click or press a key). Here are a couple of free solutions I found:

http://movemouse.codeplex.com/

http://www.murgee.com/auto-mouse-mover/

Daniel Sanchez Pearson

Posted 2011-02-17T14:45:22.273

Reputation: 31

I tried movemouse and it didn't work; it didn't send the mouse events to the remote desktop session. – Daniel Golden – 2017-02-25T00:22:46.713

1

Here is another software option that I've used and it works well.

https://mousejiggler.codeplex.com/ Project Description Mouse Jiggler is a very simple piece of software whose sole function is to "fake" mouse input to Windows, and jiggle the mouse pointer back and forth.

Useful for avoiding screensavers or other things triggered by idle detection that, for whatever reason, you can't turn off any other way; or as a quick way to stop a screensaver activating during an installation or when monitoring a long operation without actually having to muck about with the screensaver settings.

A. Computerdude

Posted 2011-02-17T14:45:22.273

Reputation: 11

Do any of those work for RDP session idle timeouts? I tried using caffeine and it still caused the idle timeout to hit. – John C – 2017-02-15T21:20:03.393

-1

Years later... try Targeted Caffeine. Like the normal Caffeinated, but you can send keystrokes to any window based on title / class.

https://www.zhornsoftware.co.uk/caffeine/

eromrab

Posted 2011-02-17T14:45:22.273

Reputation: 1