Step 2 is to add a GUI.
This step 1 patch is the minimal requirement
for custom blacklist functionality.
https://github.com/Sycnex/Windows10Debloater/issues/68https://github.com/Sycnex/Windows10Debloater/issues/110
1.) Make the black/whitelists global - so they can easily be
modified from functions and forms (needed for step 2)
2.) Put the lists at the start of the script to make it
easy for people to find and browse through the lists.
3.) One item per line to allow for better documentation.
I added as many notes as I could. Documentating the
reasons for black/white-listing is very valuable.
4.) Both whitelist and blacklist entries can be used as REGEXs.
That can cause a bit of confusion perhaps, but probably
necessary for flexibility. I turned ON case sensitivity
to offset that a bit (using .NET as the prime example
which otherwise falsely whitelists .NetworkSpeedTest)
In theory, these should be merely cosmetic changes and any
change in behaviour should be considered a bug.
5.) Provide the user a persistent, customizable white/blacklist.
custom-lists.ps1 should NOT be added to GIT,
so that a "git pull" does not change their custom settings.
Step 2 will provide a GUI to easily create/edit this file.
6.) Tried to make NonRemovables dynamic - to auto-detect new
packages that cannot be removed in future verisons of Windows.
Non-dynamic fallback provided for older versions of Windows.
(I developed on 1709, which didn't have the .NonRemovable
property, but tested on 1809 which does.)
#Valuable Windows 10 AppX apps that most people want to keep. Protected from DeBloat All.
#Credit to /u/GavinEke for a modified version of my whitelist code
$global:WhiteListedApps=@(
"Microsoft.ScreenSketch"
"Microsoft.Paint3D"
"Microsoft.WindowsCalculator"# Microsoft removed legacy calculator
"Microsoft.WindowsStore"# Issue 1
"Microsoft.Windows.Photos"# Microsoft disabled/hid legacy photo viewer
"CanonicalGroupLimited.UbuntuonWindows"# Issue 10
"Microsoft.XboxGameCallableUI"# Issue 91
"Microsoft.XboxGamingOverlay"# Issue 25, 91 Many home users want to play games
"Microsoft.Xbox.TCUI"# Issue 25, 91 Many home users want to play games
"Microsoft.XboxGamingOverlay"
"Microsoft.XboxIdentityProvider"# Issue 25, 91 Many home users want to play games
"Microsoft.MicrosoftStickyNotes"# Issue 33 New functionality.
"Microsoft.MSPaint"# Issue 32 This is Paint3D, legacy paint still exists in Windows 10
"Microsoft.WindowsCamera"# Issue 65 New functionality.
"\.NET"
"Framework"
"Microsoft.HEIFImageExtension"# Issue 68
"Microsoft.ScreenSketch"# Issue 55: Looks like Microsoft will be axing snipping tool and using Snip & Sketch going forward
"Microsoft.StorePurchaseApp"# Issue 68
"Microsoft.VP9VideoExtensions"# Issue 68
"Microsoft.WebMediaExtensions"# Issue 68
"Microsoft.WebpImageExtension"# Issue 68
"Microsoft.DesktopAppInstaller"# Issue 68
"WindSynthBerry"# Issue 68
"MIDIBerry"# Issue 68
"Slack"# Issue 83
)
#NonRemovable Apps that where getting attempted and the system would reject the uninstall, speeds up debloat and prevents 'initalizing' overlay when removing apps
#NonRemovable Apps that where getting attempted and the system would reject the uninstall, speeds up debloat and prevents 'initalizing' overlay when removing apps