From 9ae5092e29c03d8ea4261072204ce9de8aa4304c Mon Sep 17 00:00:00 2001 From: Martin Wiethan <47688561+Marterich@users.noreply.github.com> Date: Wed, 28 Aug 2024 18:18:33 +0200 Subject: [PATCH] Move Disable Teredo to Advanced and Add prefer-ipv4 tweak (#2633) * Move Disable Teredo to Advanced and Add prefer-ipv4 tweak * Push DevDocs Update * Fix DevDocs annoyance where the path is changed * Fix DevDocs annoyance where the path is changed --- config/preset.json | 2 +- config/tweaks.json | 25 ++++++-- docs/dev/tweaks/Essential-Tweaks/IPv46.md | 63 +++++++++++++++++++ .../Teredo.md | 12 ++-- docs/devdocs.md | 3 +- 5 files changed, 93 insertions(+), 12 deletions(-) create mode 100644 docs/dev/tweaks/Essential-Tweaks/IPv46.md rename docs/dev/tweaks/{Essential-Tweaks => z--Advanced-Tweaks---CAUTION}/Teredo.md (84%) diff --git a/config/preset.json b/config/preset.json index 78083d15..570c1f67 100644 --- a/config/preset.json +++ b/config/preset.json @@ -14,7 +14,7 @@ "WPFTweaksDeleteTempFiles", "WPFTweaksEndTaskOnTaskbar", "WPFTweaksRestorePoint", - "WPFTweaksTeredo", + "WPFTweaksIPv46", "WPFTweaksPowershell7Tele" ], "Minimal": [ diff --git a/config/tweaks.json b/config/tweaks.json index 07c17d85..104a70ce 100644 --- a/config/tweaks.json +++ b/config/tweaks.json @@ -3141,12 +3141,29 @@ ], "link": "https://christitustech.github.io/winutil/dev/tweaks/Essential-Tweaks/DVR" }, - "WPFTweaksTeredo": { - "Content": "Disable Teredo", - "Description": "Teredo network tunneling is a ipv6 feature that can cause additional latency.", + "WPFTweaksIPv46": { + "Content": "Prefer IPv4 over IPv6", + "Description": "To set the IPv4 preference can have latency and security benefits on private networks where IPv6 is not configured.", "category": "Essential Tweaks", "panel": "1", "Order": "a005_", + "registry": [ + { + "Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Services\\Tcpip6\\Parameters", + "Name": "DisabledComponents", + "Value": "32", + "OriginalValue": "0", + "Type": "DWord" + } + ], + "link": "https://christitustech.github.io/winutil/dev/tweaks/Essential-Tweaks/IPv46" + }, + "WPFTweaksTeredo": { + "Content": "Disable Teredo", + "Description": "Teredo network tunneling is a ipv6 feature that can cause additional latency, but may cause problems with some games", + "category": "z__Advanced Tweaks - CAUTION", + "panel": "1", + "Order": "a023_", "registry": [ { "Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Services\\Tcpip6\\Parameters", @@ -3162,7 +3179,7 @@ "UndoScript": [ "netsh interface teredo set state default" ], - "link": "https://christitustech.github.io/winutil/dev/tweaks/Essential-Tweaks/Teredo" + "link": "https://christitustech.github.io/winutil/dev/tweaks/z--Advanced-Tweaks---CAUTION/Teredo" }, "WPFTweaksDisableipsix": { "Content": "Disable IPv6", diff --git a/docs/dev/tweaks/Essential-Tweaks/IPv46.md b/docs/dev/tweaks/Essential-Tweaks/IPv46.md new file mode 100644 index 00000000..471ca312 --- /dev/null +++ b/docs/dev/tweaks/Essential-Tweaks/IPv46.md @@ -0,0 +1,63 @@ +# Prefer IPv4 over IPv6 + +Last Updated: 2024-08-27 + + +!!! info + 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 + +To set the IPv4 preference can have latency and security benefits on private networks where IPv6 is not configured. + + + + + +
+Preview Code + +```json +{ + "Content": "Prefer IPv4 over IPv6", + "Description": "To set the IPv4 preference can have latency and security benefits on private networks where IPv6 is not configured.", + "category": "Essential Tweaks", + "panel": "1", + "Order": "a005_", + "registry": [ + { + "Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Services\\Tcpip6\\Parameters", + "Name": "DisabledComponents", + "Value": "32", + "OriginalValue": "0", + "Type": "DWord" + } + ], + "link": "https://christitustech.github.io/winutil/dev/tweaks/Essential-Tweaks/IPv46" +} +``` + +
+ +## 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](https://www.wikiwand.com/en/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry). + +### Registry Key: DisabledComponents + +**Type:** DWord + +**Original Value:** 0 + +**New Value:** 32 + + + + + + + + +[View the JSON file](https://github.com/ChrisTitusTech/winutil/tree/main/config/tweaks.json) + diff --git a/docs/dev/tweaks/Essential-Tweaks/Teredo.md b/docs/dev/tweaks/z--Advanced-Tweaks---CAUTION/Teredo.md similarity index 84% rename from docs/dev/tweaks/Essential-Tweaks/Teredo.md rename to docs/dev/tweaks/z--Advanced-Tweaks---CAUTION/Teredo.md index 4206d514..428d8022 100644 --- a/docs/dev/tweaks/Essential-Tweaks/Teredo.md +++ b/docs/dev/tweaks/z--Advanced-Tweaks---CAUTION/Teredo.md @@ -1,13 +1,13 @@ # Disable Teredo -Last Updated: 2024-08-07 +Last Updated: 2024-08-27 !!! info 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 -Teredo network tunneling is a ipv6 feature that can cause additional latency. +Teredo network tunneling is a ipv6 feature that can cause additional latency, but may cause problems with some games @@ -19,10 +19,10 @@ Teredo network tunneling is a ipv6 feature that can cause additional latency. ```json { "Content": "Disable Teredo", - "Description": "Teredo network tunneling is a ipv6 feature that can cause additional latency.", - "category": "Essential Tweaks", + "Description": "Teredo network tunneling is a ipv6 feature that can cause additional latency, but may cause problems with some games", + "category": "z__Advanced Tweaks - CAUTION", "panel": "1", - "Order": "a005_", + "Order": "a023_", "registry": [ { "Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Services\\Tcpip6\\Parameters", @@ -38,7 +38,7 @@ Teredo network tunneling is a ipv6 feature that can cause additional latency. "UndoScript": [ "netsh interface teredo set state default" ], - "link": "https://christitustech.github.io/winutil/dev/tweaks/Essential-Tweaks/Teredo" + "link": "https://christitustech.github.io/winutil/dev/tweaks/z--Advanced-Tweaks---CAUTION/Teredo" } ``` diff --git a/docs/devdocs.md b/docs/devdocs.md index 9a73d996..7efd5d62 100644 --- a/docs/devdocs.md +++ b/docs/devdocs.md @@ -13,6 +13,7 @@ - [Disable IPv6](dev/tweaks/z--Advanced-Tweaks---CAUTION/Disableipsix.md) - [Disable Microsoft Copilot](dev/tweaks/z--Advanced-Tweaks---CAUTION/RemoveCopilot.md) - [Disable Notification Tray/Calendar](dev/tweaks/z--Advanced-Tweaks---CAUTION/DisableNotifications.md) +- [Disable Teredo](dev/tweaks/z--Advanced-Tweaks---CAUTION/Teredo.md) - [DNS](dev/tweaks/z--Advanced-Tweaks---CAUTION/changedns.md) - [Remove ALL MS Store Apps - NOT RECOMMENDED](dev/tweaks/z--Advanced-Tweaks---CAUTION/DeBloat.md) - [Remove Home and Gallery from explorer](dev/tweaks/z--Advanced-Tweaks---CAUTION/RemoveHomeGallery.md) @@ -30,6 +31,7 @@ - [Create Restore Point](dev/tweaks/Essential-Tweaks/RestorePoint.md) - [Debloat Edge](dev/tweaks/Essential-Tweaks/EdgeDebloat.md) - [Delete Temporary Files](dev/tweaks/Essential-Tweaks/DeleteTempFiles.md) +- [Prefer IPv4 over IPv6](dev/tweaks/Essential-Tweaks/IPv46.md) - [Disable Activity History](dev/tweaks/Essential-Tweaks/AH.md) - [Disable ConsumerFeatures](dev/tweaks/Essential-Tweaks/ConsumerFeatures.md) - [Disable GameDVR](dev/tweaks/Essential-Tweaks/DVR.md) @@ -39,7 +41,6 @@ - [Disable Powershell 7 Telemetry](dev/tweaks/Essential-Tweaks/Powershell7Tele.md) - [Disable Storage Sense](dev/tweaks/Essential-Tweaks/Storage.md) - [Disable Telemetry](dev/tweaks/Essential-Tweaks/Tele.md) -- [Disable Teredo](dev/tweaks/Essential-Tweaks/Teredo.md) - [Disable Wifi-Sense](dev/tweaks/Essential-Tweaks/Wifi.md) - [Enable End Task With Right Click](dev/tweaks/Essential-Tweaks/EndTaskOnTaskbar.md) - [Run Disk Cleanup](dev/tweaks/Essential-Tweaks/DiskCleanup.md)