RDP Session change detection

  • Thread starter Thread starter Marc
  • Start date Start date
M

Marc

Guest
Hi

I am trying to achieve something very specific using RDP. I have 2 windows
XP systems. System 1 is currently in a session and System 2 RDPs into
System1. This is the simple part.

Can I detect from a running application on System 1 that I am about to be
logged off because System 2 is requesting a connection. I need to detect it
before the session is closed and moved to system 2.

I tried all the WTS_SESSION_CHANGE messages and its already too late the
system has already been locked or logged off.

Thanks for any ideas,
Marc


--
....
 
Back
Top