title: Launch WPF UI on user console connection
body: <p>I have written a WPF application that I want to show (the UI) every time a user logs into a server. It must show on user login but also when a user connects to a existing console session via RDP.</p>
  
  <p>I have no trouble with new user login. </p>
  
  <p>The issue I'm having is invoking my application when a user connects to the console session, a existing user session on the server. </p>
  
  <p>The most obvious way would be to setup a scheduled task, there is specific support for this but the UI will only show the UI for the user who it is 'running as', as defined in task scheduler. So I may have not be able to use this as it must launch and show the UI to any user who connects to an existing console session. </p>
  
  <p>How can I achieve this, to detect / launch an interactive application when a user connects via RDP to an already logged in console session? I'm stuck. </p>
  
  <p>Thanks</p>