From b0fed2afaff9f0bce0f3e7bca9fb2777b2731987 Mon Sep 17 00:00:00 2001 From: Raphire <9938813+Raphire@users.noreply.github.com> Date: Fri, 12 Sep 2025 22:23:24 +0200 Subject: [PATCH] Only include Recall in defaults for Windows 11 --- Assets/Menus/Info | 4 ++-- README.md | 4 ++-- Win11Debloat.ps1 | 16 +++++++++++----- 3 files changed, 15 insertions(+), 9 deletions(-) diff --git a/Assets/Menus/Info b/Assets/Menus/Info index 079af92..58d1486 100644 --- a/Assets/Menus/Info +++ b/Assets/Menus/Info @@ -17,7 +17,7 @@ Telemetry, Tracking & Suggested Content Bing Web Search, Copilot & AI Features - Disable & remove Bing web search, Bing AI and Cortana from Windows search. -- Disable & remove Microsoft Copilot. (W11 only) +- Disable & remove Microsoft Copilot. - Disable Windows Recall snapshots. (W11 only) - Disable AI Features in Paint (W11 only) - Disable AI Features in Notepad (W11 only) @@ -68,7 +68,7 @@ The default mode applies the changes that are recommended for most users. This i - Disable ads, suggestions and the MSN news feed in Microsoft Edge. - Disable tips & tricks on the lockscreen. (This may change your lockscreen wallpaper) - Disable & remove Bing web search, Bing AI and Cortana from Windows search. -- Disable & remove Microsoft Copilot. (W11 only) +- Disable & remove Microsoft Copilot. - Disable Windows Recall snapshots. (W11 only) - Disable Fast Start-up to ensure a full shutdown. - Disable network connectivity during Modern Standby to reduce battery drain. (W11 only) diff --git a/README.md b/README.md index c4373ae..cbf1d90 100644 --- a/README.md +++ b/README.md @@ -108,7 +108,7 @@ Below is an overview of the key features and functionality offered by Win11Deblo #### Bing Web Search, Copilot & AI Features - Disable & remove Bing web search, Bing AI and Cortana from Windows search. -- Disable & remove Microsoft Copilot. (W11 only) +- Disable & remove Microsoft Copilot. - Disable Windows Recall snapshots. (W11 only) - Disable AI Features in Edge (W11 only) - Disable AI Features in Paint (W11 only) @@ -169,7 +169,7 @@ Win11Debloat offers a default mode that allows you to quickly and easily apply t - Disable tips, tricks, suggestions and ads in start, settings, notifications, File Explorer, and on the lockscreen. - Disable ads, suggestions and the MSN news feed in Microsoft Edge. - Disable & remove Bing web search, Bing AI and Cortana from Windows search. -- Disable & remove Microsoft Copilot. (W11 only) +- Disable & remove Microsoft Copilot. - Disable Windows Recall snapshots. (W11 only) - Disable Fast Start-up to ensure a full shutdown. - Disable network connectivity during Modern Standby to reduce battery drain. (W11 only) diff --git a/Win11Debloat.ps1 b/Win11Debloat.ps1 index 6e3a8a0..693950e 100644 --- a/Win11Debloat.ps1 +++ b/Win11Debloat.ps1 @@ -1487,7 +1487,7 @@ if ((-not $script:Params.Count) -or $RunDefaults -or $RunWin11Defaults -or $RunS Read-Host | Out-Null } - $DefaultParameterNames = 'CreateRestorePoint','RemoveApps','DisableTelemetry','DisableBing','DisableLockscreenTips','DisableSuggestions','DisableEdgeAds','ShowKnownFileExt','DisableWidgets','HideChat','DisableCopilot','DisableRecall','DisableFastStartup' + $DefaultParameterNames = 'CreateRestorePoint','RemoveApps','DisableTelemetry','DisableBing','DisableLockscreenTips','DisableSuggestions','DisableEdgeAds','ShowKnownFileExt','DisableWidgets','HideChat','DisableCopilot','DisableFastStartup' PrintHeader 'Default Mode' @@ -1503,10 +1503,16 @@ if ((-not $script:Params.Count) -or $RunDefaults -or $RunWin11Defaults -or $RunS $script:Params.Add('Hide3dObjects', $Hide3dObjects) } - # Only add this option for Windows 11 users (build 22000+), if it doesn't already exist - if (($WinVersion -ge 22000) -and $script:ModernStandbySupported -and (-not $script:Params.ContainsKey('DisableModernStandbyNetworking'))) { - $script:Params.Add('DisableModernStandbyNetworking', $true) - } + # Only add these options for Windows 11 users (build 22000+), if it doesn't already exist + if ($WinVersion -ge 22000) { + if ($script:ModernStandbySupported -and (-not $script:Params.ContainsKey('DisableModernStandbyNetworking'))) { + $script:Params.Add('DisableModernStandbyNetworking', $true) + } + + if (-not $script:Params.ContainsKey('DisableRecall')) { + $script:Params.Add('DisableRecall', $true) + } + } } # Custom mode, show & add options based on user input