|
-
Jun 21st, 2005, 04:25 AM
#1
switch user command?
Is there a command that I can type in command prompt that would switch the current xp user?
if not, anyone knows how to do it via api calls?
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB )
VB.NET to C# conversion tips!!
-
Jun 21st, 2005, 06:51 AM
#2
Re: switch user command?
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.
-
Jun 21st, 2005, 10:21 AM
#3
Fanatic Member
Re: switch user command?
in win2k there was a file called su.exe that allowed you to swich users though cmd. but i dont think XP has it
-
Jun 21st, 2005, 10:57 AM
#4
Re: switch user command?
 Originally Posted by ALL
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.
-
Jun 21st, 2005, 12:59 PM
#5
Re: switch user command?
I thought you could only switch users if your running XP and not on a network?
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jun 21st, 2005, 01:19 PM
#6
Fanatic Member
Re: switch user command?
no, you can switch users in Win-2k and (i think) Win-NT
-
Jun 21st, 2005, 02:35 PM
#7
Re: switch user command?
Is su.exe the same thing as XPs "Fast User Switching" feature? FUS allows you to switch users without logging them off.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jun 21st, 2005, 02:51 PM
#8
Re: switch user command?
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
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB )
VB.NET to C# conversion tips!!
-
Jun 22nd, 2005, 08:30 AM
#9
Frenzied Member
Re: switch user command?
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
-
Jun 22nd, 2005, 11:17 AM
#10
Re: switch user command?
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
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|