[GH-ISSUE #31] If autostart option is selected, UAC prompt is shown even if you just exit the options #1942

Closed
opened 2026-03-01 17:16:08 +03:00 by kerem · 2 comments
Owner

Originally created by @majkinetor on GitHub (Dec 8, 2020).
Original GitHub issue: https://github.com/1Remote/1Remote/issues/31

Originally assigned to: @VShawn on GitHub.

Describe the bug

Enable autostart in options, say yes in UAC, go Back, say YES again?

Now just enter options and exit, UAC will prompt

Expected behavior

Do not show UAC prompt when there is no admin changes.

Originally created by @majkinetor on GitHub (Dec 8, 2020). Original GitHub issue: https://github.com/1Remote/1Remote/issues/31 Originally assigned to: @VShawn on GitHub. **Describe the bug** Enable autostart in options, say yes in UAC, go Back, say YES again? Now just enter options and exit, UAC will prompt **Expected behavior** Do not show UAC prompt when there is no admin changes.
kerem 2026-03-01 17:16:08 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@VShawn commented on GitHub (Dec 9, 2020):

the fact is in win32 version, i create/delete shutcut in

C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp

it needs admin authorization, so UAC show up.

But it is weird that UAC prompt twice, I will go for a check, it only prompt onece in previous version.


BTW, if you are using Stroe version, there should be on UAC prompt.


Update

found I miss some code during refactor of the class SetSelfStartingHelper which brings this bug.

<!-- gh-comment-id:741289474 --> @VShawn commented on GitHub (Dec 9, 2020): the fact is in win32 version, i create/delete shutcut in > C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp it needs admin authorization, so UAC show up. But it is weird that UAC prompt twice, I will go for a check, it only prompt onece in previous version. --- BTW, if you are using Stroe version, there should be on UAC prompt. --- ## Update found I miss some code during refactor of the class SetSelfStartingHelper which brings this bug.
Author
Owner

@majkinetor commented on GitHub (Dec 9, 2020):

I confirm this works

<!-- gh-comment-id:741741360 --> @majkinetor commented on GitHub (Dec 9, 2020): I confirm this works
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/1Remote#1942
No description provided.