From fa01c1f20a15f9c367498691d28f1b1b727f994f Mon Sep 17 00:00:00 2001 From: Richard Newton Date: Sun, 10 Jun 2018 19:24:30 -0700 Subject: [PATCH] Added a few Xbox AppXPackages that shouldn't be removed Microsoft.XboxGamingOverlay Microsoft.XboxIdentityProvider Microsoft.Xbox.TCUI These will no longer be removed. --- Windows10Debloater.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Windows10Debloater.ps1 b/Windows10Debloater.ps1 index 5bad063..9adb882 100644 --- a/Windows10Debloater.ps1 +++ b/Windows10Debloater.ps1 @@ -30,7 +30,7 @@ Function Start-Debloat { #Removes AppxPackages #Credit to /u/GavinEke for a modified version of my whitelist code - [regex]$WhitelistedApps = 'Microsoft.Paint3D|Microsoft.WindowsCalculator|Microsoft.WindowsStore|Microsoft.Windows.Photos|CanonicalGroupLimited.UbuntuonWindows|Microsoft.XboxGameCallableUI|Microsoft.XboxGamingOverlay|Microsoft.Xbox.TCUI' + [regex]$WhitelistedApps = 'Microsoft.Paint3D|Microsoft.WindowsCalculator|Microsoft.WindowsStore|Microsoft.Windows.Photos|CanonicalGroupLimited.UbuntuonWindows|Microsoft.XboxGameCallableUI|Microsoft.XboxGamingOverlay|Microsoft.Xbox.TCUI|Microsoft.XboxGamingOverlay|Microsoft.XboxIdentityProvider' Get-AppxPackage -AllUsers | Where-Object {$_.Name -NotMatch $WhitelistedApps} | Remove-AppxPackage Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -NotMatch $WhitelistedApps} | Remove-AppxProvisionedPackage -Online }