diff --git a/Config/Features.json b/Config/Features.json index 17ed6de..5fcfc82 100644 --- a/Config/Features.json +++ b/Config/Features.json @@ -63,6 +63,33 @@ } ], "UiGroups": [ + { + "GroupId": "DesktopSpotlight", + "Label": "Windows Spotlight on the desktop", + "ToolTip": "Choose whether to keep Windows Spotlight wallpaper and the 'Learn about this picture' icon, hide only the icon, or turn Spotlight off entirely. Hiding the icon keeps the rotating wallpaper.", + "Category": "Privacy & Suggested Content", + "Priority": 7, + "Values": [ + { + "Label": "Enable + show icon (Default)", + "FeatureIds": [ + "EnableDesktopSpotlight" + ] + }, + { + "Label": "Hide 'Learn about this picture' icon", + "FeatureIds": [ + "HideDesktopSpotlightIcon" + ] + }, + { + "Label": "Disable Windows Spotlight", + "FeatureIds": [ + "DisableDesktopSpotlight" + ] + } + ] + }, { "GroupId": "SearchIcon", "Label": "Taskbar search style", @@ -392,6 +419,7 @@ "Label": "Disable telemetry, tracking & targeted ads", "ToolTip": "This setting disables telemetry, diagnostic data collection, activity history, app-launch tracking, targeted ads and more. It limits the data that is sent to Microsoft about your device and usage. If you are a Windows Insider, updates may be blocked until optional diagnostic data collection is turned back on.", "Category": "Privacy & Suggested Content", + "Priority": 1, "RegistryKey": "Disable_Telemetry.reg", "ApplyText": "Disabling telemetry and diagnostic data collection", "UndoLabel": "Enable telemetry, tracking & targeted ads", @@ -405,6 +433,7 @@ "Label": "Disable tips, tricks & suggested content throughout Windows", "ToolTip": "This setting removes many annoying distractions from Windows. This includes things like notifications, reminders and sync provider ads. It also prevents automated installation of suggested apps.", "Category": "Privacy & Suggested Content", + "Priority": 2, "RegistryKey": "Disable_Windows_Suggestions.reg", "ApplyText": "Disabling tips, tricks, suggestions and ads throughout Windows", "UndoLabel": "Enable tips, tricks & suggested content throughout Windows", @@ -418,6 +447,7 @@ "Label": "Disable Windows Notifications (From apps and other senders)", "ToolTip": "Disables native Windows notifications from apps and other senders, this includes notifications from apps like Discord, WhatsApp, Teams, and Slack.", "Category": "Privacy & Suggested Content", + "Priority": 3, "RegistryKey": "Disable_Notifications.reg", "ApplyText": "Disabling Windows notifications and reminders", "UndoLabel": "Enable Windows notifications and reminders", @@ -431,6 +461,7 @@ "Label": "Disable Windows location services & app location access", "ToolTip": "This will turn off Windows Location Services and deny apps access to your location. This feature uses policies, which will lock down certain settings.", "Category": "Privacy & Suggested Content", + "Priority": 4, "RegistryKey": "Disable_Location_Services.reg", "ApplyText": "Disabling Windows location services and app location access", "UndoLabel": "Enable Windows location services & app location access", @@ -444,6 +475,7 @@ "Label": "Disable 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", + "Priority": 5, "RegistryKey": "Disable_Find_My_Device.reg", "ApplyText": "Disabling Find My Device location tracking", "UndoLabel": "Enable Find My Device location tracking", @@ -457,6 +489,7 @@ "Label": "Disable tips & tricks on the lock screen", "ToolTip": "This will turn off the lockscreen spotlight option and disable the tips, tricks and fun facts that appear on the lock screen.", "Category": "Privacy & Suggested Content", + "Priority": 6, "RegistryKey": "Disable_Lockscreen_Tips.reg", "ApplyText": "Disabling tips & tricks on the lock screen", "UndoLabel": "Enable tips & tricks on the lock screen", @@ -465,6 +498,19 @@ "MinVersion": null, "MaxVersion": null }, + { + "FeatureId": "EnableDesktopSpotlight", + "Label": "Enable Windows Spotlight on the desktop and show the Spotlight icon", + "ToolTip": "Restores Windows Spotlight wallpaper rotation and shows the 'Learn about this picture' desktop icon. This is the Windows default.", + "Category": "Privacy & Suggested Content", + "RegistryKey": "Enable_Desktop_Spotlight.reg", + "ApplyText": "Enabling Windows Spotlight on the desktop and showing the Spotlight icon", + "UndoLabel": null, + "ApplyUndoText": null, + "RegistryUndoKey": null, + "MinVersion": null, + "MaxVersion": null + }, { "FeatureId": "DisableDesktopSpotlight", "Label": "Disable Windows Spotlight for desktop", @@ -478,6 +524,19 @@ "MinVersion": null, "MaxVersion": null }, + { + "FeatureId": "HideDesktopSpotlightIcon", + "Label": "Hide the 'Learn about this picture' desktop Spotlight icon", + "ToolTip": "This hides the 'Learn about this picture' desktop icon while keeping Windows Spotlight wallpaper rotation. It does not disable Spotlight itself.", + "Category": "Privacy & Suggested Content", + "RegistryKey": "Hide_Desktop_Spotlight_Icon.reg", + "ApplyText": "Hiding the desktop Spotlight 'Learn about this picture' icon", + "UndoLabel": "Show the 'Learn about this picture' desktop Spotlight icon", + "ApplyUndoText": "Showing the desktop Spotlight 'Learn about this picture' icon", + "RegistryUndoKey": "Show_Desktop_Spotlight_Icon.reg", + "MinVersion": null, + "MaxVersion": null + }, { "FeatureId": "DisableEdgeAds", "Label": "Disable ads, suggestions and newsfeed in Edge", diff --git a/README.md b/README.md index b3b37eb..acc87fc 100755 --- a/README.md +++ b/README.md @@ -87,6 +87,7 @@ Below is an overview of the key features and functionality offered by Win11Deblo - Disable telemetry, diagnostic data, activity history, app-launch tracking & targeted ads. - Disable tips, tricks, suggestions & ads across Windows, the lock screen and Microsoft Edge. +- Hide the desktop Spotlight 'Learn about this picture' icon while keeping Spotlight wallpaper rotation, or disable Windows Spotlight entirely. - Disable Windows location services, app location access and Find My Device location tracking. - Hide Microsoft 365 ads on the Settings 'Home' page, or hide the 'Home' page entirely. diff --git a/Regfiles/Disable_Desktop_Spotlight.reg b/Regfiles/Disable_Desktop_Spotlight.reg index 5317376..b685d36 100644 Binary files a/Regfiles/Disable_Desktop_Spotlight.reg and b/Regfiles/Disable_Desktop_Spotlight.reg differ diff --git a/Regfiles/Enable_Desktop_Spotlight.reg b/Regfiles/Enable_Desktop_Spotlight.reg new file mode 100644 index 0000000..48cf571 --- /dev/null +++ b/Regfiles/Enable_Desktop_Spotlight.reg @@ -0,0 +1,7 @@ +Windows Registry Editor Version 5.00 + +[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\CloudContent] +"DisableSpotlightCollectionOnDesktop"=- + +[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel] +"{2cc5ca98-6485-489a-920e-b3e88a6ccce3}"=- diff --git a/Regfiles/Hide_Desktop_Spotlight_Icon.reg b/Regfiles/Hide_Desktop_Spotlight_Icon.reg new file mode 100644 index 0000000..9004895 --- /dev/null +++ b/Regfiles/Hide_Desktop_Spotlight_Icon.reg @@ -0,0 +1,7 @@ +Windows Registry Editor Version 5.00 + +[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\CloudContent] +"DisableSpotlightCollectionOnDesktop"=- + +[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel] +"{2cc5ca98-6485-489a-920e-b3e88a6ccce3}"=dword:00000001 diff --git a/Regfiles/Sysprep/Disable_Desktop_Spotlight.reg b/Regfiles/Sysprep/Disable_Desktop_Spotlight.reg index 74acb11..d4b1639 100644 Binary files a/Regfiles/Sysprep/Disable_Desktop_Spotlight.reg and b/Regfiles/Sysprep/Disable_Desktop_Spotlight.reg differ diff --git a/Regfiles/Sysprep/Enable_Desktop_Spotlight.reg b/Regfiles/Sysprep/Enable_Desktop_Spotlight.reg new file mode 100644 index 0000000..22f0cc2 --- /dev/null +++ b/Regfiles/Sysprep/Enable_Desktop_Spotlight.reg @@ -0,0 +1,7 @@ +Windows Registry Editor Version 5.00 + +[hkey_users\default\Software\Policies\Microsoft\Windows\CloudContent] +"DisableSpotlightCollectionOnDesktop"=- + +[hkey_users\default\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel] +"{2cc5ca98-6485-489a-920e-b3e88a6ccce3}"=- diff --git a/Regfiles/Sysprep/Hide_Desktop_Spotlight_Icon.reg b/Regfiles/Sysprep/Hide_Desktop_Spotlight_Icon.reg new file mode 100644 index 0000000..12daaea --- /dev/null +++ b/Regfiles/Sysprep/Hide_Desktop_Spotlight_Icon.reg @@ -0,0 +1,7 @@ +Windows Registry Editor Version 5.00 + +[hkey_users\default\Software\Policies\Microsoft\Windows\CloudContent] +"DisableSpotlightCollectionOnDesktop"=- + +[hkey_users\default\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel] +"{2cc5ca98-6485-489a-920e-b3e88a6ccce3}"=dword:00000001 diff --git a/Regfiles/Sysprep/Undo/Enable_Desktop_Spotlight.reg b/Regfiles/Sysprep/Undo/Enable_Desktop_Spotlight.reg new file mode 100644 index 0000000..22f0cc2 --- /dev/null +++ b/Regfiles/Sysprep/Undo/Enable_Desktop_Spotlight.reg @@ -0,0 +1,7 @@ +Windows Registry Editor Version 5.00 + +[hkey_users\default\Software\Policies\Microsoft\Windows\CloudContent] +"DisableSpotlightCollectionOnDesktop"=- + +[hkey_users\default\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel] +"{2cc5ca98-6485-489a-920e-b3e88a6ccce3}"=- diff --git a/Regfiles/Sysprep/Undo/Show_Desktop_Spotlight_Icon.reg b/Regfiles/Sysprep/Undo/Show_Desktop_Spotlight_Icon.reg new file mode 100644 index 0000000..5915e13 --- /dev/null +++ b/Regfiles/Sysprep/Undo/Show_Desktop_Spotlight_Icon.reg @@ -0,0 +1,4 @@ +Windows Registry Editor Version 5.00 + +[hkey_users\default\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel] +"{2cc5ca98-6485-489a-920e-b3e88a6ccce3}"=- diff --git a/Regfiles/Undo/Enable_Desktop_Spotlight.reg b/Regfiles/Undo/Enable_Desktop_Spotlight.reg index da3ed54..48cf571 100644 Binary files a/Regfiles/Undo/Enable_Desktop_Spotlight.reg and b/Regfiles/Undo/Enable_Desktop_Spotlight.reg differ diff --git a/Regfiles/Undo/Show_Desktop_Spotlight_Icon.reg b/Regfiles/Undo/Show_Desktop_Spotlight_Icon.reg new file mode 100644 index 0000000..0d74056 --- /dev/null +++ b/Regfiles/Undo/Show_Desktop_Spotlight_Icon.reg @@ -0,0 +1,4 @@ +Windows Registry Editor Version 5.00 + +[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel] +"{2cc5ca98-6485-489a-920e-b3e88a6ccce3}"=- diff --git a/Scripts/Get.ps1 b/Scripts/Get.ps1 index b313f31..7d6a00a 100644 --- a/Scripts/Get.ps1 +++ b/Scripts/Get.ps1 @@ -39,6 +39,8 @@ param ( [switch]$DisableBing, [switch]$DisableStoreSearchSuggestions, [switch]$DisableDesktopSpotlight, + [switch]$HideDesktopSpotlightIcon, + [switch]$EnableDesktopSpotlight, [switch]$DisableLockscreenTips, [switch]$DisableSuggestions, [switch]$DisableLocationServices, diff --git a/Win11Debloat.ps1 b/Win11Debloat.ps1 index 908f60b..0c13017 100644 --- a/Win11Debloat.ps1 +++ b/Win11Debloat.ps1 @@ -38,6 +38,8 @@ param ( [switch]$DisableStoreSearchSuggestions, [switch]$DisableSearchHighlights, [switch]$DisableDesktopSpotlight, + [switch]$HideDesktopSpotlightIcon, + [switch]$EnableDesktopSpotlight, [switch]$DisableLockscreenTips, [switch]$DisableSuggestions, [switch]$DisableLocationServices,