Saturday, March 2, 2024

Microsoft Introduces Linux-Like ‘sudo’ Command to Home windows 11

Feb 12, 2024NewsroomWorking System / Know-how

Sudo for Windows 11

Microsoft mentioned it is introducing Sudo for Home windows 11 as a part of an early preview model to assist customers execute instructions with administrator privileges.

“Sudo for Home windows is a brand new method for customers to run elevated instructions straight from an unelevated console session,” Microsoft Product Supervisor Jordi Adoumie mentioned.

“It’s an ergonomic and acquainted resolution for customers who wish to elevate a command with out having to first open a brand new elevated console.”

Sudo, quick for superuser do, is a program for Unix-like pc working programs that permits customers to run packages with the safety privileges of one other consumer, normally a consumer with elevated permissions (e.g., administrator).


The characteristic is obtainable for Home windows 11 builds 26045 and later. It may be enabled by heading to Settings > System > For Builders, and setting “Allow sudo” to On.

Sudo for Home windows comes with three choices: run purposes in a brand new elevated console window, run the elevated course of within the present window however with the enter stream (stdin) closed, and in inline mode.

Sudo for Windows 11

“The inline configuration possibility runs the elevated course of within the present window and the method is ready to obtain enter from the present console session,” Redmond warns in its documentation.

“An unelevated course of can ship enter to the elevated course of inside the identical console home windows or get data from the output within the present home windows on this configuration.”

Microsoft mentioned it is also within the technique of open-sourcing the challenge on GitHub, urging different customers to contribute to the initiative in addition to report points and file characteristic requests.

Discovered this text attention-grabbing? Comply with us on Twitter and LinkedIn to learn extra unique content material we submit.

Related Articles


Please enter your comment!
Please enter your name here

Latest Articles