Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: When Flow Launcher is running as administrator programs opened by it are automalically granted administrator previllage. #2638

Closed
2 tasks done
Dev123456689 opened this issue Apr 7, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@Dev123456689
Copy link

Dev123456689 commented Apr 7, 2024

Checks

  • I have checked that this issue has not already been reported.

  • I am using the latest version of Flow Launcher.

Problem Description

When Flow Launcher runs as an administrator, programs opened through it are automatically granted admin privileges without even prompting the user for permission, introducing a significant security risk by potentially running non-admin programs with elevated permissions. I need to run Flow Launcher as an adminitrator because of a plugin called "WinHotKey" requires administrative access to function properly, and i have no problem in running flow launcher as administrator but not all applications it opens.

Additionally i want to request a feature that given an option to the user in flow launcher setting to always run flow launcher as an administrator at startup because for the above mentioned plugin to run properly i had to manually create a scheduled task to run flow launcher as administrator. I know it is not a place for feature requests but i wrote it because it is closely linked with the above mentioned bug.

To Reproduce

  1. Run Flow launcher as administrator
  2. Open any program with it (example: cmd, notepad, etc)
  3. The program will be automatically ran as administrator without user promting it to and without promting the use for permission.

Screenshots

No response

Flow Launcher Version

1.17.2

Windows Build Number

10.0.22631.3296

Error Log

Replace this line with the important log contents.
Only found this log file:

SquirrelSetup.log

@Dev123456689 Dev123456689 added the bug Something isn't working label Apr 7, 2024
@VictoriousRaptor
Copy link
Contributor

It's the default behavior of Windows. We'll see if we can revert this behavior.

But why you need to run Flow as admin? I've just tried the plugin, it works without admin privileges.

@Dev123456689
Copy link
Author

I wrote to work properly, it work without running as admin but it doesn't work properly. See this issue for why it is needed. But I can summarise it to you, without running as admin winhotkey plugin cannot capture the key pressed when an admin application is in focus.

@Dev123456689
Copy link
Author

Dev123456689 commented May 15, 2024

@VictoriousRaptor waiting for a response from flow Launcher devs for more than a month. Are devs working on the issue?

@Garulf
Copy link
Member

Garulf commented May 16, 2024

@VictoriousRaptor waiting for a response from flow Launcher devs for more than a month. Are devs working on the issue?

I apologize for the delay.

Running Flow Launcher as admin is not recommended or supported.
The side effects you are experiencing are default Windows behavior and are not the fault of Flow Launcher.

We appreciate your understanding.

@Garulf Garulf closed this as not planned Won't fix, can't repro, duplicate, stale May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants