Files icon indicating copy to clipboard operation
Files copied to clipboard

Opening executable that requires elevated privileges to run might invoke UAC multiple times

Open ilepn opened this issue 6 years ago • 4 comments

Describe the bug Opening executable that requires elevated privileges to run might invoke UAC multiple times

To Reproduce

  1. Locate an executable (.exe) that requires elevated privileges
  2. Select "Open" or double click on the file
  3. When "User Account Control" dialog is invoked, select "No"
  4. 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]

ilepn avatar Jun 11 '20 06:06 ilepn

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.

issue-label-bot[bot] avatar Jun 11 '20 06:06 issue-label-bot[bot]

Attached a recording where it can be seen how multiple UAC dialogs are invoked when starting certain executables. 06-54-24_Trim2

ilepn avatar Jun 26 '20 04:06 ilepn

@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 avatar Jul 07 '20 04:07 yair100

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

ilepn avatar Jul 14 '20 22:07 ilepn