Multiple Instance Support - One Installation for Private Tracker, One for Public
Posted: Sun Jan 13, 2019 9:25 pm
I want to keep my private tracker torrents (which I care about greatly, and want my interface focused on upload stats) segregated from my public tracker torrents (which I don't care about as much and want my interface focused on downloading stats).
I tried running the portable version of qbittorrent, but it failed because the installed version was running.
I resorted to this solution: Running qbittorrent as a different user.
This is accomplished by first creating a new LIMITED local user account (be sure to give it a password, otherwise you're opening yourself up for easy security risks) then creating a shortcut to qbittorrent.exe and editing the Target field to match: C:\Windows\System32\runas.exe /user:SECONDARYUSER /savecred "C:\Program Files\qBittorrent\qbittorrent.exe" (replacing SECONDARYUSER with your new account's username of course).
The first time you double-click the icon, you'll be prompted for your new account's password. The /savecred switch will remember this password and won't ask you again. (This may be a security risk too... I'm actually not sure how or where the password is saved... that's why I definitely recommend the new account NOT be an administrator.)
I then put this shortcut in my Startup folder in the Start Menu.
Unfortunately, whenever I log on, I see a very brief command prompt window pop up while the Runas.exe application launches qbittorrent. This brief box is annoying, and that's why I'm making this post, but the method described still technically works great. I keep the qbittorrent instance launched from my secondary account open at all times, since it has my private torrents and I launch qbittorrent normally from the taskbar or by clicking a magnet link.
It would be nice to allow the user to have two instances installed and open at once. Maybe make an option in the Advanced settings to "Allow multiple instances."
Thank you!
I tried running the portable version of qbittorrent, but it failed because the installed version was running.
I resorted to this solution: Running qbittorrent as a different user.
This is accomplished by first creating a new LIMITED local user account (be sure to give it a password, otherwise you're opening yourself up for easy security risks) then creating a shortcut to qbittorrent.exe and editing the Target field to match: C:\Windows\System32\runas.exe /user:SECONDARYUSER /savecred "C:\Program Files\qBittorrent\qbittorrent.exe" (replacing SECONDARYUSER with your new account's username of course).
The first time you double-click the icon, you'll be prompted for your new account's password. The /savecred switch will remember this password and won't ask you again. (This may be a security risk too... I'm actually not sure how or where the password is saved... that's why I definitely recommend the new account NOT be an administrator.)
I then put this shortcut in my Startup folder in the Start Menu.
Unfortunately, whenever I log on, I see a very brief command prompt window pop up while the Runas.exe application launches qbittorrent. This brief box is annoying, and that's why I'm making this post, but the method described still technically works great. I keep the qbittorrent instance launched from my secondary account open at all times, since it has my private torrents and I launch qbittorrent normally from the taskbar or by clicking a magnet link.
It would be nice to allow the user to have two instances installed and open at once. Maybe make an option in the Advanced settings to "Allow multiple instances."
Thank you!