Issue 1:
Can it be possible for the User Access Control permission prompt to be bypassed if PowerToys is configured to auto-start start-up user login as administrator? (I would do it myself, but my coding skills are a bit rusty. :-( )

Issue 2:
WIndows 10 Pro N / 1909

Windows build number: 18363.836
PowerToys version: v0.18.0
PowerToy module for which you are reporting the bug (if applicable): N/A

Steps to reproduce

Have v0.17.0 installed, configured to "Always run as administrator" and "Run at startup", and running. -> Download and run "PowerToysSetup-0.18.0-x64.msi". -> Click next until it's done updating. ->right-click/settings on corner icon -> turn off the new stuff that's not FancyZones and wasn't previously existing for the update process to carry over -> restart the computer -> log-in -> right away, UAC prompt for starting PowerToys

Expected behavior

Previously, PowerToys was starting itself as admin without triggering UAC

Actual behavior

My hypothesis: the PowerToys folder in Task Scheduler being empty after the update suggests that the update process Uninstalled the previous version, and took the scheduled task with it that circumvents the UAC prompt for running as admin, and the new installer never puts it back, despite my settings warranting it being there (to avoid the annoyance of a UAC prompt every boot).

What I did to fix it was: go to settings, turn off "Always run as admin" -> turn off "Run at startup" -> exit settings -> exit program thru corner icon right-click -> start program thru start menu -> back to settings -> restart as admin -> enable "Always run as admin" -> enable "run at startup" -> refresh Task Scheduler and wha-la, PowerToys has now replaced the Task that circumvents a UAC prompt, that it removed while updating, but failed to regenerate it upon install of both v0.18.0 and v0.18.1, despite it succeeding in bringing over my settings that schedule the task in the first place.

Seems like you just need to either A) add a step to the end of the installer that checks for "always run as admin" && "run at startup" being enabled in my settings it saves/copies from my previous install, and then regenerate the task. B) check for the task before running the uninstall and, if it was there, regenerate it anytime after the Uninstaller removes it.

I assume the installer for the new version is just running the Uninstaller for the old one, so depending on your level of concern for "maximum lean-ness", you could also go deep for option C) that would build a flag into the Uninstall that would skip removing the existing task, if the Updater/Installer tells it to do so, after checking whether the task already exists (because, you know, maybe someone loves UAC prompts and removed it themselves and they'd be annoyed if you put it back after I removed it on purpose). I assume you know why just having the Uninstaller check would be no good (because it wouldn't know on it's own whether it's being run to forever-uninstall, or just as a means to clean reinstall).

I haven't looked at your code to know anything about what you have going on, so this is all just conjecture and my relishing in the opportunity to talk programming logistics. Certainly, I'm not trying to insult your intelligence, if any of the suggestions where immediately obvious. Or, if a all-around better option is, I'd be interested to know what you end up doing (if this is even something you'll remember to fix by the time it gets priority).

Alright, ✌.

P.S. Thanks for making the program I've wanted for as far back as I can remember (FancyZones)!

P.P.S. I'm not going to make a seperate thread for this but, you should know, if you don't already: before v0.18.0, dragging a window and then right-clicking to bring up the zone pop-up used to be smooooth as butter and happen instantly. After v0.18.0 though, the moment I press right-click while dragging, my entire beefy machine absolutely sh*ts the bed for like 2 whole seconds while PowerToys summons the zone overlays. That'd be cool if you ever fixed that.

Also, please let me assign a key/combo while dragging/dropping on the zone overlays that will "cycle thru the layers" of zones I have set up that are overlapping each other where my mouse pointer is, so i can drop my window on the zone that is underneath the zone that's on top, which is the only one FancyZones will highlight as a drop target.