3

I want to be able to run a script (or hit a hotkey that runs a script) that automatically switches from the currently logged on user to another logged on user. Is it possible to do such a thing? I'm using Windows Server 2008 Enterprise Edition. If I need to switch quickly between users, it's annoying to have to hit Windows+L, then "Switch User," then the user account you want to switch to. Double-clicking a batch file or running a some kind of powershell command would be much more convenient. Thanks!

3
  • I think this may actually be better suited to Stack Overflow, or even Server Fault.
    – jerryjvl
    Jul 17, 2009 at 23:09
  • jerrjyl: I've talked with Jeff about these types of questions and scripting such as this is probably most suitable for SuperUser. If it was something more in depth and SysAdmin-related than just switching user accounts, it probably would have moved to ServerFault. As it stands now the question will stay here.
    – TheTXI
    Jul 17, 2009 at 23:11
  • TheTXI: might be worth adding something about this to the main FAQ page to avoid a lot of needless reporting?
    – jerryjvl
    Jul 18, 2009 at 1:02

1 Answer 1

3

Check out this post - it looks like it would work in Server 2008 as well.

1
  • Not bad! I can't specify a particular user to automatically switch to, but at least this bypasses having to click the "Switch User" button. Once I get 15 rep, I'll upvote :)
    – Pwninstein
    Jul 17, 2009 at 23:58

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .