Run a script when a user is logging to a disconnected sessio

March 4, 2012 at 03:21:05
Specs: Windows 7 64bit
Hello,

I want to run a "logon" script whenever a user is logging remotly to a disconnected TS session.

I mean that I have a user who was logged to a remote server an while ago and went from his computer, so his session got disconnected (not logged off)

now the user came back to his computer and he want's to log back to his disconncted session,

how can I run a script that will work when the user is logging to his disconnected session (much like a logon script for new sessions, but for disconnected sessions)

thanks!!


See More: Run a script when a user is logging to a disconnected sessio

Report •

#1
March 5, 2012 at 23:22:54
roei, sounds to me like you need an intercept that checks to see if the user is online (ping?) and prompts him to log on if not. I used to be able to write that program in DOS (showing my age there), but that's obsolete now. Suggest you go to the programming forum (http://www.computing.net/forum/programming/1.html) and ask your question there. Chances are somebody can help.
HTH
Ed in Texas


Report •

#2
March 5, 2012 at 23:27:24
Hi Ed,

ping will only tell me if the computer is up, not if a user is logged on :)

thanks for the advise, I'll ask in that forum as well

Roei


Report •
Related Solutions


Ask Question