Flow-Launcher / Flow.Launcher

:mag: Quick file search & app launcher for Windows with community-made plugins
https://flowlauncher.com
MIT License
7.66k stars 301 forks source link

Add an Option to always run Flow launcher as Administrator on startup #2639

Open Dev123456689 opened 5 months ago

Dev123456689 commented 5 months ago

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.

JohnTheGr8 commented 4 months ago

Try this:

Dev123456689 commented 4 months ago

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.

Dev123456689 commented 4 months ago

@JohnTheGr8 I have responded 2 weeks ago, remove the lable 'Waiting for response' from this issue. I have reported the issue a month ago and there is no outcome of it except for waiting

JohnTheGr8 commented 3 months ago

@JohnTheGr8 I have responded 2 weeks ago, remove the lable 'Waiting for response' from this issue. I have reported the issue a month ago and there is no outcome of it except for waiting

:saluting_face: yessir

Dev123456689 commented 3 months ago

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. 😊

jjw24 commented 2 months ago

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.

jjw24 commented 2 months ago

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.

github-actions[bot] commented 5 days ago

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

Dev123456689 commented 3 days ago

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.

jjw24 commented 2 days ago

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.