Script to remove Windows 10 bloatware.
The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:
I do not take responsibility for what may happen to your system. This is at your own risk.
Script/Utility/Application to debloat Windows 10
There are different methods of running the PowerShell script. The methods are as follows:
1) Download the .zip file on the main page of the github and extract the .zip file to your desired location
2) Once extracted, open PowerShell (or PowerShell ISE) as an Administrator
3) Enable PowerShell execution
Set-ExecutionPolicy Unrestricted -Force
4) On the prompt, change to the directory where you extracted the files:
cd c:\temp5) Next, to run either script, enter in the following: e.g. -
1) Download the .zip file on the main page of the github and extract the .zip file to your desired location 2) Right click the PowerShell file that you'd like to run and click on "Run With PowerShell" 3) This will allow the script to run without having to do the above steps but Powershell will ask if you're sure you want to run this script.
Remember this script NEEDS to be run as admin in order to function properly.
For the WindowsSysPrepDebloater.ps1 file, there are a couple of parameters that you can run so that you can specify which functions are used. The parameters are:
To run this with parameters, do the following:
1) Download the .zip file on the main page of the github and extract the .zip file to your desired location 2) Once extracted, open PowerShell (or PowerShell ISE) as an Administrator 3) On the prompt, change to the directory where you extracted the files: e.g. -
cd c:\temp4) Next, to run either script, enter in the following: e.g. -
.\Windows10SysPrepDebloater.ps1 -Sysprep, -Debloat -Privacy
There are now 3 versions of my Windows10Debloater - There is an interactive version, a GUI app version, and a pure silent version.
Windows10SysPrepDebloater.ps1 - The silent version now utilizes the switch parameters: -Sysprep, -Debloat -Privacy. The silent version can be useful for deploying MDT Images/sysprepping or any other way you deploy Windows 10. This will work to remove the bloatware during the deployment process.
Windows10Debloater.ps1 - This interactive version is what it implies - a Windows10Debloater script with interactive prompts. This one should not be used for deployments that require a silent script with optional parameters. This script gives you choices with prompts as it runs so that you can make the choices of what the script does.
Windows10DebloaterGUI.ps1 There is now a GUI Application named Windows10DebloaterGUI.ps1 with buttons to perform all of the functions that the scripts do. This is better for the average user who does not want to work with code, or if you'd prefer to just see an application screen.
There are 3 switch parameters in the Windows10SysPrepDebloater.ps1 script.
The first one is -SysPrep, which runs the command within a function: get-appxpackage | remove-appxpackage. This is useful since some administrators need that command to run first in order for machines to be able to properly provision the apps for removal.
The second switch parameter is -Debloat, which does as it suggests. It runs the following functions: Start-Debloat, Remove-Keys, and Protect-Privacy.
Remove-Keys removes registry keys leftover that are associated with the bloatware apps listed above, but not removed during the Start-Debloat function.
Third, Protect-Privacy adds and/or changes registry keys to stop some telemetry functions, stops Cortana from being used as your Search Index, disables "unneccessary" scheduled tasks, and more.
These registry keys are:
EclipseManager, ActiproSoftwareLLC, Microsoft.PPIProjection, Microsoft.XboxGameCallableUI
You can choose to either 'Debloat' or 'Revert'. Depending on your choice, either one will run specific code to either debloat your Windows 10 machine.
The Debloat switch choice runs the following functions:
Debloat, Remove-Keys, Protect-Privacy, Stop-EdgePDF (If chosen)
The Revert switch choice runs the following functions:
The Revert option reinstalls the bloatware and changes your registry keys back to default.
XblGameSaveTaskLogon, XblGameSaveTask, Consolidator, UsbCeip, DmClient
These scheduled tasks that are disabled have absolutely no impact on the function of the OS.
3DBuilder, ActiproSoftware, Alarms, Appconnector, Asphalt8, Autodesk SketchBook, Bing Finance, Bing Food And Drink, Bing Health And Fitness, Bing News, Bing Sports, Bing Travel, Bing Weather, BioEnrollment, Camera, CandyCrush, CandyCrushSoda, Caesars Slots Free Casino, ContactSupport, CyberLink MediaSuite Essentials, DrawboardPDF, Duolingo, EclipseManager, Facebook, FarmVille 2 Country Escape, Flipboard, Fresh Paint, Get started, iHeartRadio, King apps, Maps, March of Empires, Messaging, Microsoft Office Hub, Microsoft Solitaire Collection, Microsoft Sticky Notes, Minecraft, Netflix, Network Speed Test, NYT Crossword, Office Sway, OneNote, OneConnect, Pandora, People, Phone, Phototastic Collage, PicsArt-PhotoStudio, PowerBI, Royal Revolt 2, Shazam, Skype for Desktop, SoundRecorder, TuneInRadio, Twitter, Windows communications apps, Windows Feedback, Windows Feedback Hub, Windows Reading List, XboxApp, Xbox Game CallableUI, Xbox Identity Provider, Zune Music, Zune Video.
iex ((New-Object System.Net.WebClient).DownloadString('https://git.io/debloat'))
Thank you to a60wattfish, abulgatz, xsisbest, Damian, Vikingat-RAGE, and Reddit user /u/GavinEke for some of the suggestions and fixes that I have placed into my scripts. You all have done a fantastic job!