From ae1b22552a62738169b5c5e82a03336e28c86426 Mon Sep 17 00:00:00 2001 From: Martin Wiethan <47688561+Marterich@users.noreply.github.com> Date: Thu, 25 Jul 2024 22:15:37 +0200 Subject: [PATCH] Add explorer bloat tweak (#2424) --- config/tweaks.json | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/config/tweaks.json b/config/tweaks.json index e539aa86..a3b9dba1 100644 --- a/config/tweaks.json +++ b/config/tweaks.json @@ -2006,6 +2006,27 @@ } ] }, + "WPFTweaksRemoveHomeGallery": { + "Content": "Remove Home and Gallery from explorer", + "Description": "Removes the Home and Gallery from explorer and sets This PC as default", + "category": "z__Advanced Tweaks - CAUTION", + "panel": "1", + "Order": "a029_", + "InvokeScript": [ + " + REG DELETE \"HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Desktop\\NameSpace\\{e88865ea-0e1c-4e20-9aa6-edcd0212c87c}\" /f + REG DELETE \"HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Desktop\\NameSpace\\{f874310e-b6b7-47dc-bc84-b9e6b38f5903}\" /f + REG ADD \"HKEY_CURRENT_USER\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced\" /f /v \"LaunchTo\" /t REG_DWORD /d \"1\" + " + ], + "UndoScript": [ + " + REG ADD \"HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Desktop\\NameSpace\\{e88865ea-0e1c-4e20-9aa6-edcd0212c87c}\" /f /ve /t REG_SZ /d \"{e88865ea-0e1c-4e20-9aa6-edcd0212c87c}\" + REG ADD \"HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Desktop\\NameSpace\\{f874310e-b6b7-47dc-bc84-b9e6b38f5903}\" /f /ve /t REG_SZ /d \"CLSID_MSGraphHomeFolder\" + REG DELETE \"HKEY_CURRENT_USER\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced\" /f /v \"LaunchTo\" + " + ] + }, "WPFTweaksDisplay": { "Content": "Set Display for Performance", "Description": "Sets the system preferences to performance. You can do this manually with sysdm.cpl as well.",