Default Mode Improvements

- Added Click to Do to default
- Default mode now shows a list of apps that are slated to be removed
- Default mode changes summary now only shows the changes it will actually apply
This commit is contained in:
Raphire
2025-09-27 14:19:41 +02:00
parent 58d47c77cc
commit 7c9e25d891
4 changed files with 74 additions and 71 deletions

View File

@@ -1,15 +1,11 @@
- Disable telemetry, diagnostic data, app-launch tracking & targeted ads. - Disable & remove Microsoft Copilot
- Disable tips, tricks, suggestions and ads in start, settings, notifications and more. - Disable telemetry, diagnostic data, activity history, app-launch tracking & targeted ads
- Disable ads, suggestions and the MSN news feed in Microsoft Edge. - Disable tips, tricks, suggestions and ads in start, settings, notifications and File Explorer
- Disable tips & tricks on the lockscreen. (This may change your lockscreen wallpaper) - Disable ads, suggestions and the MSN news feed in Microsoft Edge
- Disable & remove Bing web search, Bing AI and Cortana from Windows search. - Disable tips & tricks on the lockscreen (This may change your lockscreen wallpaper)
- Disable & remove Microsoft Copilot. - Disable & remove Bing web search, Bing AI and Cortana from Windows search
- Disable Windows Recall snapshots. (W11 only) - Show file extensions for known file types
- Disable Fast Start-up to ensure a full shutdown. - Disable widgets on the taskbar & lockscreen
- Disable network connectivity during Modern Standby to reduce battery drain. (W11 only) - Disable Fast Start-up
- Show file extensions for known file types.
- Hide the 3D objects folder in Windows Explorer. (W10 only)
- Disable widgets on the taskbar & lockscreen.
- Hide the Chat (meet now) icon from the taskbar.

View File

@@ -18,8 +18,8 @@ Telemetry, Tracking & Suggested Content
Bing Web Search, Copilot & AI Features Bing Web Search, Copilot & AI Features
- Disable & remove Bing web search, Bing AI and Cortana from Windows search. - Disable & remove Bing web search, Bing AI and Cortana from Windows search.
- Disable & remove Microsoft Copilot. - Disable & remove Microsoft Copilot.
- Disable Windows Recall snapshots. (W11 only) - Disable Windows Recall. (W11 only)
- Disable Click to Do AI text & image analysis. (W11 only) - Disable Click to Do, AI text & image analysis tool. (W11 only)
- Disable AI Features in Edge. (W11 only) - Disable AI Features in Edge. (W11 only)
- Disable AI Features in Paint. (W11 only) - Disable AI Features in Paint. (W11 only)
- Disable AI Features in Notepad. (W11 only) - Disable AI Features in Notepad. (W11 only)
@@ -45,7 +45,7 @@ Taskbar
- Hide or change the search icon/box on the taskbar. (W11 only) - Hide or change the search icon/box on the taskbar. (W11 only)
- Hide the taskview button from the taskbar. (W11 only) - Hide the taskview button from the taskbar. (W11 only)
- Disable widgets on the taskbar & lockscreen. - Disable widgets on the taskbar & lockscreen.
- Hide the chat (meet now) icon from the taskbar. - Hide the chat (meet now) icon from the taskbar. (W10 only)
- Enable the 'End Task' option in the taskbar right click menu. (W11 only) - Enable the 'End Task' option in the taskbar right click menu. (W11 only)
- Enable the 'Last Active Click' behavior in the taskbar app area. - Enable the 'Last Active Click' behavior in the taskbar app area.
@@ -71,12 +71,13 @@ The default mode applies the changes that are recommended for most users. This i
- Disable tips & tricks on the lockscreen. (This may change your lockscreen wallpaper) - 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 Bing web search, Bing AI and Cortana from Windows search.
- Disable & remove Microsoft Copilot. - Disable & remove Microsoft Copilot.
- Disable Windows Recall snapshots. (W11 only) - Disable Windows Recall. (W11 only)
- Disable Click to Do, AI text & image analysis tool. (W11 only)
- Disable Fast Start-up to ensure a full shutdown. - Disable Fast Start-up to ensure a full shutdown.
- Disable network connectivity during Modern Standby to reduce battery drain. (W11 only) - Disable network connectivity during Modern Standby to reduce battery drain. (W11 only)
- Show file extensions for known file types. - Show file extensions for known file types.
- Hide the 3D objects folder in Windows Explorer. (W10 only) - Hide the 3D objects folder in Windows Explorer. (W10 only)
- Disable widgets on the taskbar & lockscreen. - Disable widgets on the taskbar & lockscreen.
- Hide the Chat (meet now) icon from the taskbar. - Hide the Chat (meet now) icon from the taskbar. (W10 only)

