From e2c84d9834755be6f17a5051bf32ac5e3ce663a9 Mon Sep 17 00:00:00 2001 From: Gabi <182965942+GabiNun@users.noreply.github.com> Date: Tue, 14 Oct 2025 17:20:00 +0000 Subject: [PATCH] Add Disable Edge Tweak (#3613) * Update tweaks.json * Update tweaks.json * Update tweaks.json --- config/tweaks.json | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/config/tweaks.json b/config/tweaks.json index 8fa8c32d..593fbd89 100644 --- a/config/tweaks.json +++ b/config/tweaks.json @@ -2129,6 +2129,36 @@ ], "link": "https://winutil.christitus.com/dev/tweaks/essential-tweaks/wifi" }, + "WPFTweaksDisableEdge": { + "Content": "Disable Edge", + "Description": "Disables Microsoft Edge via the registry and prevents scheduled tasks from running Edge updates.", + "category": "z__Advanced Tweaks - CAUTION", + "panel": "1", + "Order": "a016_", + "registry": [ + { + "Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer\\DisallowRun", + "Name": "DisableEdge", + "Type": "String", + "Value": "msedge.exe", + "OriginalValue": "" + }, + { + "Path": "HKLM:\\Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer", + "Name": "DisallowRun", + "Type": "DWord", + "Value": "1", + "OriginalValue": "" + } + ], + "invokeScript": [ + "Get-ScheduledTask | Where-Object { $_.TaskName -like '*MicrosoftEdgeUpdate*' } | Disable-ScheduledTask" + ], + "undoScript": [ + "Get-ScheduledTask | Where-Object { $_.TaskName -like '*MicrosoftEdgeUpdate*' } | Enable-ScheduledTask" + ], + "link": "" + }, "WPFTweaksUTC": { "Content": "Set Time to UTC (Dual Boot)", "Description": "Essential for computers that are dual booting. Fixes the time sync with Linux Systems.",