Microsoft confirms sudo. It comes with Windows 11 Build 26052

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”.

sudo for windows cached

Discover more articles in search results.

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.


Google preferences

Leave a Comment

Your email address is not published. Required fields are mentioned with *

Your message will not be published if:
1. Contains insulting, defamatory, racist, offensive or inappropriate comments.
2. Causes harm to minors.
3. It interferes with the privacy and individual and social rights of other users.
4. Advertises products or services or websites.
5. Contains personal information (address, phone, etc.).