View File

@@ -109,8 +109,8 @@ Below is an overview of the key features and functionality offered by Win11Deblo
- Disable & remove Bing web search, Bing AI and Cortana from Windows search. - Disable & remove Bing web search, Bing AI and Cortana from Windows search.
- Disable & remove Microsoft Copilot. - Disable & remove Microsoft Copilot.
- Disable Windows Recall snapshots. (W11 only) - Disable Windows Recall. (W11 only)
- Disable Click to Do AI text & image analysis. (W11 only) - Disable Click to Do, AI text & image analysis tool. (W11 only)
- Disable AI Features in Edge. (W11 only) - Disable AI Features in Edge. (W11 only)
- Disable AI Features in Paint. (W11 only) - Disable AI Features in Paint. (W11 only)
- Disable AI Features in Notepad. (W11 only) - Disable AI Features in Notepad. (W11 only)
@@ -139,7 +139,7 @@ Below is an overview of the key features and functionality offered by Win11Deblo
- Hide or change the search icon/box on the taskbar. (W11 only) - Hide or change the search icon/box on the taskbar. (W11 only)
- Hide the taskview button from the taskbar. (W11 only) - Hide the taskview button from the taskbar. (W11 only)
- Disable widgets on the taskbar & lockscreen. - Disable widgets on the taskbar & lockscreen.
- Hide the chat (meet now) icon from the taskbar. - Hide the chat (meet now) icon from the taskbar. (W10 only)
- Enable the 'End Task' option in the taskbar right click menu. (W11 only) - Enable the 'End Task' option in the taskbar right click menu. (W11 only)
- Enable the 'Last Active Click' behavior in the taskbar app area. This allows you to repeatedly click on an application's icon in the taskbar to switch focus between the open windows of that application. - Enable the 'Last Active Click' behavior in the taskbar app area. This allows you to repeatedly click on an application's icon in the taskbar to switch focus between the open windows of that application.
@@ -172,13 +172,14 @@ Alternatively, you can launch the script with the `-RunDefaults` or `-RunDefault
- Disable ads, suggestions and the MSN news feed in Microsoft Edge. - 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 Bing web search, Bing AI and Cortana from Windows search.
- Disable & remove Microsoft Copilot. - Disable & remove Microsoft Copilot.
- Disable Windows Recall snapshots. (W11 only) - Disable Windows Recall. (W11 only)
- Disable Click to Do, AI text & image analysis tool. (W11 only)
- Disable Fast Start-up to ensure a full shutdown. - Disable Fast Start-up to ensure a full shutdown.
- Disable network connectivity during Modern Standby to reduce battery drain. (W11 only) - Disable network connectivity during Modern Standby to reduce battery drain. (W11 only)
- Show file extensions for known file types. - Show file extensions for known file types.
- Hide the 3D objects folder under 'This pc' from File Explorer. (W10 only) - Hide the 3D objects folder under 'This pc' from File Explorer. (W10 only)
- Disable widgets on the taskbar & lockscreen. - Disable widgets on the taskbar & lockscreen.
- Hide the Chat (meet now) icon from the taskbar. - Hide the Chat (meet now) icon from the taskbar. (W10 only)
#### Apps that ARE removed by default #### Apps that ARE removed by default

View File

@@ -752,7 +752,8 @@ function ReplaceStartMenu {
function AddParameter { function AddParameter {
param ( param (
$parameterName, $parameterName,
$message $message,
$addToFile = $true
) )
# Add key if it doesn't already exist # Add key if it doesn't already exist
@@ -760,6 +761,11 @@ function AddParameter {
$script:Params.Add($parameterName, $true) $script:Params.Add($parameterName, $true)
} }
if (-not $addToFile) {
Write-Output "- $message"
return
}
# Create or clear file that stores last used settings # Create or clear file that stores last used settings
if (-not (Test-Path "$PSScriptRoot/SavedSettings")) { if (-not (Test-Path "$PSScriptRoot/SavedSettings")) {
$null = New-Item "$PSScriptRoot/SavedSettings" $null = New-Item "$PSScriptRoot/SavedSettings"
@@ -817,6 +823,20 @@ function PrintFromFile {
} }
function PrintAppsList {
param (
$path
)
if (-not (Test-Path $path)) {
return
}
$appsList = ReadAppslistFromFile $path
Write-Host $appsList -ForegroundColor DarkGray
}
function AwaitKeyToExit { function AwaitKeyToExit {
# Suppress prompt if Silent parameter was passed # Suppress prompt if Silent parameter was passed
if (-not $Silent) { if (-not $Silent) {
@@ -914,8 +934,8 @@ function DisplayCustomModeOptions {
Do { Do {
Write-Host "Options:" -ForegroundColor Yellow Write-Host "Options:" -ForegroundColor Yellow
Write-Host " (n) Don't remove any apps" -ForegroundColor Yellow Write-Host " (n) Don't remove any apps" -ForegroundColor Yellow
Write-Host " (1) Only remove the default selection of bloatware apps from 'Appslist.txt'" -ForegroundColor Yellow Write-Host " (1) Only remove the default selection of apps" -ForegroundColor Yellow
Write-Host " (2) Remove default selection of bloatware apps, as well as mail & calendar apps, developer apps and gaming apps" -ForegroundColor Yellow Write-Host " (2) Remove the default selection of apps, as well as mail & calendar apps, developer apps and gaming apps" -ForegroundColor Yellow
Write-Host " (3) Manually select which apps to remove" -ForegroundColor Yellow Write-Host " (3) Manually select which apps to remove" -ForegroundColor Yellow
$RemoveAppsInput = Read-Host "Do you want to remove any apps? Apps will be removed for all users (n/1/2/3)" $RemoveAppsInput = Read-Host "Do you want to remove any apps? Apps will be removed for all users (n/1/2/3)"
@@ -939,10 +959,10 @@ function DisplayCustomModeOptions {
# Select correct option based on user input # Select correct option based on user input
switch ($RemoveAppsInput) { switch ($RemoveAppsInput) {
'1' { '1' {
AddParameter 'RemoveApps' 'Remove default selection of bloatware apps' AddParameter 'RemoveApps' 'Remove the default selection of apps'
} }
'2' { '2' {
AddParameter 'RemoveApps' 'Remove default selection of bloatware apps' AddParameter 'RemoveApps' 'Remove the default selection of apps'
AddParameter 'RemoveCommApps' 'Remove the Mail, Calendar, and People apps' AddParameter 'RemoveCommApps' 'Remove the Mail, Calendar, and People apps'
AddParameter 'RemoveW11Outlook' 'Remove the new Outlook for Windows app' AddParameter 'RemoveW11Outlook' 'Remove the new Outlook for Windows app'
AddParameter 'RemoveDevApps' 'Remove developer-related apps' AddParameter 'RemoveDevApps' 'Remove developer-related apps'
@@ -1001,12 +1021,12 @@ function DisplayCustomModeOptions {
switch ($DisableAIInput) { switch ($DisableAIInput) {
'1' { '1' {
AddParameter 'DisableCopilot' 'Disable & remove Microsoft Copilot' AddParameter 'DisableCopilot' 'Disable & remove Microsoft Copilot'
AddParameter 'DisableRecall' 'Disable Windows Recall snapshots' AddParameter 'DisableRecall' 'Disable Windows Recall'
AddParameter 'DisableClickToDo' 'Disable Click to Do (AI text & image analysis)' AddParameter 'DisableClickToDo' 'Disable Click to Do (AI text & image analysis)'
} }
'2' { '2' {
AddParameter 'DisableCopilot' 'Disable & remove Microsoft Copilot' AddParameter 'DisableCopilot' 'Disable & remove Microsoft Copilot'
AddParameter 'DisableRecall' 'Disable Windows Recall snapshots' AddParameter 'DisableRecall' 'Disable Windows Recall'
AddParameter 'DisableClickToDo' 'Disable Click to Do (AI text & image analysis)' AddParameter 'DisableClickToDo' 'Disable Click to Do (AI text & image analysis)'
AddParameter 'DisableEdgeAI' 'Disable AI features in Edge' AddParameter 'DisableEdgeAI' 'Disable AI features in Edge'
AddParameter 'DisablePaintAI' 'Disable AI features in Paint' AddParameter 'DisablePaintAI' 'Disable AI features in Paint'
@@ -1478,9 +1498,7 @@ if ((-not $script:Params.Count) -or $RunDefaults -or $RunDefaultsLite -or $RunSa
switch ($Mode) { switch ($Mode) {
# Default mode, loads defaults after confirmation # Default mode, loads defaults after confirmation
'1' { '1' {
if (-not $script:Params.ContainsKey('CreateRestorePoint')) { AddParameter 'CreateRestorePoint' 'Create a system restore point' $false
$script:Params.Add('CreateRestorePoint', $true)
}
# Show the default settings with confirmation, unless Silent parameter was passed # Show the default settings with confirmation, unless Silent parameter was passed
if (-not $Silent) { if (-not $Silent) {
@@ -1491,7 +1509,7 @@ if ((-not $script:Params.Count) -or $RunDefaults -or $RunDefaultsLite -or $RunSa
Do { Do {
Write-Host "Options:" -ForegroundColor Yellow Write-Host "Options:" -ForegroundColor Yellow
Write-Host " (n) Don't remove any apps" -ForegroundColor Yellow Write-Host " (n) Don't remove any apps" -ForegroundColor Yellow
Write-Host " (1) Only remove the default selection of bloatware apps" -ForegroundColor Yellow Write-Host " (1) Only remove the default selection of apps" -ForegroundColor Yellow
Write-Host " (2) Manually select which apps to remove" -ForegroundColor Yellow Write-Host " (2) Manually select which apps to remove" -ForegroundColor Yellow
$RemoveAppsInput = Read-Host "Do you want to remove any apps? Apps will be removed for all users (n/1/2)" $RemoveAppsInput = Read-Host "Do you want to remove any apps? Apps will be removed for all users (n/1/2)"
@@ -1524,28 +1542,38 @@ if ((-not $script:Params.Count) -or $RunDefaults -or $RunDefaultsLite -or $RunSa
# Select correct option based on user input # Select correct option based on user input
switch ($RemoveAppsInput) { switch ($RemoveAppsInput) {
'1' { '1' {
if (-not $script:Params.ContainsKey('RemoveApps')) { AddParameter 'RemoveApps' 'Remove the default selection of apps:' $false
$script:Params.Add('RemoveApps', $true) PrintAppsList "$PSScriptRoot/Appslist.txt"
}
Write-Output "- Remove the default selection of apps."
} }
'2' { '2' {
if (-not $script:Params.ContainsKey('RemoveAppsCustom')) { AddParameter 'RemoveAppsCustom' 'Remove $($script:SelectedApps.Count) apps:' $false
$script:Params.Add('RemoveAppsCustom', $true) PrintAppsList "$PSScriptRoot/CustomAppsList"
}
Write-Output "- Remove your custom selection of $($script:SelectedApps.Count) apps."
} }
} }
# Only add this option for Windows 10 users
if (get-ciminstance -query "select caption from win32_operatingsystem where caption like '%Windows 10%'") {
AddParameter 'Hide3dObjects' "Hide the 3D objects folder under 'This pc' in File Explorer" $false
AddParameter 'HideChat' 'Hide the chat (meet now) icon from the taskbar' $false
}
# Only add these options for Windows 11 users (build 22000+)
if ($WinVersion -ge 22000) {
AddParameter 'DisableRecall' 'Disable Windows Recall' $false
AddParameter 'DisableClickToDo' 'Disable Click to Do (AI text & image analysis)' $false
if ($script:ModernStandbySupported) {
AddParameter 'DisableModernStandbyNetworking' 'Disable network connectivity during Modern Standby' $false
}
}
PrintFromFile "$PSScriptRoot/Assets/Menus/DefaultSettings" "Default Mode" $false PrintFromFile "$PSScriptRoot/Assets/Menus/DefaultSettings" "Default Mode" $false
Write-Output "Press enter to execute the script or press CTRL+C to quit..." Write-Output "Press enter to execute the script or press CTRL+C to quit..."
Read-Host | Out-Null Read-Host | Out-Null
} }
$DefaultParameterNames = 'DisableTelemetry','DisableBing','DisableLockscreenTips','DisableSuggestions','DisableEdgeAds','ShowKnownFileExt','DisableWidgets','HideChat','DisableFastStartup','DisableCopilot' $DefaultParameterNames = 'DisableCopilot','DisableTelemetry','DisableSuggestions','DisableEdgeAds','DisableLockscreenTips','DisableBing','ShowKnownFileExt','DisableWidgets','DisableFastStartup'
PrintHeader 'Default Mode' PrintHeader 'Default Mode'
@@ -1555,22 +1583,6 @@ if ((-not $script:Params.Count) -or $RunDefaults -or $RunDefaultsLite -or $RunSa
$script:Params.Add($ParameterName, $true) $script:Params.Add($ParameterName, $true)
} }
} }
# Only add this option for Windows 10 users, if it doesn't already exist
if ((get-ciminstance -query "select caption from win32_operatingsystem where caption like '%Windows 10%'") -and (-not $script:Params.ContainsKey('Hide3dObjects'))) {
$script:Params.Add('Hide3dObjects', $Hide3dObjects)
}
# Only add these options for Windows 11 users (build 22000+), if it doesn't already exist
if ($WinVersion -ge 22000) {
if (-not $script:Params.ContainsKey('DisableRecall')) {
$script:Params.Add('DisableRecall', $true)
}
if ($script:ModernStandbySupported -and (-not $script:Params.ContainsKey('DisableModernStandbyNetworking'))) {
$script:Params.Add('DisableModernStandbyNetworking', $true)
}
}
} }
# Custom mode, show & add options based on user input # Custom mode, show & add options based on user input
@@ -1619,14 +1631,7 @@ if ((-not $script:Params.Count) -or $RunDefaults -or $RunDefaultsLite -or $RunSa
# Print parameter description and add parameter to Params list # Print parameter description and add parameter to Params list
if ($parameterName -eq "RemoveAppsCustom") { if ($parameterName -eq "RemoveAppsCustom") {
if (-not (Test-Path "$PSScriptRoot/CustomAppsList")) { PrintAppsList "$PSScriptRoot/CustomAppsList"
# Apps file does not exist, skip
continue
}
$appsList = ReadAppslistFromFile "$PSScriptRoot/CustomAppsList"
Write-Output "- Remove $($appsList.Count) apps:"
Write-Host $appsList -ForegroundColor DarkGray
} }
else { else {
Write-Output $line.Substring(($line.IndexOf('#') + 1), ($line.Length - $line.IndexOf('#') - 1)) Write-Output $line.Substring(($line.IndexOf('#') + 1), ($line.Length - $line.IndexOf('#') - 1))
@@ -1768,11 +1773,11 @@ switch ($script:Params.Keys) {
continue continue
} }
'DisableRecall' { 'DisableRecall' {
RegImport "> Disabling Windows Recall snapshots..." "Disable_AI_Recall.reg" RegImport "> Disabling Windows Recall..." "Disable_AI_Recall.reg"
continue continue
} }
'DisableClickToDo' { 'DisableClickToDo' {
RegImport "> Disabling Click to Do (AI text & image analysis)..." "Disable_Click_to_Do.reg" RegImport "> Disabling Click to Do..." "Disable_Click_to_Do.reg"
continue continue
} }
'DisableEdgeAI' { 'DisableEdgeAI' {