To disable IPv6 on Windows, you can use several methods, including the Control Panel, Command Prompt, PowerShell, and the Registry Editor. Here’s a detailed guide for each method:
1. Disabling IPv6 via Control Panel
This method will disable IPv6 for specific network adapters:
- Press Windows Key + X and select Control Panel.
- Navigate to Network and Internet.
- Click on Network and Sharing Center.
- Select Change adapter settings on the left.
- Right-click on your active network connection (e.g., Ethernet or Wi-Fi) and choose Properties.
- In the list, find Internet Protocol Version 6 (TCP/IPv6) and uncheck the box next to it.
- Click OK to confirm the changes.
This method only sets your system to prefer IPv4 over IPv6 but does not fully disable IPv6 at the system level.
2. Disabling IPv6 via Command Prompt
To disable IPv6 for all network adapters using Command Prompt:
- Open Command Prompt as an administrator.
- Run the following command to disable IPv6:
bash
netsh interface ipv6 set teredo disabled netsh interface ipv6 6to4 set state disabled netsh interface ipv6 isatap set state disabled
- Restart your computer to apply the changes.
Alternatively, to disable IPv6 on a specific adapter, use:
netsh interface ipv6 set interface "InterfaceName" admin=disabled
Replace "InterfaceName"
with the actual name of your network adapter
3. Disabling IPv6 via PowerShell
For a more advanced approach, you can use PowerShell:
- Open PowerShell as an administrator.
- To disable IPv6 on a specific adapter, run:
powershell
Disable-NetAdapterBinding -Name "Ethernet" -ComponentID ms_tcpip6
Replace
"Ethernet"
with the name of your network adapter. - To disable IPv6 on all adapters, use:
powershell
Disable-NetAdapterBinding -Name "*" -ComponentID ms_tcpip6
- Verify the changes with:
powershell
Get-NetAdapterBinding -ComponentID ms_tcpip6
- Restart your computer to ensure the settings take effect.
4. Disabling IPv6 via Registry Editor
For a complete system-level disablement of IPv6, you can modify the Windows Registry:
- Press Windows Key + R, type
regedit
, and press Enter. - Navigate to:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters
- Right-click in the right pane, select New > DWORD (32-bit) Value, and name it DisabledComponents.
- Set its value to 255 to disable IPv6 completely.
- Restart your computer for the changes to take effect.
Note: Modifying the registry can affect system stability; proceed with caution and back up the registry before making changes.These methods provide you with various options to disable IPv6 based on your preferences and technical comfort level.