{"id":11296,"date":"2026-05-05T12:00:50","date_gmt":"2026-05-05T12:00:50","guid":{"rendered":"https:\/\/cheapwindowsvps.com\/blog\/a-step-by-step-guide-to-safely-disable-ipv6-on-windows\/"},"modified":"2026-05-05T12:00:50","modified_gmt":"2026-05-05T12:00:50","slug":"a-step-by-step-guide-to-safely-disable-ipv6-on-windows","status":"publish","type":"post","link":"https:\/\/cheapwindowsvps.com\/blog\/a-step-by-step-guide-to-safely-disable-ipv6-on-windows\/","title":{"rendered":"A Step-by-Step Guide to Safely Disable IPv6 on Windows"},"content":{"rendered":"<p>Although the <strong>IPv6 protocol is enabled by default<\/strong> in all Windows versions, it is not commonly used in home and small office networks. As a result, many sources recommend disabling IPv6 to resolve network issues. However, Microsoft advises against completely disabling IPv6 unless absolutely necessary, especially on Windows Server, where various components rely on link-local IPv6 addresses for internal operations.<\/p>\n<h3>How to Make Windows Prefer IPv4 Over IPv6<\/h3>\n<p>Instead of turning off IPv6, you can prioritize IPv4. In cases where both IPv6 and IPv4 addresses are available, Windows typically tries to use the IPv6 address first. If this connection fails, delays or errors might occur, particularly for older applications. To adjust the protocol priority, follow this command:<\/p>\n<pre><code class=\"language-shell\">reg add HKLMsystemcurrentcontrolsetservicestcpip6parameters \/v DisabledComponents \/t REG_DWORD \/d 0x20<\/code><\/pre>\n<p>The values for the <strong>DisabledComponents<\/strong> registry parameter are as follows:<\/p>\n<ul>\n<li><code>0<\/code>: IPv6 is enabled (default)<\/li>\n<li><code>0x10<\/code>: Disable IPv6 on all non-tunnel interfaces<\/li>\n<li><code>0x01<\/code>: Disable IPv6 on all tunnel interfaces<\/li>\n<li><code>0x11<\/code>: Disable IPv6 (except loopback)<\/li>\n<li><code>0x20<\/code>: Prefer IPv4 over IPv6 (recommendable)<\/li>\n<li><code>0xFF<\/code>: Disable IPv6 completely (not recommended)<\/li>\n<\/ul>\n<p>You can also modify the IPv4 preference with the following commands:<\/p>\n<pre><code class=\"language-shell\">netsh interface ipv6 set prefix ::\/96 60 3netsh interface ipv6 set prefix ::ffff:0:0\/96 55 4<\/code><\/pre>\n<h3>How to Properly Disable IPv6 on Windows<\/h3>\n<p>If prioritizing IPv4 doesn&#8217;t resolve the issues, you may consider disabling IPv6 altogether. However, it&#8217;s crucial to do it correctly, as unchecking the <strong>Internet Protocol Version 6 (TCP\/IPv6)<\/strong> option in network adapter properties only disables IPv6 for that adapter, not system-wide.<\/p>\n<p>To completely disable IPv6, you should change the <strong>DisabledComponents<\/strong> parameter value to <code>0xFF<\/code> using:<\/p>\n<pre><code class=\"language-shell\">reg add HKLMsystemcurrentcontrolsetservicestcpip6parameters \/v DisabledComponents \/t REG_DWORD \/d 0xFF<\/code><\/pre>\n<p>After implementing this change, make sure to restart your computer.<\/p>\n<p>For managing this setting across multiple computers in an Active Directory environment, you can deploy the <strong>DisabledComponents<\/strong> registry item via Group Policy.<\/p>\n<h3>Verifying IPv6 is Disabled<\/h3>\n<p>To check if IPv6 has been completely disabled, you can execute:<\/p>\n<pre><code class=\"language-shell\">netsh interface ipv6 show interfaces<\/code><\/pre>\n<p>If IPv6 is disabled, the result will be empty. Alternatively, you can ping the loopback interface. If IPv6 is operational, it will return its IPv6 address (<code>::1<\/code>); if not, it should reflect the IPv4 address (<code>127.0.0.1<\/code>).<\/p>\n<p>If desired, to re-enable IPv6, simply set the <strong>DisabledComponents<\/strong> parameter value back to <code>0<\/code> or remove it entirely:<\/p>\n<pre><code class=\"language-shell\">reg delete &quot;HKLMSYSTEMCurrentControlSetServicesTcpip6Parameters&quot; \/v DisabledComponents \/f<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Although the IPv6 protocol is enabled by default in all Windows versions, it is not commonly used in home and small office networks. As a result, many sources recommend disabling IPv6 to resolve network issues. However, Microsoft advises against completely disabling IPv6 unless absolutely necessary, especially on Windows Server, where various components rely on link-local [&hellip;]<\/p>\n","protected":false},"author":0,"featured_media":11297,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[117,98,99,108],"tags":[],"class_list":["post-11296","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-powershell","category-windows-10","category-windows-11","category-windows-server-2022"],"_links":{"self":[{"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/posts\/11296","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/comments?post=11296"}],"version-history":[{"count":0,"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/posts\/11296\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/media\/11297"}],"wp:attachment":[{"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/media?parent=11296"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/categories?post=11296"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/tags?post=11296"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}