mirror of
https://github.com/Raphire/Win11Debloat.git
synced 2025-11-17 02:56:17 +00:00
Added option to disable Windows Spotlight desktop background feature #141
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user