Read the affiliate disclosure page to find out how can you help MSPoweruser effortlessly and without spending any money. Read more
Support for the Sudo command was spotted on one of the Windows Server 2025 builds, suggesting the feature might also be available for Windows Server users.
If you’ve used Linux or macOS, you might be familiar with the Sudo command line utility. And for those who miss that on Windows, you might not have to wait very long, as Microsoft was spotted working on introducing native support for the Sudo command line to Windows 11.
X (formerly known as Twitter) user @XenoPanther has unearthed lines of code suggesting that Microsoft is in the early stages of introducing Sudo to Windows. The command lines are as follows:
SystemSettings_Developer_Mode_Setting_Sudo Enable sudo Enable the sudo command Configure how sudo runs applications
The Sudo command line utility is available for Windows users, but you can use it by installing Scoop, or via Windows Subsystem for Linux (WSL). And now, it looks like Sudo will be available for Command Prompt and PowerShell command-line interfaces on Windows when the Developer Mode is on.
The Sudo command line is commonly associated with Linux and macOS and allows authorized users to execute commands with elevated privileges. If you’re not the root user, you can use the Sudo to run commands with privileges the same as the latter. All of this might soon be possible from the Windows command line, considering Microsoft doesn’t stop working on the project.
While we hope to see it soon on Windows, there is no information on when Microsoft will bring native support for the Sudo command to Windows. If you’re a system administrator and use Windows, let us know your thoughts on the native Sudo command line support on Windows.