up vote 2 down vote favorite
share [g+] share [fb]

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!

link|improve this question
I think this may actually be better suited to Stack Overflow, or even Server Fault. – jerryjvl Jul 17 '09 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 '09 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 '09 at 1:02
feedback

1 Answer

up vote 2 down vote accepted

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

link|improve this answer
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 '09 at 23:58
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.