Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question

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.

share|improve this answer
Sorry about the delay. TSDISCON suits my purpose. – user34049 Aug 10 '10 at 15:21
Then choose that as answer :) – kokbira May 10 '11 at 19:56

I believe it is possible, this article from Lifehacker explains how:

runas /user:*computer name\*account name explorer.exe
share|improve this answer
Thanks, but this only opens an Explorer window under the context of another user. I've used it many times. What I'd like to do is get to the "welcome screen", or even downright open a session under the other user's ID, with a single command (which I'd put in a shorcut in the quick-load toolbar). – user34049 Apr 13 '10 at 15:31
*computer name\* is unneccessary. – grawity Apr 13 '10 at 15:41
"computername" is necessary to access another computer. about launching explorer, it is only 50% of the path... – kokbira May 10 '11 at 19:56
@kokbira Then Sam152 should change his answer to stipulate that is it unnecessary unless you are trying to run an instance of explorer.exe in the context of another account existing on another PC, though I note that the OP didn't state he wanted to do this with an account from another PC, in fact he didn't request anything to do with another instance of explorer.exe. – user66001 Mar 7 '13 at 7:03
ok, but I'm talking about killing explorer before running it as another user. doing as @sam152 said will open only a new explorer window – kokbira Mar 22 '13 at 11:55

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .