diff --git a/Get.ps1 b/Get.ps1 index 5bdcc36..bac9b15 100644 --- a/Get.ps1 +++ b/Get.ps1 @@ -14,6 +14,7 @@ param ( [switch]$DisableDVR, [switch]$DisableTelemetry, [switch]$DisableBingSearches, [switch]$DisableBing, + [switch]$DisableDesktopSpotlight, [switch]$DisableLockscrTips, [switch]$DisableLockscreenTips, [switch]$DisableWindowsSuggestions, [switch]$DisableSuggestions, [switch]$ShowHiddenFolders, diff --git a/README.md b/README.md index 226025f..d4c03dd 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,7 @@ The script also includes many features that system administrators will enjoy. Su - Disable telemetry, diagnostic data, activity history, app-launch tracking & targeted ads. - Disable tips, tricks, suggestions and ads in start, settings, notifications, File Explorer, and on the lockscreen. +- Disable the 'Windows Spotlight' desktop background option. #### Bing Web Search, Copilot & More @@ -311,6 +312,7 @@ The quick and advanced usage methods support switch parameters. A table of all t | -DisableTelemetry | Disable telemetry, diagnostic data & targeted ads. | | -DisableBing | Disable & remove Bing web search, Bing AI & Cortana in Windows search. | | -DisableSuggestions | Disable tips, tricks, suggestions and ads in start, settings, notifications and File Explorer. | +| -DisableDesktopSpotlight | Disable the 'Windows Spotlight' desktop background option. | |
-DisableLockscreenTips| Disable tips & tricks on the lockscreen. | | -RevertContextMenu | Restore the old Windows 10 style context menu. (Windows 11 only) | | -ShowHiddenFolders | Show hidden files, folders and drives. | diff --git a/Regfiles/Disable_Desktop_Spotlight.reg b/Regfiles/Disable_Desktop_Spotlight.reg new file mode 100644 index 0000000..9e1fa64 Binary files /dev/null and b/Regfiles/Disable_Desktop_Spotlight.reg differ diff --git a/Regfiles/Sysprep/Disable_Desktop_Spotlight.reg b/Regfiles/Sysprep/Disable_Desktop_Spotlight.reg new file mode 100644 index 0000000..90a77ee Binary files /dev/null and b/Regfiles/Sysprep/Disable_Desktop_Spotlight.reg differ diff --git a/Regfiles/Undo/Enable_Desktop_Spotlight.reg b/Regfiles/Undo/Enable_Desktop_Spotlight.reg new file mode 100644 index 0000000..d53240a Binary files /dev/null and b/Regfiles/Undo/Enable_Desktop_Spotlight.reg differ diff --git a/Win11Debloat.ps1 b/Win11Debloat.ps1 index 1e99566..99f41b8 100644 --- a/Win11Debloat.ps1 +++ b/Win11Debloat.ps1 @@ -16,6 +16,7 @@ param ( [switch]$DisableDVR, [switch]$DisableTelemetry, [switch]$DisableBingSearches, [switch]$DisableBing, + [switch]$DisableDesktopSpotlight, [switch]$DisableLockscrTips, [switch]$DisableLockscreenTips, [switch]$DisableWindowsSuggestions, [switch]$DisableSuggestions, [switch]$ShowHiddenFolders, @@ -971,6 +972,7 @@ if ((-not $global:Params.Count) -or $RunDefaults -or $RunWin11Defaults -or ($SPP if ($( Read-Host -Prompt "Disable tips, tricks, suggestions and ads in start, settings, notifications, explorer and lockscreen? (y/n)" ) -eq 'y') { AddParameter 'DisableSuggestions' 'Disable tips, tricks, suggestions and ads in start, settings, notifications and File Explorer' + AddParameter 'DisableDesktopSpotlight' 'Disable the Windows Spotlight desktop background option.' AddParameter 'DisableLockscreenTips' 'Disable tips & tricks on the lockscreen' } @@ -1353,6 +1355,10 @@ else { RemoveApps $appsList continue } + 'DisableDesktopSpotlight' { + RegImport "> Disabling the 'Windows Spotlight' desktop background option..." "Disable_Desktop_Spotlight.reg" + continue + } {$_ -in "DisableLockscrTips", "DisableLockscreenTips"} { RegImport "> Disabling tips & tricks on the lockscreen..." "Disable_Lockscreen_Tips.reg" continue