Disable IPv6
Last Updated: 2024-08-07
Note
The Development Documentation is auto generated for every compilation of Winutil, meaning a part of it will always stay up-to-date. Developers do have the ability to add custom content, which won’t be updated automatically.
Description
Disables IPv6.
Preview Code
{
"Content": "Disable IPv6",
"Description": "Disables IPv6.",
"category": "z__Advanced Tweaks - CAUTION",
"panel": "1",
"Order": "a023_",
"registry": [
{
"Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Services\\Tcpip6\\Parameters",
"Name": "DisabledComponents",
"Value": "255",
"OriginalValue": "0",
"Type": "DWord"
}
],
"InvokeScript": [
"Disable-NetAdapterBinding -Name \"*\" -ComponentID ms_tcpip6"
],
"UndoScript": [
"Enable-NetAdapterBinding -Name \"*\" -ComponentID ms_tcpip6"
],
"link": "https://christitustech.github.io/Winutil/dev/tweaks/z--Advanced-Tweaks---CAUTION/Disableipsix"
}
Invoke Script
Disable-NetAdapterBinding -Name "*" -ComponentID ms_tcpip6
Undo Script
Enable-NetAdapterBinding -Name "*" -ComponentID ms_tcpip6
Registry Changes
Applications and System Components store and retrieve configuration data to modify windows settings, so we can use the registry to change many settings in one place.
You can find information about the registry on Wikipedia and Microsoft’s Website.
Registry Key: DisabledComponents
Type: DWord
Original Value: 0
New Value: 255