Opening executable that requires elevated privileges to run might invoke UAC multiple times
Describe the bug Opening executable that requires elevated privileges to run might invoke UAC multiple times
To Reproduce
- Locate an executable (.exe) that requires elevated privileges
- Select "Open" or double click on the file
- When "User Account Control" dialog is invoked, select "No"
- UAC dialog opens multiple times again
Expected behavior One dialog should be enough as per normal Windows behavior.
Screenshots Cannot record UAC prompts that easily on this physical system. Trying to reproduce on virtual environment.
Desktop (please complete the following information):
- OS Version: Windows 10 Version 2004 (OS Build 19041.329)
- App version: [v0.9.2.0]
Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.89. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
Attached a recording where it can be seen how multiple UAC dialogs are invoked when starting certain executables.

@Kaedin The items in the recent list only need to be clicked once to launch the file. The cause for two UAC dialogs is because you are double clicking on the items.
@Kaedin The items in the recent list only need to be clicked once to launch the file. The cause for two UAC dialogs is because you are double clicking on the items.
@yair100 Actually, this issue occurs either when I'm trying to open the executable from Recents or via browsing into the actual folder where it resides. In later case, a double click is required to run the executable and the UAC dialog is invoked multiple times. Sometimes there's also more than 2 dialogs invoked when launching using the double click so the behavior is not bound the number of mouse clicks.