In a move to enhance security and administrative convenience, Microsoft is planning to incorporate the “Sudo” function from Linux into future versions of Windows. The “Sudo” function allows users to execute commands with elevated privileges without switching to the superuser account.
This addition will provide Windows administrators with more flexible and convenient control over privileges. It will allow them to execute specific commands with increased permissions while working in user accounts with limited rights.
Preliminary testing of the new function was carried out on the Windows Server 2025 version, which was made available to participants in the preview program. It should be noted that the integration of the Sudo team into the command line is still in the early stages of development.
One notable feature of the Sudo implementation in Windows will be the ability to configure its behavior upon startup. Users will have three options to choose from: “In the New Window,” “with the Input Disabled,” and “Built-in.”
While Windows already provides the option to automatically elevate programs through user interface prompts, certain administrative tools like BCDEDIT and Reagentc require the administrator rights from the beginning. The addition of Sudo will make managing such tools much more convenient.
Although the Sudo function has currently only been observed in Windows Server 2025, it is likely that Microsoft will expand its support to the regular Windows 11 in the future.
It is worth noting that not all features tested in preliminary builds make it to the final release. However, the integration of Sudo into Windows Server 2025 is expected due to its significant interest and its potential to enhance system administration capabilities in Windows-based systems.