From a2333c59ada8d058944ddcfdbe23183a804bf5aa Mon Sep 17 00:00:00 2001 From: Raphire <9938813+Raphire@users.noreply.github.com> Date: Mon, 2 Nov 2020 20:01:00 +0100 Subject: [PATCH] Added a category of packages that are not removed by default --- README.md | 50 ++++++++++++++++++++++++++++-------------- Win10Debloat.ps1 | 57 +++++++++++++++++++++++++++++++++--------------- 2 files changed, 74 insertions(+), 33 deletions(-) diff --git a/README.md b/README.md index 81d21e4..ceea1b2 100644 --- a/README.md +++ b/README.md @@ -1,33 +1,51 @@ # Win10Debloat -A simple powershell script that allows you to remove most preinstalled windows 10 apps, remove the 3d objects, onedrive and music folder from This PC in windows explorer and remove some context menu options. +A simple powershell script that allows you to remove most pre-installed windows 10 apps, remove the 3d objects, onedrive and music folder from This PC in windows explorer and remove some context menu options. -## Removable Packages +## Removable Apps +By default, the script doesn't remove all of the default windows 10 apps, such as the windows store and the calculator. You can edit the apps list in the Win10Debloat.ps1 script to customize which apps you want to keep, and which apps you want the script to remove. + +### These apps will be deleted by default: - Microsoft.GetHelp - Microsoft.Getstarted - Microsoft.WindowsFeedbackHub -- Microsoft.MicrosoftOfficeHub -- Microsoft.OneConnect -- Microsoft.Messaging -- Microsoft.SkypeApp -- Microsoft.MixedReality.Portal -- Microsoft.3DBuilder -- Microsoft.Microsoft3DViewer -- Microsoft.Print3D -- Microsoft.Office.OneNote -- Microsoft.MicrosoftStickyNotes -- Microsoft.WindowsSoundRecorder -- Microsoft.ZuneMusic -- Microsoft.ZuneVideo - Microsoft.BingNews - Microsoft.BingFinance - Microsoft.BingSports - Microsoft.BingWeather +- Microsoft.BingTranslator +- Microsoft.MicrosoftOfficeHub +- Microsoft.Office.OneNote +- Microsoft.MicrosoftStickyNotes +- Microsoft.SkypeApp +- Microsoft.OneConnect +- Microsoft.Messaging +- Microsoft.WindowsSoundRecorder +- Microsoft.ZuneMusic +- Microsoft.ZuneVideo +- Microsoft.MixedReality.Portal +- Microsoft.3DBuilder +- Microsoft.Microsoft3DViewer +- Microsoft.Print3D - Microsoft.549981C3F5F10 (Cortana) - Microsoft.MicrosoftSolitaireCollection +- Microsoft.Asphalt8Airborne - king.com.BubbleWitch3Saga - king.com.CandyCrushSaga - king.com.CandyCrushSodaSaga -- Microsoft.Asphalt8Airborne + +### These apps will NOT be deleted by default: +- Microsoft.WindowsStore (NOTE: This app cannot be reinstalled!) +- Microsoft.WindowsCalculator +- Microsoft.Windows.Photos +- Microsoft.WindowsCamera +- Microsoft.WindowsAlarms +- Microsoft.WindowsMaps +- Microsoft.MSPaint +- Microsoft.YourPhone +- Microsoft.XboxApp +- Microsoft.XboxGameOverlay +- Microsoft.XboxGamingOverlay +- Microsoft.XboxSpeechToTextOverlay ## Other Optional Changes - Disable the onedrive folder in the windows explorer sidebar. diff --git a/Win10Debloat.ps1 b/Win10Debloat.ps1 index 0fa0512..63f1db0 100644 --- a/Win10Debloat.ps1 +++ b/Win10Debloat.ps1 @@ -1,4 +1,4 @@ -$remove_apps = Read-Host "Do you want to remove the pre-installed apps? (y/n)" +$remove_apps = Read-Host "Do you want to remove the pre-installed windows 10 apps? (y/n)" $disable_onedrive = Read-Host "Do you want to disable the onedrive folder in windows explorer? (y/n)" @@ -11,35 +11,58 @@ $disable_context = Read-Host "Do you want to remove the contextmenu entries for: Write-Output "" if ($remove_apps -eq 'y') { - Write-Output "Uninstalling pre-installed applications..." + Write-Output "Uninstalling pre-installed windows 10 applications..." $apps = @( + # These apps will be uninstalled by default: + # + # If you wish to keep any of the apps below simply add a # character + # in front of the specific app in the list below. "*Microsoft.GetHelp*" "*Microsoft.Getstarted*" "*Microsoft.WindowsFeedbackHub*" - "*Microsoft.MicrosoftOfficeHub*" - "*Microsoft.Office.OneNote*" - "*Microsoft.OneConnect*" - "*Microsoft.Messaging*" - "*Microsoft.SkypeApp*" - "*Microsoft.MixedReality.Portal*" - "*Microsoft.3DBuilder*" - "*Microsoft.Microsoft3DViewer*" - "*Microsoft.Print3D*" - "*Microsoft.MicrosoftStickyNotes*" - "*Microsoft.WindowsSoundRecorder*" - "*Microsoft.ZuneMusic*" - "*Microsoft.ZuneVideo*" "*Microsoft.BingNews*" "*Microsoft.BingFinance*" "*Microsoft.BingSports*" "*Microsoft.BingWeather*" - "*Microsoft.549981C3F5F10*" + "*Microsoft.BingTranslator*" + "*Microsoft.MicrosoftOfficeHub*" + "*Microsoft.Office.OneNote*" + "*Microsoft.MicrosoftStickyNotes*" + "*Microsoft.SkypeApp*" + "*Microsoft.OneConnect*" + "*Microsoft.Messaging*" + "*Microsoft.WindowsSoundRecorder*" + "*Microsoft.ZuneMusic*" + "*Microsoft.ZuneVideo*" + "*Microsoft.MixedReality.Portal*" + "*Microsoft.3DBuilder*" + "*Microsoft.Microsoft3DViewer*" + "*Microsoft.Print3D*" + "*Microsoft.549981C3F5F10*" #Cortana app "*Microsoft.MicrosoftSolitaireCollection*" + "*Microsoft.Asphalt8Airborne*" "*king.com.BubbleWitch3Saga*" "*king.com.CandyCrushSodaSaga*" "*king.com.CandyCrushSaga*" - "*Microsoft.Asphalt8Airborne*" + + + # These apps will NOT be uninstalled by default: + # + # If you wish to REMOVE any of the apps below simply remove the + # # character in front of the specific app in the list below. + #"*Microsoft.WindowsStore*" # NOTE: This app cannot be reinstalled! + #"*Microsoft.WindowsCalculator*" + #"*Microsoft.Windows.Photos*" + #"*Microsoft.WindowsCamera*" + #"*Microsoft.WindowsAlarms*" + #"*Microsoft.WindowsMaps*" + #"*Microsoft.MSPaint*" + #"*Microsoft.YourPhone*" + #"*Microsoft.XboxApp*" + #"*Microsoft.XboxGameOverlay*" + #"*Microsoft.XboxGamingOverlay*" + #"*Microsoft.XboxSpeechToTextOverlay*" ) foreach ($app in $apps) {