title: Create an interactive logon session
body: <p>I'm trying to create a utility similar to Microsoft's abandoned <a href="http://en.wikipedia.org/wiki/Microsoft_PowerToys#Retired_components" rel="noreferrer">Super Fast User Switcher</a> (<a href="http://www.5starsupport.com/download/PowerToySetup.exe" rel="noreferrer">download</a>), which allows fast user switching without going through the Welcome screen.</p>
  
  <p>I have a working implementation using the undocumented <code>WinStationConnectW</code> API (along with <code>WTSEnumerateSessions</code>), but it can only switch to a user who is already logged in.</p>
  
  <p>How can I create a login session so that it can switch to a user who is not logged in?<br>
  I only need to support XP, although it'd be nice to work on Vista / Seven.  (My current code already does)</p>
  
  <p>I know that this is possible because Super Fast User Switcher does it.  (Although it needs a Windows service to do it)</p>
  
  <p>I'm writing C#, but I can translate any answer into C#.</p>