December 2009 - Posts

Windows 7: Run as a different user

imageToday I had to use different accounts to do sorts of things (on my visual studio :P – and for some reasons, I don’t want to switch user) and I did remember that since XP, there is this cool cmd tool called runas : http://technet.microsoft.com/en-us/library/bb490994.aspx. I tried it and it still works over Windows7, but to my amazement, this has been extended into a hidden context menu! Just shift + Right Click a new set of context menu will be added to the usual ones.

My particular interest is the Run as different user, which enables me to do what runas cmd tool do. Upon invoking the menu, this will open a login dialog box like this where you an enter the user that you want to use and as well as the password.

image

This run as in the context menu is very convenient, but if you need more control and more switches, i would still recommend the runas cmd tool which as a number of very useful switches.

image

Ok john, back to work now.

Posted by John D. Delizo | with no comments
Filed under: