Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Tweak for 'run as different user' option on taskbar shortcut

05 Aug 2011   #1
gofer

Windows 7 Pro x64
 
 
Tweak for 'run as different user' option on taskbar shortcut

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 System SpecsSystem Spec
05 Aug 2011   #2
Neutron16

Windows 8.1 ; Windows 7 x86 (Dec2008-Jan2013)
 
 

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 System SpecsSystem Spec
08 Aug 2011   #3
gofer

Windows 7 Pro x64
 
 

Thanks - much appreciated
My System SpecsSystem Spec
Reply

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




Thread Tools





Similar help and support threads
Thread Forum
Tweak The Taskbar?
Ok in windows 7 your taskbar has a glossy look, it lately has gotten very annoying to me! Windows 8 they dont have that, and the taskbar doesn't have thst white thin line at the top. Is there ANY way to get rid of that gloss without changing themes?
Customization
User's Folder shortcut on taskbar
On my Win 7 X64 system there used to be an icon on the taskbar which opened up the User's Folder. (The one pointed to by the desktop item just below Libraries at the top left.) This has disappeared and I am at a loss as to how to get it back again.
General Discussion
Taskbar Alligned Vertically Tweak?
I want the StartButton to be at the bottom of my taskbar when I have it placed vertically. I have it on the left side currently. I've decided to this because with widescreen displays becoming prominent, we have unused horizontal space when doing common tasks such as internet browsing and word...
Customization
'New Shortcut' Option Missing
Hello all: I'm needing to create a shortcut, but the context menu that normally lists 'new shortcut' is missing. If it were just a shorcut to an exe or something I would just copy and past link, but I'm needing to create a shortcut for 'RunDll32 DwmApi #105'. But I can't seem to do that. I...
General Discussion
Taskbar Tweak
Rather than use a third party docking bar, I'm determined to use the new W7 taskbar. However, I've found changing the icons; pinning and unpinning programs, folders, and files; and positioning the icons on the taskbar to be hit or miss. I've found a simple but effective way to do all three using...
Customization
Taskbar previews tweak question
I like the feature where if I hover over a thumbnail, it will show just that window and hide all the other windows, so I can pop over to another window to check something and then resume working in my current window. But the problem I have at the moment is that I have to move the cursor to the...
General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 07:38.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App