Added option to disable Windows Spotlight desktop background feature #141

This commit is contained in:
Raphire
2024-12-26 19:06:49 +01:00
parent e3b4ea24da
commit 8a27bc9a05
6 changed files with 9 additions and 0 deletions

View File

@@ -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,

View File

@@ -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. |
| <pre>-DisableLockscreenTips</pre> | 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. |

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -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