This may not be Scoops fault. I installed Irfanview with choco and have to reset my default programs setting every so often, presumably since Windows 10 takes user settings as suggestions for the Microsoft PM to ignore every few weeks when the OKRs get thin :).
https://github.com/lukesampson/scoop/wiki/Chocolatey-Compari...
One advantage is that scoop installs (most) tools into a common place and search path, and thus doesn't pollute environment variables as much.
However I'm wary of all these tools (including brew on Mac) as they all feel like a pretty efficient way to main line your own personal supply chain attack into your dev machine!
For that reason I now try to use them sparingly and with a high degree of suspicion.
As for threat model it comes down to whether using package management poses larger risk than doing everything manually and risking running a range of outdated packages.
The official software repo might be smaller than chocolate's, but to my eye, as it is moderated through a single open github repo, it seems much simpler.
I wonder if improving this is possible within the current design of Windows or if it would be a fundamental change in how it handles user privileges.
Won't the runas command (https://docs.microsoft.com/en-us/previous-versions/windows/i...) let you do this - run a command as Administrator without opening another command/powershell prompt?
Works like on linux. Runas and friends are junk.
Something like RunAs? [0]
--
From a non-elevated shell (cmd or ps), you can run `sudo <command>` to a roughly equivalent effect from *nix terminals. I find it meets my needs.