php editor Zimo reported: Microsoft confirmed that the preview version of Win11 Build 26052 natively supports the Sudo command. This news makes Win11 users very happy, because the support of Sudo command will bring users a more convenient system management and operation experience. The release of Win11 Build 26052 preview version will bring more practical functions and improvements to users, making the operating system more intelligent and efficient. Win11 users can experience native support for this important feature by updating the system version.
Microsoft describes Sudo for Windows as “an ergonomic and familiar solution that allows users to update the system without opening a new privilege-elevated console.” Run certain commands with high privileges".
Sudo for Windows is in the early stages of development and, as we previously reported , has appeared in Windows Server 2025 previews.
Microsoft noted in a since-deleted blog post that Sudo can be enabled from the Settings > For Developers page and toggled on the "Enable Sudo" option.
Users can also run certain commands with elevated privileges through the command line:
sudo config --enable <configuration_option>
As we reported previously, Sudo for Windows currently supports three different configuration options:
Open in a new window (newWindow):
For example, a user running sudo netstat -ab will open a new window in which the command will be run.
Input off (disableInput)
Inline (normal)
Microsoft says that when running a process from the command line using sudo, a UAC dialog box appears asking the user to confirm the upgrade. You can also use sudo in the terminal, just like on Linux or macOS.
The above is the detailed content of Microsoft confirms that Win11 Build 26052 preview version natively supports Sudo commands. For more information, please follow other related articles on the PHP Chinese website!