title: How to run my program on before logout on windows XP?
body: <p>I am looking for an inverse version of "RunOnceEx".</p>
  
  <p>RunOnceEx does run some program, before the user's shell(desktop&amp;taskbar) start. The login progress will not continue before the runonceex complete.</p>
  
  <p>I want to do exact the same but on user logout.
  When she/he logout, all running program shutdown, leaving shell(desktop&amp;taskbar), then ""I wish my program will be execute this moment"", finally logout.</p>
  
  <p>I think it is possible because the "mobsync.exe" is doing that. But I cannot find where and how to do it.</p>