Jump to content

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Find out more here. X
X


Photo

Keep Terminal Services Session from going idle


  • Please log in to reply
3 replies to this topic

#1 sb1920alk

sb1920alk

    Wayfarer

  • Active Members
  • Pip
  • 96 posts

Posted 29 December 2009 - 11:56 PM

I'm looking for a band-aid. I have a user logged in to a terminal server. After x amount of idle time the session disconnects, and after y more idle time the session logs off. In this particular situation, I can't change the user account properties, the terminal server configuration, or group policy, so I'm looking for a script the the user can run when they think they'll be idle for a while that will trick the terminal server into thinking they're not idle. I've tried the obvious mouse moves and keystrokes, but they aren't working.

...and if it could keep the session alive after the user disconnects, that would be really great.







#2 EndFunc

EndFunc

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 436 posts

Posted 30 December 2009 - 12:27 AM

Maybe try something like this.

http://www.autoitscript.com/forum/index.php?showtopic=38976&view=findpost&p=653547
EndFuncAutoIt is the shiznit. I love it.

#3 sb1920alk

sb1920alk

    Wayfarer

  • Active Members
  • Pip
  • 96 posts

Posted 30 December 2009 - 12:42 AM

Maybe try something like this.

http://www.autoitscript.com/forum/index.php?showtopic=38976&view=findpost&p=653547

Thanks for the reply. I'll try it.

#4 gte

gte

    Universalist

  • Active Members
  • PipPipPipPipPip
  • 287 posts

Posted 22 January 2010 - 10:15 PM

This is a little old, but I just fixed this by having a file read to a know file that's of a 100 kb or so, this will send 100kb from one session end to the other




I'm looking for a band-aid. I have a user logged in to a terminal server. After x amount of idle time the session disconnects, and after y more idle time the session logs off. In this particular situation, I can't change the user account properties, the terminal server configuration, or group policy, so I'm looking for a script the the user can run when they think they'll be idle for a while that will trick the terminal server into thinking they're not idle. I've tried the obvious mouse moves and keystrokes, but they aren't working.

...and if it could keep the session alive after the user disconnects, that would be really great.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users