Open andry81 opened 2 years ago
All file associations is under user because has been installed for it
It's correct behavior, isn't it?
2. If try to install directly with the arbitrary user
runas /user:qb qbittorrent_4.4.5_x64_setup.exe
RUNAS ERROR: Unable to run - qbittorrent_4.4.5_x64_setup.exe 5: Access is denied.
Seems it is due the fact that user
has no permissions to qbittorrent_4.4.5_x64_setup.exe
or directory where it is located. It's your issue, not the installer's. Just put the installer where user
can access it.
Just put the installer where
user
can access it.
I've already did that. It runs w/o runas without an issue.
@glassez is this then still a valid issue ?
@andry81 can you still reproduce on latest stable (4.6.3) ?
@andry81 can you still reproduce on latest stable (4.6.3) ?
@luzpaz Currently I don't have the environment. May be I can tell later when I have a time to test it.
qBittorrent & operating system versions
qBittorrent: 4.4.5 x64 Operating system: Windows 7 x64 (6.1.760x) Installer: qbittorrent_4.4.5_x64_setup.exe
What is the problem?
I want to run the app as a different or limited user. My current user is
user
and I use another userqb
to run the app with:runas /user:qb <app>
This involves multiple issues:
user
because has been installed for it and click on any torrent file runs the app empty instance.runas /user:qb qbittorrent_4.4.5_x64_setup.exe
I suggest several workarounds:
runas.exe
Or
CreateProcessAsUser
API:Or use with the environment variable:
Note: This will require a password input dialog.
runas.exe
or--run-as-user
in the shortcuts.Steps to reproduce
No response
Additional context
No response
Log(s) & preferences file(s)
No response