Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In windows XP, The "run as" box will give the option to run as different user and by default the username contain PCName/Administrator. in windows 7 the run as will just give you an empty box to fill with the username and password. Is there anyway to invoke a default username for the runas box in windows 7?

share|improve this question
Are you asking if there's a default profile you can use? – Ben Plont May 2 '13 at 3:32
No, what i mean is that when you right client a program in XP and choose "run as" by default the the it show the other option of user is Computername\Administrator. In withdows 7, it's an empty pop-up box you need to fill. I'm asking if there is anyway i can invoke administrator as default username same as the XP. – Mike Stany May 2 '13 at 3:58
you could create a DOSKEY alias for the command prompt runas /profile /username program. – Ben Plont May 2 '13 at 15:29

Hold down shift when you right click, more options will show up. The option you are looking for is Run as different user

enter image description here

share|improve this answer
Thanks for your reply @Scott. I know how to do this, but i need somehow to auto fill the username box same as the XP. – Mike Stany May 2 '13 at 5:57
Have you looked at the command line program runas. Perhaps you can make a shortcut opening the program you want and pre-filling in the user you want to use. Its not the same gui but you just need to type the password for the account in the console window and it works exactly the same. – Scott Chamberlain May 2 '13 at 6:30

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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