Is there a command that I can type in command prompt that would switch the current xp user?:D
if not, anyone knows how to do it via api calls?
Printable View
Is there a command that I can type in command prompt that would switch the current xp user?:D
if not, anyone knows how to do it via api calls?
No, I don't believe so. Using the API, you can logout the current user, but then the new user would have to manually login using their ID and password.
in win2k there was a file called su.exe that allowed you to swich users though cmd. but i dont think XP has it :(
Nope. I'm running XP Pro and a search of my hard drive revealed no su.exe file.Quote:
Originally Posted by ALL
I thought you could only switch users if your running XP and not on a network?
no, you can switch users in Win-2k and (i think) Win-NT
Is su.exe the same thing as XPs "Fast User Switching" feature? FUS allows you to switch users without logging them off.
fast user switching is waht I'm talking about. I want the current interactive user to be "switched" to another user. The start menu has a switch user button, but I want to do it through command prompt, or code if possible:D
dang...i just read about that the othe day...i am gonna find that cause it's a good article. Hopefully I can find it sometime today ;)
Windows logo key+L:
Fast User Switching Enabled
If the Fast User Switching feature is enabled and you lock the computer, you can observe the same behavior as if you switched users:
The computer returns to the Welcome screen and other users can log on to the computer.
Fast User Switching Disabled
If the Fast User Switching feature is disabled and you lock the computer, the Unlock Computer dialog box is displayed that requires the
current logged-on user to enter a password to unlock the computer.
Welcome Screen Enabled
If the Welcome screen is enabled, the computer can also be locked if you press CTRL+ALT+DELETE (to open Task Manager),
and then click Lock Computer or click Switch User on the Shut Down menu.
NOTE: The ability to observe "Lock Computer" or "Switch User" on the Shut Down menu is dependent upon whether or not
the Fast User Switching feature is enabled.
Plus these links:
http://support.microsoft.com/default...b;en-us;294737
http://support.microsoft.com/default...b;en-us;279765
http://support.microsoft.com/default...b;en-us;294855
:D