<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	 xmlns:media="http://search.yahoo.com/mrss/" >

<channel>
	<title>Enable Sudo Windows 11 &#8211; Winsides.com</title>
	<atom:link href="https://winsides.com/tag/enable-sudo-windows-11/feed/" rel="self" type="application/rss+xml" />
	<link>https://winsides.com</link>
	<description>Windows Insides</description>
	<lastBuildDate>Sun, 11 Jan 2026 14:04:51 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://winsides.com/wp-content/uploads/2024/05/cropped-android-chrome-512x512-1-150x150.png</url>
	<title>Enable Sudo Windows 11 &#8211; Winsides.com</title>
	<link>https://winsides.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How to Enable Sudo Command on Windows 11?</title>
		<link>https://winsides.com/how-to-enable-sudo-command-on-windows-11/</link>
					<comments>https://winsides.com/how-to-enable-sudo-command-on-windows-11/#respond</comments>
		
		<dc:creator><![CDATA[Vigneshwaran Vijayakumar]]></dc:creator>
		<pubDate>Sun, 04 Jan 2026 04:55:00 +0000</pubDate>
				<category><![CDATA[CMD & PowerShell]]></category>
		<category><![CDATA[Enable Sudo Windows 11]]></category>
		<category><![CDATA[How to Enable in Windows 11]]></category>
		<category><![CDATA[windows 11]]></category>
		<guid isPermaLink="false">https://winsides.com/?p=6456</guid>

					<description><![CDATA[Enable Sudo Command on Windows 11: Sudo originated in Unix and Linux Systems, and it is similar to the Administrator on Windows 11. Microsoft has recently introduced a native version of sudo in Windows 11, which provides similar functionality by letting users elevate commands directly from a normal console. In this article, let&#8217;s check out [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p><strong>Enable Sudo Command on Windows 11</strong>: Sudo originated in Unix and Linux Systems, and it is similar to the Administrator on Windows 11. Microsoft has recently introduced a native version of sudo in Windows 11, which provides similar functionality by letting users elevate commands directly from a normal console. In this article, let&#8217;s check out the various methods to <strong>Enable Sudo Command on Windows 11</strong>.</p>



<h2 class="wp-block-heading">How does the Sudo Command Work?</h2>



<figure class="wp-block-image aligncenter size-full is-resized"><img fetchpriority="high" decoding="async" width="1920" height="1080" src="https://winsides.com/wp-content/uploads/2025/09/Enable-Sudo-Command-on-Windows-11.jpg" alt="Enable Sudo Command on Windows 11" class="wp-image-6487" style="width:768px" title="Enable Sudo Command on Windows 11" srcset="https://winsides.com/wp-content/uploads/2025/09/Enable-Sudo-Command-on-Windows-11.jpg 1920w, https://winsides.com/wp-content/uploads/2025/09/Enable-Sudo-Command-on-Windows-11-300x169.jpg 300w, https://winsides.com/wp-content/uploads/2025/09/Enable-Sudo-Command-on-Windows-11-1024x576.jpg 1024w, https://winsides.com/wp-content/uploads/2025/09/Enable-Sudo-Command-on-Windows-11-768x432.jpg 768w, https://winsides.com/wp-content/uploads/2025/09/Enable-Sudo-Command-on-Windows-11-1536x864.jpg 1536w, https://winsides.com/wp-content/uploads/2025/09/Enable-Sudo-Command-on-Windows-11-390x220.jpg 390w" sizes="(max-width: 1920px) 100vw, 1920px" /><figcaption class="wp-element-caption">Enable Sudo Command on Windows 11</figcaption></figure>



<p>Sudo is short for Superuser do. Initially, Unix and <a href="https://ubuntu.com/" target="_blank" rel="noreferrer noopener">Linux-based systems</a> operated fully on Command Line Interfaces, and unlike assigning an entire administrative account to the root user on Windows Operating systems, Unix and Linux systems allow users to safely execute specific commands that require elevated permissions using the sudo command.</p>



<p><a href="https://www.microsoft.com/" target="_blank" data-type="link" data-id="https://www.microsoft.com/" rel="noreferrer noopener">Microsoft</a> took it a step further by integrating the Sudo Command with User Account Control, in this way, it does not rely on passwords or user roles like Linux operating systems do. This makes it a convenient tool for developers and power users to run administrative commands more easily, while still maintaining the security model of Windows. Let&#8217;s get started.</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p>A <strong>superuser</strong> usually called <strong>Root User</strong> is the <strong>highest-level user</strong> on a system, the one with the ability to do anything, including tasks that could fix or break the system. It has unrestricted access to all commands, file, processes, settings, and more. </p>
</blockquote>



<h2 class="wp-block-heading">How to Enable Sudo Command on Windows 11? </h2>



<p>Before enabling the sudo command on Windows 11, there are some prerequisites, as it is a newly introduced feature on Windows 11. </p>



<h3 class="wp-block-heading">Prerequisties</h3>



<figure class="wp-block-table"><table class="has-fixed-layout"><tbody><tr><td><strong>Operating System</strong></td><td><strong>Windows 11</strong></td></tr><tr><td><strong>Build Version</strong></td><td><strong>24H2</strong> <strong>&amp; Higher</strong></td></tr><tr><td><strong>Administrative privileges needed</strong></td><td><strong>Yes</strong></td></tr></tbody></table></figure>



<p><strong>Note</strong>: Please make a note that the Sudo Command option is not available on the previous Windows 11 Builds. Hence, make sure you are on the <strong>24H2 Build</strong> of Windows 11 to enable this feature.</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p>Important Security Disclaimer: Enabling and using Sudo in Windows 11 comes with important security considerations. Windows 11 allows commands to run with elevated administrator privileges, which can affect critical system files and settings. Users should exercise caution, ensure you fully understand any command you execute, and avoid running untrusted scripts or programs. This feature relies on User Account Control (UAC) for confirmation, but misuse or incorrect commands can still cause system instability, data loss, or security vulnerabilities. It is recommended to use sudo sparingly, follow best practices. Use this feature at your own risk as &#8220;Enable Sudo feature&#8221; in Windows 11 is primarily intended for developers and advanced users.</p>
</blockquote>



<h3 class="wp-block-heading">Different Methods to Enable Sudo Command on Windows 11</h3>



<ol class="wp-block-list">
<li><strong>Enable Sudo on Windows 11 using the Windows Settings.</strong></li>



<li><strong>Turn on the Sudo Command using the Command Prompt or Windows PowerShell.</strong></li>
</ol>



<h2 class="wp-block-heading">Enable Sudo Command on Windows 11 using the Windows Settings [GUI Method]</h2>



<ul class="wp-block-list">
<li>Go to the <strong>Windows Settings</strong> using the keyboard shortcut <kbd>WinKey</kbd> + <kbd>I</kbd>.</li>



<li>In the Windows Settings, from the <strong>left pane</strong>, click on<strong> System</strong>.</li>
</ul>



<figure class="wp-block-image aligncenter size-full is-resized"><img decoding="async" width="1920" height="1020" src="https://winsides.com/wp-content/uploads/2025/02/System-Settings.webp" alt="System Settings" class="wp-image-5080" style="width:768px" title="How to Enable Sudo Command on Windows 11? 1" srcset="https://winsides.com/wp-content/uploads/2025/02/System-Settings.webp 1920w, https://winsides.com/wp-content/uploads/2025/02/System-Settings-300x159.webp 300w, https://winsides.com/wp-content/uploads/2025/02/System-Settings-1024x544.webp 1024w, https://winsides.com/wp-content/uploads/2025/02/System-Settings-768x408.webp 768w, https://winsides.com/wp-content/uploads/2025/02/System-Settings-1536x816.webp 1536w" sizes="(max-width: 1920px) 100vw, 1920px" /><figcaption class="wp-element-caption">System Settings</figcaption></figure>



<ul class="wp-block-list">
<li>Under <strong>System Settings</strong>, scroll down and locate <strong>Advanced</strong>, and open <strong>Advanced Settings</strong>. </li>
</ul>



<figure class="wp-block-image aligncenter size-full is-resized"><img decoding="async" width="1920" height="1020" src="https://winsides.com/wp-content/uploads/2025/04/Click-on-Advanced-App-Settings.webp" alt="Click on Advanced App Settings" class="wp-image-5797" style="width:768px" title="How to Enable Sudo Command on Windows 11? 2" srcset="https://winsides.com/wp-content/uploads/2025/04/Click-on-Advanced-App-Settings.webp 1920w, https://winsides.com/wp-content/uploads/2025/04/Click-on-Advanced-App-Settings-300x159.webp 300w, https://winsides.com/wp-content/uploads/2025/04/Click-on-Advanced-App-Settings-1024x544.webp 1024w, https://winsides.com/wp-content/uploads/2025/04/Click-on-Advanced-App-Settings-768x408.webp 768w, https://winsides.com/wp-content/uploads/2025/04/Click-on-Advanced-App-Settings-1536x816.webp 1536w" sizes="(max-width: 1920px) 100vw, 1920px" /><figcaption class="wp-element-caption">Click on Advanced App Settings</figcaption></figure>



<ul class="wp-block-list">
<li>You can find the <strong>Enable Sudo</strong> option under <strong>Terminal</strong>. Turn it on to enable the Sudo Command on Windows 11. </li>
</ul>



<figure class="wp-block-image aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="1439" height="825" src="https://winsides.com/wp-content/uploads/2025/09/Toggle-Sudo-Switch-to-ON.webp" alt="Toggle Sudo Switch to ON" class="wp-image-6478" style="width:768px" title="Toggle Sudo Switch to ON" srcset="https://winsides.com/wp-content/uploads/2025/09/Toggle-Sudo-Switch-to-ON.webp 1439w, https://winsides.com/wp-content/uploads/2025/09/Toggle-Sudo-Switch-to-ON-300x172.webp 300w, https://winsides.com/wp-content/uploads/2025/09/Toggle-Sudo-Switch-to-ON-1024x587.webp 1024w, https://winsides.com/wp-content/uploads/2025/09/Toggle-Sudo-Switch-to-ON-768x440.webp 768w" sizes="auto, (max-width: 1439px) 100vw, 1439px" /><figcaption class="wp-element-caption">Toggle Sudo Switch to ON</figcaption></figure>



<ul class="wp-block-list">
<li><strong>User Account Control</strong> will prompt for your confirmation. Choose accordingly. That&#8217;s it, <strong>Sudo Command</strong> will now be enabled on your Windows 11. </li>



<li>Once Sudo is enabled on your Windows 11, you can <strong>configure how Sudo runs applications</strong>. </li>
</ul>



<figure class="wp-block-image aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="1430" height="820" src="https://winsides.com/wp-content/uploads/2025/09/Configure-How-Sudo-Runs-Applications.webp" alt="Configure How Sudo Runs Applications" class="wp-image-6479" style="width:768px" title="Configure How Sudo Runs Applications" srcset="https://winsides.com/wp-content/uploads/2025/09/Configure-How-Sudo-Runs-Applications.webp 1430w, https://winsides.com/wp-content/uploads/2025/09/Configure-How-Sudo-Runs-Applications-300x172.webp 300w, https://winsides.com/wp-content/uploads/2025/09/Configure-How-Sudo-Runs-Applications-1024x587.webp 1024w, https://winsides.com/wp-content/uploads/2025/09/Configure-How-Sudo-Runs-Applications-768x440.webp 768w" sizes="auto, (max-width: 1430px) 100vw, 1430px" /><figcaption class="wp-element-caption">Configure How Sudo Runs Applications</figcaption></figure>



<ul class="wp-block-list">
<li>You can choose between <strong>In a new window</strong>, <strong>With input disabled</strong>, and <strong>Inline</strong>. </li>
</ul>



<h3 class="wp-block-heading">In a new Window</h3>



<p>This is the default and the safest option. When we work with the sudo command, it opens a separate elevated console window. This makes sure that the elevated process that works with the sudo command runs in isolation. </p>



<h3 class="wp-block-heading">With Input Disabled</h3>



<p>This option runs the command with elevated permissions in the same window. However, it blocks further user input. This way can prevent accidental or malicious input. This is useful for running scripts or one-off commands. </p>



<h3 class="wp-block-heading">Inline</h3>



<p>The inline option is the least secure and the most vulnerable way because, with this option enabled, users can run elevated commands directly inside your current console session. Here, elevated and non-elevated processes will share the same console, which increases the risk if a command behaves unexpectedly. </p>



<h2 class="wp-block-heading">Turn on the Sudo Command on Windows 11 using the Command Prompt or Windows PowerShell [CLI Method]</h2>



<p>In this method, we will use the Command Line Interface via the Command Prompt or Windows PowerShell. For explanation, we will use Windows PowerShell. </p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p>To enable Sudo Command on Windows 11 via the Command Prompt or Windows PowerShell, we have to run them with Administrative Privileges. </p>
</blockquote>



<ul class="wp-block-list">
<li>Go to the <strong>Run Command</strong> using the keyboard shortcut <kbd>WinKey</kbd> + <kbd>R</kbd>. In the Run, type the following command <code>powershell</code> and press <kbd>CTRL</kbd> + <kbd>SHIFT</kbd> + <kbd>ENTER</kbd>. </li>
</ul>



<figure class="wp-block-image aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="846" height="379" src="https://winsides.com/wp-content/uploads/2025/02/Type-powershell-and-press-ctrl-shift-enter.webp" alt="Type powershell and press ctrl + shift + enter" class="wp-image-5223" style="width:450px" title="How to Enable Sudo Command on Windows 11? 3" srcset="https://winsides.com/wp-content/uploads/2025/02/Type-powershell-and-press-ctrl-shift-enter.webp 846w, https://winsides.com/wp-content/uploads/2025/02/Type-powershell-and-press-ctrl-shift-enter-300x134.webp 300w, https://winsides.com/wp-content/uploads/2025/02/Type-powershell-and-press-ctrl-shift-enter-768x344.webp 768w" sizes="auto, (max-width: 846px) 100vw, 846px" /><figcaption class="wp-element-caption">Type powershell and press ctrl + shift + enter</figcaption></figure>



<ul class="wp-block-list">
<li>This will prompt the system to run the <code>powershell</code> command with Elevated Privileges. UAC will confirm and open Windows PowerShell with Elevated Permissions. </li>



<li><code>sudo config --enable (mode)</code> is the syntax. Here, mode is the sudo configuration option. You can specify which one you are going to use. You can choose between In a New Window, With Input Disabled, and Inline. For explanation, we will use the option &#8220;<strong>In a New Window</strong>&#8220;. Execute the following command in Windows PowerShell. <code>sudo config --enable forceNewWindow</code></li>
</ul>



<figure class="wp-block-image aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="1334" height="612" src="https://winsides.com/wp-content/uploads/2025/09/Command-to-Enable-Sudo-Command-using-PowerShell-or-CMD.webp" alt="Command to Enable Sudo Command using PowerShell or CMD" class="wp-image-6473" style="width:768px" title="How to Enable Sudo Command on Windows 11? 4" srcset="https://winsides.com/wp-content/uploads/2025/09/Command-to-Enable-Sudo-Command-using-PowerShell-or-CMD.webp 1334w, https://winsides.com/wp-content/uploads/2025/09/Command-to-Enable-Sudo-Command-using-PowerShell-or-CMD-300x138.webp 300w, https://winsides.com/wp-content/uploads/2025/09/Command-to-Enable-Sudo-Command-using-PowerShell-or-CMD-1024x470.webp 1024w, https://winsides.com/wp-content/uploads/2025/09/Command-to-Enable-Sudo-Command-using-PowerShell-or-CMD-768x352.webp 768w" sizes="auto, (max-width: 1334px) 100vw, 1334px" /><figcaption class="wp-element-caption">Command to Enable Sudo Command using PowerShell or CMD</figcaption></figure>



<ul class="wp-block-list">
<li>This command will <strong>enable</strong> <strong>sudo</strong> and set its configuration to &#8220;<strong>In a New Window</strong>&#8220;. You can execute the same command in the Command Prompt as well. </li>



<li>One interesting thing is that in Windows Settings, the default option refers to the safest option, &#8220;<strong>In a New Window</strong>&#8220;. However, in the CLI mode, with PowerShell or CMD, the default option refers to the Inline Mode. This difference in behavior is due to <strong>contextual awareness</strong>. The Windows Settings favors the safety of the general users, whereas the CLI modes favour the convenience of the developers. Here are the possible sudo configurations you can enable using Windows PowerShell or Command Prompt.</li>
</ul>



<figure class="wp-block-table"><table class="has-fixed-layout"><tbody><tr><td><strong><em>Value</em></strong></td><td><strong><em>Behaviour</em></strong></td></tr><tr><td><strong>forceNewWindow</strong></td><td>Enables Sudo with In a New Window configuration</td></tr><tr><td><strong>normal/default</strong></td><td>Enables Sudo with Inline Configuration</td></tr><tr><td><strong>disableInput</strong></td><td>Runs Elevated Commands inline, but blocks additional user input</td></tr></tbody></table></figure>



<h2 class="wp-block-heading">How to Disable the Sudo Command on Windows 11?</h2>



<p>Just like the enabling process, to disable the Sudo Command on Windows 11, we have both GUI and CLI Methods. </p>



<h3 class="wp-block-heading">CLI Method to Disable Sudo Command on Windows 11</h3>



<p>For CLI, we can use Command Prompt, Windows PowerShell, and Windows Terminal. Make sure you are running these applications with Administrative Privileges. To disable Sudo on Windows 11, kindly execute the following command in the terminal. <code>sudo config --enable disable</code></p>



<figure class="wp-block-image aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="1302" height="805" src="https://winsides.com/wp-content/uploads/2025/09/Disable-Sudo-Command-on-Windows-11.webp" alt="Disable Sudo Command on Windows 11" class="wp-image-6482" style="width:768px" title="Disable Sudo Command on Windows 11" srcset="https://winsides.com/wp-content/uploads/2025/09/Disable-Sudo-Command-on-Windows-11.webp 1302w, https://winsides.com/wp-content/uploads/2025/09/Disable-Sudo-Command-on-Windows-11-300x185.webp 300w, https://winsides.com/wp-content/uploads/2025/09/Disable-Sudo-Command-on-Windows-11-1024x633.webp 1024w, https://winsides.com/wp-content/uploads/2025/09/Disable-Sudo-Command-on-Windows-11-768x475.webp 768w" sizes="auto, (max-width: 1302px) 100vw, 1302px" /><figcaption class="wp-element-caption">Disable Sudo Command on Windows 11</figcaption></figure>



<p>The above command will disable Sudo on Windows 11. Once it is disabled on your machine, the next time you use it, the system will throw the following error. &#8220;<strong>Sudo is disabled on this machine</strong>&#8220;.</p>



<figure class="wp-block-image aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="1304" height="589" src="https://winsides.com/wp-content/uploads/2025/09/Sudo-is-disabled-on-this-machine.webp" alt="Sudo is disabled on this machine" class="wp-image-6483" style="width:768px" title="Sudo is disabled on this machine" srcset="https://winsides.com/wp-content/uploads/2025/09/Sudo-is-disabled-on-this-machine.webp 1304w, https://winsides.com/wp-content/uploads/2025/09/Sudo-is-disabled-on-this-machine-300x136.webp 300w, https://winsides.com/wp-content/uploads/2025/09/Sudo-is-disabled-on-this-machine-1024x463.webp 1024w, https://winsides.com/wp-content/uploads/2025/09/Sudo-is-disabled-on-this-machine-768x347.webp 768w" sizes="auto, (max-width: 1304px) 100vw, 1304px" /><figcaption class="wp-element-caption">Sudo is disabled on this machine</figcaption></figure>



<h3 class="wp-block-heading">GUI Method to Disable Sudo using Windows Settings on Windows 11</h3>



<ul class="wp-block-list">
<li>The process is very similar to the enabling process.</li>



<li>Navigate to the <strong>System Settings</strong> and then to the <strong>Advanced Settings</strong>. </li>



<li>Toggle the Sudo switch to<strong> OFF</strong> to turn off Sudo Command on Windows 11. </li>
</ul>



<figure class="wp-block-image aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="1438" height="821" src="https://winsides.com/wp-content/uploads/2025/09/Sudo-Command-disabled-using-Windows-Settings.webp" alt="Sudo Command disabled using Windows Settings" class="wp-image-6484" style="width:768px" title="How to Enable Sudo Command on Windows 11? 5" srcset="https://winsides.com/wp-content/uploads/2025/09/Sudo-Command-disabled-using-Windows-Settings.webp 1438w, https://winsides.com/wp-content/uploads/2025/09/Sudo-Command-disabled-using-Windows-Settings-300x171.webp 300w, https://winsides.com/wp-content/uploads/2025/09/Sudo-Command-disabled-using-Windows-Settings-1024x585.webp 1024w, https://winsides.com/wp-content/uploads/2025/09/Sudo-Command-disabled-using-Windows-Settings-768x438.webp 768w" sizes="auto, (max-width: 1438px) 100vw, 1438px" /><figcaption class="wp-element-caption">Sudo Command disabled using Windows Settings</figcaption></figure>



<ul class="wp-block-list">
<li>That&#8217;s it. Sudo Command is now disabled on your Windows 11. </li>
</ul>



<h2 class="wp-block-heading">Take Away</h2>



<p>Introducing the <strong>Sudo Command on Windows 11</strong> bridges the gap between <strong>Windows and Linux</strong> and allows users and developers to run <strong>elevated commands</strong> directly from their console. However, running the Sudo Command could expose your device and personal data to <strong>security risks or harm your device</strong>. Hence, use Sudo wisely. </p>



<p>We hope you are satisfied with our article on <strong>&#8220;Enable</strong> <strong>Sudo Command on Windows 11</strong>.&#8221; If you have any <strong>queries</strong>, kindly let us know in the <strong>comments</strong>. For more interesting articles, stay tuned to <a href="https://https://winsides.com">Winsides.com</a>. <strong>Safe Computing! Peace out!</strong></p>
]]></content:encoded>
					
					<wfw:commentRss>https://winsides.com/how-to-enable-sudo-command-on-windows-11/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
