Introducing Sudo for Windows We’re excited to announce the release of Sudo for Windows in Windows 11 Insider Preview Build 26052! Sudo for Windows is a new way for users to run elevated commands directly from an unelevated console session. It is an ergonomic and familiar solution for users who want ...
The security problem has been internally fixed and will be available in the next release
It's not just an alias for 'runas'. It seems to be able to configurably block user input for sudo'd commands, retain the existing environment, ditch it and open a new window, and remember that you've sudo'd in the last minute or so.
It brings up UAC instead of having you input the password
It's even worse because if you've found your way to MS answers you're clearly desperate because nothing came up on a real site. So you're already in a bad mood and then - BLAM - redirect!
Thankfully you can right click the "back" button and it'll give you a list of couple of last sites and you can just so it from there. It is still annoying though.
Seriously. My home PC runs Linux primarily, but I sysadmin both Windows and Linux at work and this will be very convenient. Forgetting to run PowerShell as admin is always frustrating, especially when I have the commands and variables already established.
Because business uses Windows services, which are, by far, the most common. And when collaborating and sharing files is essential this is a major deal breaker. I love *nix but it just wouldn’t work as well in the business world until there are wide spread services that replicate or do better than what Microsoft does with enterprise support and pricing in mind.
You can get a legit Windows 11 key for like 5 bucks, no reason not to install it honestly. Even if only for dual booting, it can save you a lot of headaches.
Ok, so yea just a "better" version of runas. I can see it being a bit easier when you just need to do the one thing as admin, but overall just opening an admin windows is still going to be the best way.
I really think the security issues makes it not worth enabling.
It's not just an alias. It seems to be able to configurably block user input for sudo'd commands, retain the existing environment, ditch it and open a new window, and remember that you've sudo'd in the last minute or so.
Would love to use a smaller, single-user multi-account, version of sudo. If (on Debian based) doas can remember I entered the password a command ago in the same bash terminal, and had more adoption/eyes on it, then I'd use it.