Windows 11 may soon support Sudo command

Reading time icon 2 min. read

Readers help support MSPoweruser. When you make a purchase using links on our site, we may earn an affiliate commission. Tooltip Icon

Read the affiliate disclosure page to find out how can you help MSPoweruser effortlessly and without spending any money. Read more

adding sudo in command to resolve linux permission denied error

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.

Screenshot showing Sudo command setting
Screenshot showing Sudo command setting | Image: Albacore

Original story:
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:

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.

More about the topics: Command Line, Sudo, windows 11