Microsoft 11719 Published by

Users will now be able to execute elevated commands directly from an elevated console session thanks to a new feature called Sudo for Windows, which was recently made available by Microsoft in Windows 11 Insider Preview Build 26052.

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 to elevate a command without having to first open a new elevated console.

We are also excited to announce that we are open-sourcing this project  here on GitHub! We’re working hard to add more information about the project in the GitHub repo and will be sharing more details about our plans in the coming months! If you’re looking for additional functionality that Sudo for Windows does not provide, check out Gerardo Grignoli’s  gsudo which has a number of additional features and configuration options.

You can also check out the Microsoft Learn docs for more information  here.

Introducing Sudo for Windows!