Thread: Automate Fast User Switching

  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 int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,656
    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.

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, 11:03 PM
  2. Need help managing user input
    By JayDiddums10 in forum C Programming
    Replies: 2
    Last Post: 11-19-2006, 05:01 PM
  3. ~ User Input script help~
    By indy in forum C Programming
    Replies: 4
    Last Post: 12-02-2003, 06:01 AM
  4. Beginner question- user input termination
    By westm2000 in forum C Programming
    Replies: 3
    Last Post: 12-02-2001, 02:48 PM
  5. Stopping a user from typeing.
    By knave in forum C++ Programming
    Replies: 4
    Last Post: 09-10-2001, 12:21 PM