Configuring Sudo on Windows 11: Steps to Manage Command Behavior

18 Jun 2024

In a significant move towards enhancing user control and flexibility, Microsoft has introduced the ability to configure Sudo on Windows 11. This feature, long-awaited by developers and power users, brings a new level of command behavior customization to the Windows ecosystem.

Steps to Configure Sudo on Windows 11

To enable and configure the Sudo command on your Windows 11 system, follow these straightforward steps:

  1. Open Settings.
  2. Click on System.
  3. Navigate to the For developers page on the right side.

Settings navigation

Once there, turn on the Enable sudo toggle switch. This action will activate the Sudo configuration options.

Enable sudo toggle switch

Next, click the sudo setting to reveal the available options. Here, you can select the desired sudo behavior with the "Configure how sudo runs applications" setting:

  • Inline: The command runs in the same window, identical to Linux and macOS.
  • With input disabled: The command runs in a new window but doesn’t accept additional inputs.
  • In a new window: The command triggers a new, elevated window.

Sudo configuration options

This new feature in Windows 11 not only aligns with the command behavior seen in other operating systems like Linux and macOS but also provides users with more control over how commands are executed. Whether you prefer running commands inline, in a new window with input disabled, or in a completely new elevated window, Windows 11's Sudo configuration offers flexibility to suit various workflows and security requirements.

The introduction of Sudo configuration in Windows 11 is a testament to Microsoft's commitment to catering to the needs of developers and advanced users. By providing these customizable command behaviors, Windows 11 continues to evolve as a versatile and powerful operating system.

Top charts for Desktop Windows

uTorrent

uTorrent

Latest update uTorrent download for free for Windows PC or Android mobile

5
1032 reviews
7508554
downloads
Zona

Zona

Latest update Zona download for free for Windows PC or Android mobile

4
614 reviews
1735318
downloads
WinRAR

WinRAR

Streamline file management with fast compression, secure your documents, and save space.

5
735 reviews
746713
downloads
Minecraft

Minecraft

Shape environments, explore vast worlds, and survive against monsters with endless creativity.

5
750 reviews
495676
downloads

News and reviews for Desktop Windows

Visio 2021 Professional Now $9.97 Until February 8

Microsoft offers Visio 2021 Professional for $9.97, down from $249, with added templates, until February 8.

Read more

Code Vein Offers Stylish Combat, Discounted Editions

Code Vein captivates with anime-style combat and offers discounted editions. Fast-paced action meets fun builds in this cult classic.

Read more

Microsoft Phases Out RC4 in Kerberos for Windows Security

Microsoft to eliminate RC4 in Kerberos by July 2026, enhancing Windows security.

Read more

Highguard Faces Criticism but Shows Potential for Growth

Highguard, launched with controversy, holds potential despite poor reviews. Offering genre innovation, it aims to evolve against negative feedback.

Read more

PS2Recomp Boosts Native PS2 Games with Recompilation

PS2Recomp, a new tool, promises enhanced native PS2 game ports, sparking interest among developers for PC platforms.

Read more

NVIDIA Introduces RTX Remix Logic for Classic Game Mods

NVIDIA's RTX Remix Logic, launched on 2026-01-27, enables dynamic modding of classic PC games with a no-code node-based interface.

Read more

Windows 11 Update KB5074109 Affects Legacy Modems

The Windows 11 update KB5074109 disrupts modems by removing several legacy drivers, causing connectivity issues for select users.

Read more

Anytype Replaces Notion, Obsidian, and Todoist for Unified Workflow

Anytype consolidates Notion, Obsidian, and Todoist functions, reducing context-switching and improving workflow efficiency.

Read more

ReBlade: Cyberpunk Roguelike Announced by ChillyRoom

ReBlade from ChillyRoom and Spiral Up Games announced for PC: cyberpunk roguelike offers high-speed action in a dystopian setting.

Read more

Artorias Battles Elden Ring Bosses in New Video Showcase

Artorias from Dark Souls faces Elden Ring bosses, demonstrating impressive skills in Fights' YouTube video.

Read more