Microsoft Adds Sudo to Windows 11 24H2 for Developers

29 Dec 2025

Microsoft has incorporated a sudo command into Windows 11 version 24H2, allowing users to execute elevated commands directly from the Command Prompt or PowerShell. This feature aims to streamline administrative tasks without needing separate consoles.

Implementation and Modes

Sudo on Windows 11 supports three distinct modes: "in a new window," "with input disabled," and "inline." Inline mode preserves session context and variables, crucial for scripting and automation tasks. This feature has been open-sourced on GitHub, inviting community contributions and enhancing workflows between Windows and Linux servers.

Security and Usage

Sudo integrates with User Account Control (UAC) for secure command elevation, unlike Linux sudo, which uses sudoers files for permissions. This integration simplifies enterprise deployment and enhances compatibility, especially for administrators who use Command Prompt, PowerShell, or tools like Windows Terminal.

  • Windows 11 24H2 adds sudo on 2025-12-28.
  • Sudo supports three execution modes.
  • Integration with UAC ensures secure operations.
  • Sudo lacks sudoers-style files for fine-grained control.
  • Open-sourced on GitHub for community enhancement.

Challenges and Future Prospects

Some users have faced compatibility issues with scripts designed for Linux environments. Microsoft positions sudo as a developer tool rather than a full replacement for Linux sudo, focusing on enhancing cross-platform scripting and reducing context switching. Future improvements might include tighter WSL integration and advanced auditing features, driven by community feedback.

Sudo in Windows 11 24H2 marks a step forward in bridging automation and security, promising ongoing evolution through community input and enterprise adoption.

Top charts for Desktop Windows

uTorrent

uTorrent

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

5
1032 reviews
7247931
downloads
Zona

Zona

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

4
614 reviews
1656810
downloads
WinRAR

WinRAR

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

5
735 reviews
707966
downloads
Minecraft

Minecraft

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

5
750 reviews
487440
downloads

News and reviews for Desktop Windows

Adds Native Sudo to Windows 11 for Developers

Microsoft introduces a native sudo feature in Windows 11. It comes with limitations, sparking comparisons with the more mature gsudo.

Read more

Key PC Games Arriving in 2026 Across Steam

In 2026, PC games, including major and indie releases, will feature prominently on Steam, offering fresh options for North America.

Read more

Windows 11 Adds Native NVMe Driver for Faster SSD Performance

Microsoft introduces native NVMe driver on Windows 11 25H2; users experience SSD speed boosts.

Read more

New Game+ Showcase Highlights Indie Releases and Announcements

The New Game+ Showcase on 2024-01-08 spotlighted new Xbox and PC games, including Atomic Heart 2 and Beautiful Light, fueling gaming excitement.

Read more

Igrosoft Features in UK £5 Deposit Casinos

Igrosoft slot games now available at UK casinos offering £5 minimum deposits. Expect welcome bonuses and popular titles.

Read more

Enhance Windows 11 Taskbar with Windhawk Customizations

Windhawk tool enriches Windows 11 taskbar, adding customization options and themes.

Read more

Windows 11 Enhances Access with PowerToys Command Palette

PowerToys Command Palette streamlines app launching and system commands on Windows 11, enhancing user productivity.

Read more

Humble Bundle Offers 7 PC Games for $13.80, Benefits Charity

Humble Bundle's Decked Out Collection offers 7 PC games for $13.80 with proceeds going to the American Cancer Society.

Read more

Affordable Antivirus Options for Home Devices

Discover budget-friendly antivirus deals under $30 for 2026 with essential security features.

Read more

Free Script Removes AI Features from Windows 11

A new script disables AI features like Copilot in Windows 11, offering a cleaner interface.

Read more