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

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

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)


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

Report •

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 ( and ask your question there. Chances are somebody can help.
Ed in Texas

Report •

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


Report •
Related Solutions

Ask Question