Automate Fast User Switching

This is a discussion on Automate Fast User Switching within the Windows Programming forums, part of the Platform Specific Boards category; Hi, Is there any way to Automate the procedure of Fast User Switching between 2 users programmatically or through registry ...

  1. #1
    Registered User
    Join Date
    Jul 2005
    Posts
    1

    Automate Fast User Switching

    Hi,

    Is there any way to Automate the procedure of Fast User Switching between 2 users programmatically or through registry on Windows XP?

    Thanks
    Haku

  2. #2
    Registered User
    Join Date
    Jul 2005
    Posts
    69
    LockWorkStation( ) will take you to the logon screen. I'm not sure what you could try from there, maybe FindWindow, EnumWindows, or GetWindow. Anyway if you could get the correct handle then you could send a mouse click assuming the other account isn't passworded... Just a though, would be interested in what you come up with.

    Regards,
    Brian

  3. #3
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,494
    Why would you want to automate such a thing?
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Message class ** Need help befor 12am tonight**
    By TransformedBG in forum C++ Programming
    Replies: 1
    Last Post: 11-29-2006, 10:03 PM
  2. Need help managing user input
    By JayDiddums10 in forum C Programming
    Replies: 2
    Last Post: 11-19-2006, 04:01 PM
  3. ~ User Input script help~
    By indy in forum C Programming
    Replies: 4
    Last Post: 12-02-2003, 05:01 AM
  4. Beginner question- user input termination
    By westm2000 in forum C Programming
    Replies: 3
    Last Post: 12-02-2001, 01:48 PM
  5. Stopping a user from typeing.
    By knave in forum C++ Programming
    Replies: 4
    Last Post: 09-10-2001, 12:21 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21