Windows 11 Introduces Sudo for Enhanced Terminal Use

29 Dec 2025

Microsoft has introduced the ability to use sudo on Windows 11, allowing users to execute commands with administrative privileges directly in the terminal window. This feature, however, is not enabled by default.

How to Enable and Use

To activate sudo, navigate to Windows Settings, then System > Advanced and toggle Enable sudo. Microsoft provides three modes: In a new window, With input disabled, and Inline. Users can enable these modes through settings or the command sudo config --enable normal in an elevated terminal. Once enabled, prefix commands with sudo to execute them with admin rights, such as sudo winget upgrade --all and sudo notepad C:\Windows\System32\drivers\etc\hosts. Each action will prompt a User Account Control (UAC) confirmation.

Key Differences from Linux

While sudo enhances administrative capabilities on Windows 11, it operates differently from its Linux counterpart. Windows requires a UAC prompt for each command, lacks credential caching, and elevates processes individually rather than globally switching users. Third-party tools like gsudo may offer more advanced features, such as credential caching and detailed control over permissions.

Practical Benefits

The addition of sudo in Windows 11 presents a significant improvement for developers and users transitioning between Windows and Unix-like systems. It simplifies the process of running administrative commands without needing to open multiple elevated terminal windows, streamlining workflows for tasks that require higher privileges.

Top charts for Desktop Windows

uTorrent

uTorrent

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

5
1032 reviews
7248310
downloads
Zona

Zona

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

4
614 reviews
1656939
downloads
WinRAR

WinRAR

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

5
735 reviews
708052
downloads
Minecraft

Minecraft

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

5
750 reviews
487444
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