Windows 11 Build 26052, which will likely be available on Thursday or later this week, will include the first public preview of “Sudo for Windows”.

In a deleted post on the company's blog, which was found and cached for the first time since Windows Latest, Microsoft confirmed that Sudo for Windows is a new way to "upload commands directly from a non-privileged connection in console mode" and has plans to open-source the feature on GitHub.
Microsoft describes Sudo for Windows as "an ergonomic and familiar solution for users who want to grant privileges to a command without having to first open a new cmd with administrative privileges."
Sudo for Windows is in the early stages of development and was recently spotted in a leaked version of Windows Server 2025.
In its since-deleted blog post, Microsoft states that Sudo can be enabled from the Settings > For Developers page under the “Enable Sudo” option.
How sudo will work for Windows
When you run a process from the command line with sudo, a UAC dialog will appear, asking the user to confirm permissions. You'll be able to use sudo in the terminal just like you do on Linux or macOS.
sudo.exe will launch a new cmd window with administrator rights where you can run the command you are interested in. The new window will start in the same folder as the current window.
The new window will also start with the same environment variables as the current window.
George is still wondering what he is doing here….

