-
-
Notifications
You must be signed in to change notification settings - Fork 364
Add an Option to always run Flow launcher as Administrator on startup #2639
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Try this:
|
i have used task scheduler to achieve the same but it would be nice if an option can be added to run flow launcher as administrator. |
@JohnTheGr8 |
🫡 yessir |
And when running flow Launcher as administrator is launches all the other applications/programs also with administrator permission without showing any UAC prompt, this is a very big security issue, please look into the matters. 😊 |
Hi there, unfortunately this is the Windows behaviour- launching any app as admin and subsequent processes launched by it will also have the same admin privileges. This afaik not something that can be changed. |
Since there is already the solution for running as administrator on startup, we won't be building this functionality into flow. I know this unfortunately doesn't appropriately address the actual issue with WinHotkey plugin, but I can't think of anything atm. I will keep this issue open for a bit in case something comes to mind. |
This comment has been minimized.
This comment has been minimized.
This issue is not stable just they are not listening to me. Powertoys and many other software with admin privileges can open other software without admin privileges why is a Windows OS restrictions only for flow launcher. |
Hi there, PowerToys Run is actually not allowed to run as admin, therefore while most of the other PowerToys modules are running as admin, Run and its subsequent executed programs and processes are still running as non-elevated. It's a convoluted process to develop the means to run as non-elevated process from an elevated one, at this stage I don't think the effort is justifiable. |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 60 days.\n\nAlternatively this issue can be kept open by adding one of the following labels:\nkeep-fresh |
This issue was closed because it has been stale for 7 days with no activity. If you feel this issue still needs attention please feel free to reopen. |
You can do it effortlessly with CreateProcessWithTokenW with getting token from explorer.exe. I'll do a PR if you're too busy to do it, but it might be worth implementing if you also implement the Win keyboard shortcut (from the dev build) because pressing Win on a program with administrator rights won't prevent the real start menu from opening if FlowLauncher isn't also administrator. |
@damsdev1 We’re currently working on Win keyboard shortcuts this pull request (PR): Flow-Launcher/Flow.Launcher#3157. We’d greatly appreciate your feedback or contributions if you’re able to assist. Thank you! |
@Jack251970 wrong PR link? |
@jjw24 He referenced the implementation of the Additionally, he mentioned that administrator rights might be worth considering for the implementation of the |
Is your feature request related to a problem? Please describe.
A plugin called 'WinHotkey' need administrator previlages to run properly which resulted me to ask for this feature.
Describe the solution you'd like
An option in the General settings below 'Start flow Launcher at system startup' as 'Run Flow launcher as administrator on startup' or something like so.
Describe alternatives you've considered
My single cell smooth brain worked very hard but couldn't find an alternative.
Additional context
Please add this feature.
The text was updated successfully, but these errors were encountered: