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:
1
Get.ps1
1
Get.ps1
@@ -14,6 +14,7 @@ param (
|
|||||||
[switch]$DisableDVR,
|
[switch]$DisableDVR,
|
||||||
[switch]$DisableTelemetry,
|
[switch]$DisableTelemetry,
|
||||||
[switch]$DisableBingSearches, [switch]$DisableBing,
|
[switch]$DisableBingSearches, [switch]$DisableBing,
|
||||||
|
[switch]$DisableDesktopSpotlight,
|
||||||
[switch]$DisableLockscrTips, [switch]$DisableLockscreenTips,
|
[switch]$DisableLockscrTips, [switch]$DisableLockscreenTips,
|
||||||
[switch]$DisableWindowsSuggestions, [switch]$DisableSuggestions,
|
[switch]$DisableWindowsSuggestions, [switch]$DisableSuggestions,
|
||||||
[switch]$ShowHiddenFolders,
|
[switch]$ShowHiddenFolders,
|
||||||
|
|||||||
@@ -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 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 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
|
#### 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. |
|
| -DisableTelemetry | Disable telemetry, diagnostic data & targeted ads. |
|
||||||
| -DisableBing | Disable & remove Bing web search, Bing AI & Cortana in Windows search. |
|
| -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. |
|
| -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. |
|
| <pre>-DisableLockscreenTips</pre> | Disable tips & tricks on the lockscreen. |
|
||||||
| -RevertContextMenu | Restore the old Windows 10 style context menu. (Windows 11 only) |
|
| -RevertContextMenu | Restore the old Windows 10 style context menu. (Windows 11 only) |
|
||||||
| -ShowHiddenFolders | Show hidden files, folders and drives. |
|
| -ShowHiddenFolders | Show hidden files, folders and drives. |
|
||||||
|
|||||||
BIN
Regfiles/Disable_Desktop_Spotlight.reg
Normal file
BIN
Regfiles/Disable_Desktop_Spotlight.reg
Normal file
Binary file not shown.
BIN
Regfiles/Sysprep/Disable_Desktop_Spotlight.reg
Normal file
BIN
Regfiles/Sysprep/Disable_Desktop_Spotlight.reg
Normal file
Binary file not shown.
BIN
Regfiles/Undo/Enable_Desktop_Spotlight.reg
Normal file
BIN
Regfiles/Undo/Enable_Desktop_Spotlight.reg
Normal file
Binary file not shown.
@@ -16,6 +16,7 @@ param (
|
|||||||
[switch]$DisableDVR,
|
[switch]$DisableDVR,
|
||||||
[switch]$DisableTelemetry,
|
[switch]$DisableTelemetry,
|
||||||
[switch]$DisableBingSearches, [switch]$DisableBing,
|
[switch]$DisableBingSearches, [switch]$DisableBing,
|
||||||
|
[switch]$DisableDesktopSpotlight,
|
||||||
[switch]$DisableLockscrTips, [switch]$DisableLockscreenTips,
|
[switch]$DisableLockscrTips, [switch]$DisableLockscreenTips,
|
||||||
[switch]$DisableWindowsSuggestions, [switch]$DisableSuggestions,
|
[switch]$DisableWindowsSuggestions, [switch]$DisableSuggestions,
|
||||||
[switch]$ShowHiddenFolders,
|
[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') {
|
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 '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'
|
AddParameter 'DisableLockscreenTips' 'Disable tips & tricks on the lockscreen'
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1353,6 +1355,10 @@ else {
|
|||||||
RemoveApps $appsList
|
RemoveApps $appsList
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
'DisableDesktopSpotlight' {
|
||||||
|
RegImport "> Disabling the 'Windows Spotlight' desktop background option..." "Disable_Desktop_Spotlight.reg"
|
||||||
|
continue
|
||||||
|
}
|
||||||
{$_ -in "DisableLockscrTips", "DisableLockscreenTips"} {
|
{$_ -in "DisableLockscrTips", "DisableLockscreenTips"} {
|
||||||
RegImport "> Disabling tips & tricks on the lockscreen..." "Disable_Lockscreen_Tips.reg"
|
RegImport "> Disabling tips & tricks on the lockscreen..." "Disable_Lockscreen_Tips.reg"
|
||||||
continue
|
continue
|
||||||
|
|||||||
Reference in New Issue
Block a user