Microsoft has (accidentally) released for the beta version of Windows 11 Server the sudo command, known in Linux and macOS. The command allows you to perform some tasks as the superuser, a term that refers to the owner of the machine in the case of Windows, something similar to administrator. Sudo, which stands for “superuser do,” is a feature for administrators to make changes to the system.
The command was discovered “by chance”, when Microsoft itself uploaded the preview build during a Windows 11 Server update. In the leaked build, sudo could be enabled in Windows Settings, more precisely, in the section for developers. If released, the command could officially appear in the Windows 11 24H2 update.
In the images published by WindowsLatest, which was able to test the build, sudo requires that Developer mode be enabled to run. However, the command didn’t work in the leaked build.
In the screenshots, we see that sudo, when executed, can be opened in a separate window. Another possibility, shown in the print, is to open it by the inline method. This means of execution can be linked to the integrated development environment (IDE).
sudo can also be accessed through the Command Prompt (the classic cmd), PowerShell and other terminals within Windows. Before enabling the sudo command on your PC, Windows communicates to the user that enabling the feature may pose security risks, such as exposing personal data.
A feature available in a beta doesn’t mean it will be released. However, if Microsoft does bring sudo to Windows 11, the likelihood is that it will arrive in the 24H2 update. It’s speculated that this Windows 11 update will bring major changes to the operating system, broadening AI capabilities and delivering a preview of what Windows 11 should look like in terms of features.