search
HomeComputer TutorialsComputer KnowledgeSee the preview version of Windows 11 Build 26052, Microsoft confirms that it will natively support the Sudo command

Windows 11 Build 26052 预览版见,微软确认将原生支持 Sudo 命令

According to a deleted Microsoft support document, Microsoft plans to natively support the Sudo command in the Windows 11 Build 26052 preview update.

Sudo for Windows is described as an ergonomic and familiar solution that enables users to run certain commands with elevated privileges without having to open a new elevated console.

The Windows version of Sudo is in the early development stage. IT House previously reported that it has appeared in the Windows Server 2025 preview version.

In a since-deleted blog post, Microsoft noted that Sudo can be enabled from the Settings > For Developers page and toggled on the "Enable Sudo" option.

Users can also run certain commands with elevated privileges through the command line:

sudo config --enable 

As IT House previously reported, the Windows version of Sudo currently supports three different configuration options:

Open in new window (newWindow):

Sudo for Windows In this configuration a new advanced console window opens and commands are run within it, which is the default sudo enabled setting.

For example, a user running sudo netstat -ab will open a new window in which the command will be run.

Input close (disableInput)

Under this setting, Sudo for Windows will run the elevated process in the current window, but close the stdinput of the new process. This means that the new process cannot receive user input and is therefore not suitable for situations where further input from the user is required.

Inline (normal)

This configuration is most similar to sudo behavior on other operating systems. In this configuration, Sudo for Windows will run an elevated process with stdinput, stdoutput, and stderror connected to the current window. This means that the new elevated process can receive input and send output to the current window.

Microsoft states that when using sudo to run a process from the command line, a UAC dialog box will appear asking the user to confirm the upgrade. You can also use sudo in the terminal, just like on Linux or macOS.

The above is the detailed content of See the preview version of Windows 11 Build 26052, Microsoft confirms that it will natively support the Sudo command. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:每日运维. If there is any infringement, please contact admin@php.cn delete
[Fixed] You Need to Authenticate Microsoft Services in Minecraft? - MiniTool[Fixed] You Need to Authenticate Microsoft Services in Minecraft? - MiniToolApr 27, 2025 am 12:51 AM

In this post, php.cn provides several effective solutions to the “you need to authenticate to Microsoft services” issue in Minecraft on the PC. If you get stuck in this issue, you should pay attention to this post.

Top 4 Fixes for High Power Usage in Task ManagerTop 4 Fixes for High Power Usage in Task ManagerApr 27, 2025 am 12:49 AM

In Task Manager, you can view how much power the processes on your computer use. What if you receive high power usage in Task Manager constantly?  In this post from php.cn Website, we will explore how to address this issue easily and effectively.

2 Windows Folders in C Drive: How to Deal with Them?2 Windows Folders in C Drive: How to Deal with Them?Apr 27, 2025 am 12:48 AM

The Windows folder contains the Windows operating system and is a crucial folder in Windows computers. Sometimes, you may see 2 Windows folders in the C drive. How to delete one of them? This post from php.cn tells you how to do that.

Top 4 Halo Infinite Trackers to Track KD, Stats, Ranks, and More! - MiniToolTop 4 Halo Infinite Trackers to Track KD, Stats, Ranks, and More! - MiniToolApr 27, 2025 am 12:47 AM

Many people are looking for a feasible Halo Infinite tracker. In this post, php.cn introduces several available Halo Infinite trackers to help you track the Halo Infinite KD, ranks, stats, etc. Now, keep on your reading.

10 Best Google Sheets Add-ons You Must Have - MiniTool10 Best Google Sheets Add-ons You Must Have - MiniToolApr 27, 2025 am 12:46 AM

Have you ever heard of Google Sheets add-ons? Do you have any idea how to install them in your Google Sheets? Do you want to get the best and the free Google Sheets add-ons? This article on php.cn focuses on these questions and provides you with seve

Enable/Disable Ctrl Alt Delete Secure Sign-In on Windows 11 - MiniToolEnable/Disable Ctrl Alt Delete Secure Sign-In on Windows 11 - MiniToolApr 27, 2025 am 12:45 AM

Secure Sign-In is a handy way to keep your PC safe, but if you don't want it around, here's how to disable it for Windows 11. This post from php.cn provides 3 ways for you to enable or disable Ctrl Alt Delete secure sign-in on Windows 11.

How to Fix Word Dictation Not Working Issue in Windows 10 - MiniToolHow to Fix Word Dictation Not Working Issue in Windows 10 - MiniToolApr 27, 2025 am 12:44 AM

Have you ever heard of Microsoft Word dictation? What if Word dictation not working? This post from php.cn shows you the basic information about Word dictation and some feasible ways to fix the “Word dictation not working” issue.

What Is Atlas VPN? How to Free Download Atlas VPN for Use? - MiniToolWhat Is Atlas VPN? How to Free Download Atlas VPN for Use? - MiniToolApr 27, 2025 am 12:43 AM

What is Atlas VPN used for? Is Atlas VPN safe? Can you use Atlas VPN for free? How to download Atlas VPN & install it on your device for use? Refer to this post from php.cn and you can find details about this VPN service and Atlas VPN download fo

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools