Run as a different user on a shortcut

  1. Right-click > New > Shortcut
  2. For Target, type "runas /user:domain\user program.exe"

I think you can replace "domain" with the computer name if you want it to use a local account.

http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/windows_security_runas_shortcut.mspx?mfr=true

The link above is for XP, but I was able to do this in Windows 7. When you double-click the shortcut, it will open a cmd that will prompt you for the user's password. What's interesting is that it doesn't display asterisks (or anything) as you type in the password. However, I did just test it and it is accepting the password you type.


To add to what the above user said:

C:\Windows\System32\runas.exe /storecred /user:Domain\UserName "mmc %windir%\system32\dsa.msc"

(This "mmc %windir%\system32\dsa.msc" is for running active directory users and computers as an example)