Solved Tweak for 'run as different user' option on taskbar shortcut

gofer

New member
Local time
9:43 PM
Messages
2
There is a registry hack available to stop you having to use the shift key when using the right click menu to run as a different user - see
http://www.sevenforums.com/tutorials/155532-run-different-user-without-shift-right-click-context-menu.html This works fine if you are in Windows explorer but if you have pinned the program to the task bar, it doesn't work adn you still have to hold the shift key down and right click to get the 'run as different user' option on the menu. Does anyone know of a way to permanently set a shortcut on the taskbar to be run as a different user to the one you are logged in as ?
 

My Computer My Computer

At a glance

Windows 7 Pro x64Intel i7 870 @ 2.93Ghz8GBATi Radeon HD4650
Computer Manufacturer/Model Number
HP Elite 8100 CMT
OS
Windows 7 Pro x64
CPU
Intel i7 870 @ 2.93Ghz
Motherboard
HP
Memory
8GB
Graphics Card(s)
ATi Radeon HD4650
Sound Card
HP
Monitor(s) Displays
3 x HP LP2065
Hard Drives
Samsung HD502
PSU
HP
Case
HP
Cooling
HP
You need to put there a shortcut for batch file instead with content like this:
Code:
Runas /user:johnDoe "C:\mycommand.exe"
More info on Runas command.
 

My Computer My Computer

At a glance

Windows 8.1 ; Windows 7 x86 (Dec2008-Jan2013)
Computer type
PC/Desktop
OS
Windows 8.1 ; Windows 7 x86 (Dec2008-Jan2013)
Other Info
"The scale icon at the top right of a post or tutorial is how you can give rep to the member."
Thanks - much appreciated
 

My Computer My Computer

At a glance

Windows 7 Pro x64Intel i7 870 @ 2.93Ghz8GBATi Radeon HD4650
Computer Manufacturer/Model Number
HP Elite 8100 CMT
OS
Windows 7 Pro x64
CPU
Intel i7 870 @ 2.93Ghz
Motherboard
HP
Memory
8GB
Graphics Card(s)
ATi Radeon HD4650
Sound Card
HP
Monitor(s) Displays
3 x HP LP2065
Hard Drives
Samsung HD502
PSU
HP
Case
HP
Cooling
HP
Back
Top