mirror of
https://github.com/Raphire/Win11Debloat.git
synced 2025-11-17 11:06:18 +00:00
Disabling Windows Copilot now also removes the new Microsoft.Copilot app #124
This commit is contained in:
@@ -98,6 +98,7 @@ XING
|
||||
# want to UNINSTALL by default. #
|
||||
# ------------------------------------------------------------------------------------------------------------- #
|
||||
#Microsoft.BingSearch # Web Search from Microsoft Bing (Integrates into Windows Search)
|
||||
#Microsoft.Copilot # New Windows Copilot app
|
||||
#Microsoft.Edge # Edge browser (Can only be uninstalled in European Economic Area)
|
||||
#Microsoft.GetHelp # Required for some Windows 11 Troubleshooters
|
||||
#Microsoft.MSPaint # Paint 3D
|
||||
|
||||
@@ -358,7 +358,7 @@ function RemoveApps {
|
||||
# Remove installed app for all existing users
|
||||
if ($WinVersion -ge 22000){
|
||||
# Windows 11 build 22000 or later
|
||||
Get-AppxPackage -Name $app -AllUsers | Remove-AppxPackage -AllUsers
|
||||
Get-AppxPackage -Name $app -AllUsers | Remove-AppxPackage -AllUsers -ErrorAction Continue
|
||||
}
|
||||
else {
|
||||
# Windows 10
|
||||
@@ -928,7 +928,7 @@ if ((-not $global:Params.Count) -or $RunDefaults -or $RunWin11Defaults -or ($SPP
|
||||
Write-Output ""
|
||||
|
||||
if ($( Read-Host -Prompt "Disable Windows Copilot? This applies to all users (y/n)" ) -eq 'y') {
|
||||
AddParameter 'DisableCopilot' 'Disable Windows copilot'
|
||||
AddParameter 'DisableCopilot' 'Disable Windows Copilot'
|
||||
}
|
||||
|
||||
Write-Output ""
|
||||
@@ -1299,7 +1299,11 @@ else {
|
||||
continue
|
||||
}
|
||||
'DisableCopilot' {
|
||||
RegImport "> Disabling Windows copilot..." "Disable_Copilot.reg"
|
||||
RegImport "> Disabling & removing Windows Copilot..." "Disable_Copilot.reg"
|
||||
|
||||
# Also remove the app package for bing search
|
||||
$appsList = 'Microsoft.Copilot'
|
||||
RemoveApps $appsList
|
||||
continue
|
||||
}
|
||||
'DisableRecall' {
|
||||
|
||||
Reference in New Issue
Block a user