Title

Message

Confirm

Want to earn a free DisplayFusion Pro license? We're looking for DisplayFusion translators!
<< DiscussionsReply

Shift + Right-click run as different user

Avatar from Gravatar.com
dbs5150
4 discussion posts
When I pin a shortcut to a DF taskbar, I lose the ability to hold down the shift key, right-click the shortcut and select the 'Run as different user' command. This is an important feature I use on a daily basis for testing and running applications with elevated permissions (other than just Run as Administrator). This prevents me from pinning the items I'd like to left and right monitors, as I can only do this from my main monitor with the standard Windows taskbar.
May 4, 2015  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
I've added this to our list, but in the meantime, I may have a workaround for you. Do you always want to run these shortcuts as a different user, or only occasionally?
May 5, 2015  • #2
Avatar from Gravatar.com
dbs5150
4 discussion posts
I look forward to a solution where we can do it on the fly, but I would like the workaround to permanently open as a different user.. I have one app that I always run as a certain user. Thanks!
May 5, 2015  • #3
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Ok, sounds good! If you right-click the pinned item on the DF taskbar, you can choose "Edit this pinned item." Then just modify it to look like the attached screenshot, and you should be all set. Basically, you're calling "runas.exe" to run it as a different user. If you put /savecred in the command line box as well, it should save the password after you've entered it the first time
May 5, 2015  • #4
Avatar from Gravatar.com
dbs5150
4 discussion posts
Thanks, Keith. I do not see the attachment you are referring to. I am familiar with the runas command and I have tried entering it, but it will not work for me as the file path, and while I see a "Command Line" column I cannot seem to edit that. The file I am trying to run as a different user is Active Directory Users and Computers (dsa.msc), so I tried the runas command like this: Runas /env /user:MyDomain\MyUserName "mmc %windir%\system32\dsa.msc", but DF does not like this in the file path. I'm sure I'm just missing something.
May 6, 2015  • #5
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Ah sorry, totally forgot to attach it. I've attached a new screenshot anyhow with what you're looking to do
• Attachment: 2015-05-06_10-14-13.png [37,009 bytes]
2015-05-06_10-14-13.png
2015-05-06_10-14-13.png
May 6, 2015  • #6
Avatar from Gravatar.com
dbs5150
4 discussion posts
Thanks, that worked! Will look forward to the shift+right-click run as different user option in a future release, another scenario is testing web apps as different users (windows authentication) so I change the user on the fly. I appreciate the help!
May 6, 2015  • #7
Keith Lammers (BFS)'s profile on WallpaperFusion.com
No problem! I'll definitely let you know if/when we're able to implement it fully
May 7, 2015  • #8
Avatar from Gravatar.com
dracho
12 discussion posts
There is a problem with this workaround... you end up with two icons in the taskbar instead of just one - the runas.exe shortcut that's used to launch the program initially as well as the program itself.

I've tried ShellRunas too, but with no success - I don't believe it can save credentials - and I don't want to enter my username and password each time I launch this program.

My situation: I want two separate instances of qbittorrent. One configured to focus on upload statistics for my private tracker torrents, and one configured with a focus on download stats for use with public trackers.

It's not possible to run qbittorrent portable when a standard installation of qbittorrent exists. It may be possible to run two portable installations simulateously if I first uninstall the standard installation. I may try this.

I have settled on launching my private qbittorrent at system startup and set it to display an icon in the system tray, using the runas.exe method. My public qbittorrent, the default installation using my primary user credentials, is pinned to my DF taskbar.

I feel it's important to point out that Windows user accounts without a password are a huge security risk, even if it's just a secondary account used for launching programs with different settings.
8 days ago  • #9
Was this helpful?  Login to Vote  Login to Vote
<< DiscussionsReply