Sudo for Windows
Summary
Microsoft's Sudo for Windows is a Windows-specific implementation allowing users to run elevated commands from unelevated terminal windows, available in Windows 11 builds 26045+ with an open-source repository for contributions and community engagement.
View Cached Full Text
Cached at: 04/20/26, 02:44 PM
microsoft/sudo
Source: https://github.com/microsoft/sudo
Sudo for Windows
Welcome to the repository for Sudo for Windows 🥪. Sudo for Windows allows users to run elevated commands directly from unelevated terminal windows.
The “Inbox” version of sudo is available for Windows 11 builds 26045 and later. If you’re on an Insiders build with sudo, you can enable it in the Windows Settings app, on the “Developer Features” page.
Here you can report issues and file feature requests.
Relationship to sudo on Unix/Linux
Everything about permissions and the command line experience is
different between Windows and Linux. This project is not a fork of the Unix/Linux
sudo project, nor is it a port of that sudo project. Instead, Sudo for
Windows is a Windows-specific implementation of the sudo concept.
As the two are entirely different applications, you’ll find that certain
elements of the traditional sudo experience are not present in Sudo for Windows, and
vice versa. Scripts and documentation that are written for sudo may not
be able to be used directly with Sudo for Windows without some modification.
Documentation
All project documentation is located at aka.ms/sudo-docs. If you would like to contribute to the documentation, please submit a pull request on the Sudo for Windows Documentation repo.
Contributing
Check out CONTRIBUTING.md for details on how to contribute to this project.
sudo.ps1
In the meantime, you can contribute to the sudo.ps1 script. This script is
meant to be a helper wrapper around sudo.exe that provides a more
user-friendly experience for using sudo from PowerShell. This script is located
in the scripts/ directory.
Communicating with the Team
The easiest way to communicate with the team is via GitHub issues.
Please file new issues, feature requests and suggestions, but DO search for similar open/closed preexisting issues before creating a new issue.
If you would like to ask a question that you feel doesn’t warrant an issue (yet), try a discussion thread. Those are especially helpful for question & answer threads. Otherwise, you can reach out to us via your social media platform of choice:
- Mike Griese, Senior Developer: @[email protected]
- Jordi Adoumie, Product Manager: @joadoumie
- Dustin Howett, Engineering Lead: @[email protected]
- Clint Rutkas, Lead Product Manager: @crutkas
Code of Conduct
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.
Similar Articles
Building a safe, effective sandbox to enable Codex on Windows
OpenAI engineers built a custom sandbox for Codex on Windows to enable safe, restricted command execution, balancing effectiveness and security without relying on native Windows isolation features.
wsl9x: Windows 9x subsystem for Linux
wsl9x is a new open-source tool that embeds a modern Linux 6.19 kernel as a cooperative subsystem inside Windows 9x, letting legacy and current software run side-by-side without reboots.
@thsottiaux: We are continuing to invest in making agents work better on Windows. Highly recommend reading David's engineering post …
OpenAI is improving agent support on Windows by implementing a custom sandbox for Codex, addressing OS-level isolation challenges to ensure safe and efficient operation.
Windows 9x Subsystem for Linux
A hobby project enabling classic Windows 9x environments to run inside a modern Linux subsystem.
@justloveabit: https://x.com/justloveabit/status/2053659118175715713
The Hermes AI agent tool now supports native Windows installation without requiring WSL, allowing Windows users to run CLI tools and bots directly. This article reviews the Early Beta experience, outlines the installation process, and compares it with the WSL2 version.