Microsoft Launches Sudo Command for Windows in 2024
Microsoft released Sudo for Windows, a new tool that lets users run administrator commands directly from regular command windows. The feature works by typing 'sudo' before any command that needs admin rights.
Microsoft released Sudo for Windows in 2024, bringing a popular Linux feature to Windows computers. The tool allows users to run elevated commands directly from unelevated terminal windows.
Sudo works by prepending the word 'sudo' to any command that needs administrator privileges. This eliminates the need to open separate administrator command windows or switch user accounts. The feature includes multiple configuration options including disableInput and normal modes.
Microsoft published the tool as an open-source project on GitHub and provides official documentation through Microsoft Learn. However, the Windows version currently has limitations compared to traditional Linux sudo - it does not yet support running commands as other users besides the administrator.
The release addresses a long-standing request from Windows users who wanted the convenience of Linux-style command elevation. Traditional Windows methods like 'Run As' will continue to be supported alongside the new sudo functionality.
This makes Windows computers easier to use for people who work with command lines. Instead of opening separate admin windows or switching accounts, users can now run powerful commands with one simple word.
Microsoft may expand sudo features to support running commands as different users, matching full Linux functionality.
Was this article helpful?
0 people found this helpful