MParallel icon indicating copy to clipboard operation
MParallel copied to clipboard

Feature run as system/admin/etc

Open isidroco opened this issue 2 years ago • 2 comments

Hi, would be useful to have an option to run tasks as admin, or system, etc. Workaround for now is to launch indirectly using sysinternals psexec, or better, nirsoft's advancedRun. Thanks.

isidroco avatar Apr 10 '23 02:04 isidroco

I don't think this is something that should be implemented in MParallel.

Remember:

Write programs that do one thing and do it well. Write programs to work together. (Write programs to handle text streams, because that is a universal interface.) — https://en.wikipedia.org/wiki/Unix_philosophy#Origin

If you want to run MParallel with elevated privileges, then you can simply run it from an "administrator" command prompt: Open the start menu, type cmd, right click on "Command Prompt", and select "Run as administrator".

Alternatively, you can use sudo for Windows, or one of the tools that you already mentioned, to request elevated privileges...

lordmulder avatar Apr 10 '23 13:04 lordmulder

You can also simply change requestedExecutionLevel in the Manifest to requireAdministrator 😏

MParallel_requireAdministrator.zip

lordmulder avatar Apr 10 '23 17:04 lordmulder