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?

link|improve this question
feedback

2 Answers

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.

link|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
feedback

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

runas /user:*computer name\*account name explorer.exe
link|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
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.