+1
日增长
5,863
stars
184
forks
41
watchers
35
prs
82
issues
0
releases
README
!Sudo for Windows icon Sudo for Windows Welcome to the repository for [Sudo for Windows][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][sudo-docs]. If you would like to contribute to the documentation, please submit a pull request on the [Sudo for Windows Documentation repo][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][discussions]. 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][conduct-code]. For more information see the [Code of Conduct FAQ][conduct-FAQ] or contact [[email protected]][conduct-email] with any additional questions or comments. [conduct-code]: https://opensource.microsoft.com/codeofconduct/ [conduct-FAQ]: https://opensource.microsoft.com/codeofconduct/faq/ [conduct-email]: mailto:[email protected] [sudo.ps1]: ./scripts/sudo.ps1 [discussions]: https://github.com/microsoft/sudo/discussions [sudo-for
Top issues
#7Feature request: Support UAC-less / commandline authentication33 comments · 2024-02-06#82DISM does not work properly when run with sudo22 comments · 2024-05-24#2Feature request: Support for Windows 1021 comments · 2024-02-06#95You are not allowed to run sudo17 comments · 2024-07-28#57Publish winget / MSI installer 11 comments · 2024-02-16#5megathread: sudo should better support PowerShell7 comments · 2024-02-06#63`sudo -N` should preserve the current directory7 comments · 2024-03-14#11Reserved 6 comments · 2024-02-08
Discussions
#132Future of the project0 comments · 2025-11-03#130Can sudo for Windows be managed via Group Policy?1 comments · 2025-10-02#123`sudo` Interaction with Applications That Request Elevation (e.g., Winget)0 comments · 2025-06-29#115What's the end goal?1 comments · 2025-01-10#114How to tell if sudo.exe is installed/enabled1 comments · 2024-12-05#109sudo for windows public release0 comments · 2024-10-12#105why3 comments · 2024-10-04#104Sudo Restrictions1 comments · 2024-10-03