Launch a program under a different user account (typically an Admin level account).
Syntax
shellrunas [/netonly] program arguments
shellrunas /reg [/quiet]
shellrunas /regnetonly [/quiet]
shellrunas unreg
Key
program Run program with specified credentials and parameters
/netonly Use if specified credentials are for remote access only
/reg Register ShellRunas shell context-menu entry
/regnetonly Register Shell /netonly context-menu entry
Note: a command prompt will flash when the program starts
/unreg Unregister ShellRunas shell context-menu entry
/quiet Register or unregisters ShellRunas shell context-menu entry without result dialog
C:\> shellrunas.exe photoshop.exe
“If NumLock is on, pressing a key on the numeric keypad while holding SHIFT overrides NumLock and instead generates an arrow key” ~ OldNewThing
PsExec - Execute process remotely.
RUNAS - Execute a program under a different user account.
How-to: Run with elevated permissions
How-to: Logon Types - Windows Logon types.
Equivalent VBScript: ShellExecute method
Aaron Margosis - Running with least privilege, archived blog (2004-2019).