I'm trying to launch cmd.exe in session 0. So far I've done the following from an elevated command prompt:
sc config UI0Detect start= auto
net start UI0Detect
And the response indicates that the service was started correctly. It is at this point that I assumed if I switched to session 0, cmd.exe would be running.
I switch to session 0 using the following command:
rundll32 winsta.dll,WinStationSwitchToServicesSession
This successfully switches me to session 0, but the only window that's available is the one that has the option to return to session 1.
How do I get cmd.exe to launch in session 0?