An inadvertent preview of Windows Update shows that the next version of Windows Server will offer Sudo functionality similar to that on Linux.
The sudo function is a Linux console program that allows low-privileged users to elevate their own privileges when necessary, such as executing commands with root privileges, which can take into account security and resiliency. Last week, Windows Latest discovered that the Windows Server 2025 update preview, which was accidentally released to the Insider solution via Windows Update, also has Sudo features similar to those on Linux and macOS.
This new feature is available in the Admin Options section of the Settings page, and can execute sudo commands as soon as it is launched. Analyze its settings and display details such as "Open in New Window", "Close Input", and "Execute in Existing Window".
Windows has actually allowed users to use User Account Control (UAC) prompts to escalate privileges, but some administrator commands such as BCDedit and Reagentc can only be executed by administrators. In contrast, the Sudo feature is much more flexible, allowing the program to execute according to Windows settings.
Bleeping Computer points out that while Sudo hasn't been seen in any version of Windows 11 yet, it's not surprising if it did. However, as has been the case with previews in the past, features that are experimented with in preview may not end up in the production build.