XP, Vista or Windows 7:
Is there a command to use the "switch user" feature, the same way there is one to lock the workstation?
Is there a command to use the "switch user" feature,
You can connect to an existing session with tscon
.
What I'd like to do is get to the "welcome screen",
Use tsdiscon
.
If Fast User Switching is on, then simply locking the workstation*
should display the Welcome Screen too.
*
I hope you don't use rundll32 LockWorkStation.
tsdiscon
says use this to disconnect from a rdp session. So my comment is a hint to anyone else who 1) reads this answer 2) reads tsdiscon documentation and 3) says Hey, this answer is wrong, tsdiscon can only be used when using RDP!.
I believe it is possible, this article from Lifehacker explains how:
runas /user:*computer name\*account name explorer.exe