Skip to content
This repository was archived by the owner on Jul 30, 2024. It is now read-only.

Commit 3300fc5

Browse files
committed
restart shell after removeapps
1 parent f5c6e36 commit 3300fc5

File tree

1 file changed

+16
-13
lines changed

1 file changed

+16
-13
lines changed

debloat.ps1

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -778,22 +778,22 @@ Function RemoveApps {
778778
"Microsoft.Office.Todo.List"
779779
"Microsoft.Whiteboard"
780780
"Microsoft.WindowsAlarms"
781-
"Microsoft.MicrosoftStickyNotes"
782-
"MicrosoftCorporationII.QuickAssist"
783-
"MicrosoftTeams"
781+
"Microsoft.MicrosoftStickyNotes"
782+
"MicrosoftCorporationII.QuickAssist"
783+
"MicrosoftTeams"
784784
#"Microsoft.WindowsCamera"
785785
"microsoft.windowscommunicationsapps"
786786
"Microsoft.WindowsFeedbackHub"
787787
"Microsoft.WindowsMaps"
788788
"Microsoft.WindowsSoundRecorder"
789789
"Microsoft.Xbox.TCUI"
790790
"Microsoft.XboxApp"
791-
"Microsoft.GamingApp"
792-
"Microsoft.GamingServices"
791+
"Microsoft.GamingApp"
792+
"Microsoft.GamingServices"
793793
"Microsoft.XboxGamingOverlay"
794794
"Microsoft.XboxIdentityProvider"
795795
"Microsoft.XboxSpeechToTextOverlay"
796-
"Microsoft.XboxDevices"
796+
"Microsoft.XboxDevices"
797797
"Microsoft.ZuneMusic"
798798
"Microsoft.ZuneVideo"
799799
# ClipChamp package name & Package family name. Little stubborn it is.
@@ -802,13 +802,13 @@ Function RemoveApps {
802802
"Microsoft.YourPhone"
803803
"Microsoft.MSPaint"
804804
"Microsoft.MixedReality.Portal"
805-
"Microsoft.Todos"
806-
"Microsoft.PowerAutomateDesktop"
807-
#McAfee
808-
"5A894077.McAfeeSecurity"
809-
#Asus Specific
810-
"B9ECED6F.ScreenPadMaster"
811-
"B9ECED6F.ASUSPCAssistant"
805+
"Microsoft.Todos"
806+
"Microsoft.PowerAutomateDesktop"
807+
#McAfee
808+
"5A894077.McAfeeSecurity"
809+
#Asus Specific
810+
"B9ECED6F.ScreenPadMaster"
811+
"B9ECED6F.ASUSPCAssistant"
812812
#Sponsored Windows 11 AppX Apps
813813
#Add sponsored/featured apps to remove in the "*AppName*" format
814814
"*EclipseManager*"
@@ -850,6 +850,9 @@ Function RemoveApps {
850850

851851
#!!!Enable this if you want to reset values to default!!!
852852
#Remove-Item -Path "HKLM:Software\Policies\Microsoft\Windows\CloudContent" -Force
853+
Stop-Process Explorer -Force
854+
Start-Sleep -Seconds 10
855+
Start-Process Explorer -Wait
853856
}
854857

855858
Function Remove-Keys {

0 commit comments

Comments
 (0)