Automatically run an application as another user [duplicate]

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.


Solution 1:

  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.