If you experience any difficulty in accessing content on our website, please contact us at 1-866-333-8917 or email us at support@chicagovps.net and we will make every effort to assist you.

February 12, 2024

Enabling Sudo Commands in Windows Insiders: A Step Towards Linux Functionality


What just happened? Microsoft has announced a useful new feature in the latest Windows 11 Insider update – Sudo for Windows. Sudo, or “superuser do,” is a command commonly seen in Linux operating systems. This enables users to perform high-level commands from a regular user account without the need to open an elevated console separately.

Windows 11 users will soon have the ability to perform high-level commands from an ordinary command prompt, all thanks to a new feature known as ‘Sudo for Windows’. Obviously influenced by Linux, this feature will be useful for developers, IT specialists, and Linux fans.

Windows is gaining some Linux familiarity with this addition, providing more convenience for users who must frequently run admin-level commands. However, unlike the Linux variant which exists as a separate utility, Sudo for Windows is custom-made specifically for the Windows operating system.

Also check out: A Compilation of Command Prompt Tips, Tricks & Cool Things You Can Do

Microsoft has highlighted the difference in permissions and command line experience between its operating system and Linux. According to Microsoft, “This project is not a fork of the Linux sudo project, nor is it a port of the Linux sudo project… since they are two different applications, certain elements of the Linux sudo experience won’t be found in Sudo for Windows, and there are some unique elements in Sudo for Windows that Linux sudo doesn’t feature.”

Sudo for Windows is now available for testing in Windows 11 Insider Preview Build 26052. If you are using this preview version, you can switch on Sudo by going to Settings > For Developers and selecting “Enable Sudo.”

Users are presented with three options for opening Sudo: in a new window, with input in a closed state, or inline. Inline mode is designed to offer the smoothest experience, while the other two options might give added security controls for businesses. No matter the mode, Sudo raises commands to admin privileges through the standard UAC prompt.

Once enabled, users can simply prefix commands with “sudo” to elevate them directly in their regular command prompt window, removing the need to start a new admin prompt. As an example, typing “sudo netstat -ab” will display the network status elevated without having to open an admin command prompt first.

While Sudo for Windows is currently only available in insider builds, it’s meant to be rolled out to all Windows 11 users once testing is complete. Microsoft has published some of the source code on GitHub and plans to make Sudo fully open-source in the future.

The addition of this familiar Linux tool to Windows should be welcomed by developers, IT professionals, and power users who frequently need to execute admin-level commands in their daily work.

ChicagoVPS is your gateway to unparalleled hosting solutions. Our state-of-the-art datacenters and powerful network ensures lightning-fast speeds and uninterrupted connectivity for your websites and applications. Whether you’re a startup looking for scalable resources or an enterprise in need of enterprise-grade hosting, our range of plans and customizable solutions guarantee a perfect fit. Trust in ChicagoVPS to deliver excellence, combining unmatched reliability and top-tier support.

For Inquiries or to receive a personalized quote, please reach out to us through our contact form here or email us at sales@chicagovps.net.

Subscribe Email