fancywm icon indicating copy to clipboard operation
fancywm copied to clipboard

Launch on startup with Administrator privileges doesn't skip UAC

Open RixzZ opened this issue 3 years ago • 3 comments

Describe the bug When you enable the launch on startup and the option to run as Administrator, on every boot you are greeted with an UAC window asking for permission to elevate privileges.

To Reproduce

  1. Enable 'Run Automatically at System Startup' and 'Run with Administrator privileges'.
  2. Restart the computer.
  3. When the app starts an UAC window appears to ask for permission.

Expected behavior As with other apps that have an option to run on startup as Administrator, the UAC window should be skipped. An example could be PowerToys, that has the same setting but doesn't trigger UAC on startup.

Screenshots N/A

Desktop (please complete the following information):

  • OS: Windows 11
  • Version: 21H2 64-bit (Build 22000.527)

Additional context N/A

RixzZ avatar Feb 20 '22 03:02 RixzZ

using task scheduler as bypass just like powertoys do image

sapphired18 avatar Feb 27 '22 04:02 sapphired18

That doesn't seem possible with FancyWM, since trying to use the .exe in Task Scheduler, throws an error for Microsoft Store apps: image

RixzZ avatar Feb 27 '22 14:02 RixzZ

I'm not sure why you're getting that error, I have managed to get this to work successfully. I thought I saw a placeholder .exe somewhere, but I managed to find the .exe that worked for me by having the FancyWM window open, going into Task Manager and performing right-click > Open File Location. And then disabling Run on Startup in FancyWM and creating a shortcut for scheduler in the User Startup folder.

incorrigible7 avatar Jun 30 '22 14:06 incorrigible7

This issue is stale because it has been open for 14 days with no activity.

github-actions[bot] avatar Apr 20 '24 02:04 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar May 04 '24 02:05 github-actions[bot]