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

How can you run an application as another user in Windows 7? The only catch is that I don't want to have to hold down the shift key, right click on the application and choose Run as different user. I need it to automatically login using the login credentials I specify.

link|improve this question
feedback

1 Answer

up vote 1 down vote accepted
  1. Create a shortcut to your executable.
  2. Modify the "Target" under the shortcut's properties to:

    runas /user:DOMAIN\USERNAME "path to executable"

Then, just use the shortcut when you want to run the program.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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