From bbfbd7193ee8658d19b5d16b149f6dc79c51ccf8 Mon Sep 17 00:00:00 2001 From: "@lexlucas" <131445060+CMD126@users.noreply.github.com> Date: Sat, 7 Mar 2026 18:32:06 +0000 Subject: [PATCH] Add Search Highlights, Find My Device toggles and Lenovo/Dell OEM apps (#508) --- Apps.json | 42 +++++++++++++++++++ Assets/Features.json | 26 ++++++++++++ DefaultSettings.json | 4 ++ Regfiles/Disable_Find_My_Device.reg | 5 +++ Regfiles/Disable_Search_Highlights.reg | 5 +++ Regfiles/Sysprep/Disable_Find_My_Device.reg | 5 +++ .../Sysprep/Disable_Search_Highlights.reg | 5 +++ Regfiles/Undo/Enable_Find_My_Device.reg | 5 +++ Regfiles/Undo/Enable_Search_Highlights.reg | 5 +++ Scripts/Get.ps1 | 2 + Win11Debloat.ps1 | 2 + 11 files changed, 106 insertions(+) create mode 100644 Regfiles/Disable_Find_My_Device.reg create mode 100644 Regfiles/Disable_Search_Highlights.reg create mode 100644 Regfiles/Sysprep/Disable_Find_My_Device.reg create mode 100644 Regfiles/Sysprep/Disable_Search_Highlights.reg create mode 100644 Regfiles/Undo/Enable_Find_My_Device.reg create mode 100644 Regfiles/Undo/Enable_Search_Highlights.reg mode change 100755 => 100644 Win11Debloat.ps1 diff --git a/Apps.json b/Apps.json index 9075fc3..1cf14e8 100644 --- a/Apps.json +++ b/Apps.json @@ -73,6 +73,18 @@ "Description": "AI assistant integrated into Windows", "SelectedByDefault": true }, + { + "FriendlyName": "Copilot+ AI Hub", + "AppId": "Microsoft.Windows.AIHub", + "Description": "Copilot+ AI Hub app (Windows 11 24H2+)", + "SelectedByDefault": true + }, + { + "FriendlyName": "Microsoft PC Manager", + "AppId": "Microsoft.PCManager", + "Description": "Microsoft PC Manager system cleanup and optimization tool (often preinstalled)", + "SelectedByDefault": true + }, { "FriendlyName": "Get Started", "AppId": "Microsoft.Getstarted", @@ -828,6 +840,36 @@ "AppId": "AD2F1837.myHP", "Description": "HP OEM central hub app for device info, support, and services", "SelectedByDefault": false + }, + { + "FriendlyName": "Lenovo Vantage", + "AppId": "E046963F.LenovoCompanion", + "Description": "Lenovo OEM hub app for device settings, updates, and support", + "SelectedByDefault": false + }, + { + "FriendlyName": "Lenovo Vantage Service", + "AppId": "LenovoCompanyLimited.LenovoVantageService", + "Description": "Background service component for Lenovo Vantage", + "SelectedByDefault": false + }, + { + "FriendlyName": "Dell SupportAssist", + "AppId": "DellInc.DellSupportAssistforPCs", + "Description": "Dell OEM support, diagnostic, and update tool", + "SelectedByDefault": false + }, + { + "FriendlyName": "Dell Digital Delivery Services", + "AppId": "DellInc.DellDigitalDelivery", + "Description": "Dell OEM software for delivering pre-purchased software", + "SelectedByDefault": false + }, + { + "FriendlyName": "Dell Mobile Connect", + "AppId": "DellInc.DellMobileConnect", + "Description": "Dell OEM app for linking Android/iOS phone to PC (superseded by Phone Link)", + "SelectedByDefault": false } ] } diff --git a/Assets/Features.json b/Assets/Features.json index 4f5135a..2fe7dcb 100644 --- a/Assets/Features.json +++ b/Assets/Features.json @@ -384,6 +384,19 @@ "MinVersion": null, "MaxVersion": null }, + { + "FeatureId": "DisableFindMyDevice", + "Label": "Find My Device location tracking", + "ToolTip": "This will turn off the 'Find My Device' feature, which periodically sends your device's location to Microsoft. This feature uses policies, which will lock down certain settings.", + "Category": "Privacy & Suggested Content", + "Action": "Disable", + "RegistryKey": "Disable_Find_My_Device.reg", + "ApplyText": "> Disabling Find My Device location tracking...", + "UndoAction": "Enable", + "RegistryUndoKey": "Enable_Find_My_Device.reg", + "MinVersion": null, + "MaxVersion": null + }, { "FeatureId": "DisableSearchHistory", "Label": "local Windows Search history", @@ -575,6 +588,19 @@ "MinVersion": null, "MaxVersion": null }, + { + "FeatureId": "DisableSearchHighlights", + "Label": "Search Highlights (dynamic/branded content in Windows search box)", + "ToolTip": "This will turn off Search Highlights, which shows dynamically curated branded content and trending topics in the Windows search box on the taskbar.", + "Category": "Privacy & Suggested Content", + "Action": "Disable", + "RegistryKey": "Disable_Search_Highlights.reg", + "ApplyText": "> Disabling Search Highlights in the Windows search box...", + "UndoAction": "Enable", + "RegistryUndoKey": "Enable_Search_Highlights.reg", + "MinVersion": 22621, + "MaxVersion": null + }, { "FeatureId": "DisableStartPhoneLink", "Label": "Phone Link integration in the start menu", diff --git a/DefaultSettings.json b/DefaultSettings.json index 48648c8..608464f 100644 --- a/DefaultSettings.json +++ b/DefaultSettings.json @@ -25,6 +25,10 @@ "Name": "DisableBing", "Value": true }, + { + "Name": "DisableSearchHighlights", + "Value": true + }, { "Name": "DisableCopilot", "Value": true diff --git a/Regfiles/Disable_Find_My_Device.reg b/Regfiles/Disable_Find_My_Device.reg new file mode 100644 index 0000000..6f0bfe3 --- /dev/null +++ b/Regfiles/Disable_Find_My_Device.reg @@ -0,0 +1,5 @@ +Windows Registry Editor Version 5.00 + +; Disable Find My Device location tracking +[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\FindMyDevice] +"AllowFindMyDevice"=dword:00000000 diff --git a/Regfiles/Disable_Search_Highlights.reg b/Regfiles/Disable_Search_Highlights.reg new file mode 100644 index 0000000..9c649e4 --- /dev/null +++ b/Regfiles/Disable_Search_Highlights.reg @@ -0,0 +1,5 @@ +Windows Registry Editor Version 5.00 + +; Disable Search Highlights (dynamic/branded content in Windows search box) +[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\SearchSettings] +"IsDynamicSearchBoxEnabled"=dword:00000000 diff --git a/Regfiles/Sysprep/Disable_Find_My_Device.reg b/Regfiles/Sysprep/Disable_Find_My_Device.reg new file mode 100644 index 0000000..6f0bfe3 --- /dev/null +++ b/Regfiles/Sysprep/Disable_Find_My_Device.reg @@ -0,0 +1,5 @@ +Windows Registry Editor Version 5.00 + +; Disable Find My Device location tracking +[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\FindMyDevice] +"AllowFindMyDevice"=dword:00000000 diff --git a/Regfiles/Sysprep/Disable_Search_Highlights.reg b/Regfiles/Sysprep/Disable_Search_Highlights.reg new file mode 100644 index 0000000..8f62fc9 --- /dev/null +++ b/Regfiles/Sysprep/Disable_Search_Highlights.reg @@ -0,0 +1,5 @@ +Windows Registry Editor Version 5.00 + +; Disable Search Highlights (dynamic/branded content in Windows search box) +[hkey_users\default\Software\Microsoft\Windows\CurrentVersion\SearchSettings] +"IsDynamicSearchBoxEnabled"=dword:00000000 diff --git a/Regfiles/Undo/Enable_Find_My_Device.reg b/Regfiles/Undo/Enable_Find_My_Device.reg new file mode 100644 index 0000000..4b8ce45 --- /dev/null +++ b/Regfiles/Undo/Enable_Find_My_Device.reg @@ -0,0 +1,5 @@ +Windows Registry Editor Version 5.00 + +; Restore Find My Device to Windows default +[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\FindMyDevice] +"AllowFindMyDevice"=- diff --git a/Regfiles/Undo/Enable_Search_Highlights.reg b/Regfiles/Undo/Enable_Search_Highlights.reg new file mode 100644 index 0000000..80f4683 --- /dev/null +++ b/Regfiles/Undo/Enable_Search_Highlights.reg @@ -0,0 +1,5 @@ +Windows Registry Editor Version 5.00 + +; Re-enable Search Highlights (dynamic/branded content in Windows search box) +[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\SearchSettings] +"IsDynamicSearchBoxEnabled"=dword:00000001 diff --git a/Scripts/Get.ps1 b/Scripts/Get.ps1 index b9cfcf8..9322670 100644 --- a/Scripts/Get.ps1 +++ b/Scripts/Get.ps1 @@ -37,6 +37,7 @@ param ( [switch]$DisableLockscreenTips, [switch]$DisableSuggestions, [switch]$DisableLocationServices, + [switch]$DisableFindMyDevice, [switch]$DisableEdgeAds, [switch]$DisableBraveBloat, [switch]$DisableSettings365Ads, @@ -61,6 +62,7 @@ param ( [switch]$DisablePaintAI, [switch]$DisableNotepadAI, [switch]$DisableEdgeAI, + [switch]$DisableSearchHighlights, [switch]$DisableWidgets, [switch]$HideChat, [switch]$EnableEndTask, diff --git a/Win11Debloat.ps1 b/Win11Debloat.ps1 old mode 100755 new mode 100644 index ec6bb73..a34a9b5 --- a/Win11Debloat.ps1 +++ b/Win11Debloat.ps1 @@ -35,10 +35,12 @@ param ( [switch]$PreventUpdateAutoReboot, [switch]$DisableDeliveryOptimization, [switch]$DisableBing, + [switch]$DisableSearchHighlights, [switch]$DisableDesktopSpotlight, [switch]$DisableLockscreenTips, [switch]$DisableSuggestions, [switch]$DisableLocationServices, + [switch]$DisableFindMyDevice, [switch]$DisableEdgeAds, [switch]$DisableBraveBloat, [switch]$DisableSettings365Ads,