Windows10Debloater/README.md

188 lines
9.6 KiB
Markdown
Raw Normal View History

2017-12-12 01:35:59 +00:00
# Windows10Debloater
2020-03-30 19:26:46 +00:00
2020-10-23 10:39:38 +00:00
[![made-with-powershell](https://img.shields.io/badge/PowerShell-1f425f?logo=Powershell)](https://microsoft.com/PowerShell)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
Script/Utility/Application to debloat Windows 10, to remove Windows pre-installed unnecessary applications, stop some telemetry functions, stop Cortana from being used as your Search Index, disable unnecessary scheduled tasks, and more...
2020-10-23 12:33:01 +00:00
2021-03-13 15:51:52 +00:00
## Donate a cup of coffee
<a href="https://www.buymeacoffee.com/HZNh7w1Bm" target="_blank"><img src="https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png" alt="Buy Me A Coffee" style="height: 41px !important;width: 174px !important;box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;" ></a>
Be sure to look at the Contributors' GitHubs to see if they have GitHub sponsorships as well since they have contributed to this open-source project. (https://github.com/Sycnex/Windows10Debloater/graphs/contributors)
2021-03-13 15:51:52 +00:00
2020-10-23 13:12:34 +00:00
## Disclaimer
2020-10-23 11:50:34 +00:00
2020-10-23 12:33:01 +00:00
**WARNING:** I do **NOT** take responsibility for what may happen to your system! Run scripts at your own risk!
2021-03-13 16:26:24 +00:00
Also, other variants of this repo are not technically "new" versions of this, but they are different in their own respective ways. There are some sites saying that other projects are "new" versions of this, but that is inaccurate.
2017-12-12 02:07:31 +00:00
2020-10-23 10:22:20 +00:00
## How To Run the Windows10Debloater.ps1 and the Windows10DebloaterGUI.ps1 files
2018-04-14 06:57:30 +00:00
2019-02-17 03:23:09 +00:00
There are different methods of running the PowerShell script. The methods are as follows:
2018-04-14 06:57:30 +00:00
2020-10-23 13:06:11 +00:00
### First Method
2018-04-14 06:57:30 +00:00
1) Download the .zip file on the main page of the GitHub and extract the .zip file to your desired location
2020-10-23 11:22:38 +00:00
2) Once extracted, open [PowerShell](https://docs.microsoft.com/en-us/powershell/scripting/overview?view=powershell-5.1) (or [PowerShell ISE](https://docs.microsoft.com/en-us/powershell/scripting/windows-powershell/ise/introducing-the-windows-powershell-ise?view=powershell-7)) as an Administrator
2019-02-24 14:39:44 +00:00
3) Enable PowerShell execution
2019-03-13 13:50:05 +00:00
<code>Set-ExecutionPolicy Unrestricted -Force</code>
2019-03-27 22:34:27 +00:00
4) On the prompt, change to the directory where you extracted the files:
  e.g. - `cd c:\temp`
2019-03-13 13:50:05 +00:00
5) Next, to run either script, enter in the following:
  e.g. - `.\Windows10DebloaterGUI.ps1`
2020-03-30 19:26:46 +00:00
2020-10-23 13:06:11 +00:00
### Second Method
2018-04-14 06:57:30 +00:00
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"
2019-03-13 13:50:05 +00:00
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.
2020-10-23 11:22:38 +00:00
Remember this script **NEEDS** to be run as admin in order to function properly.
2019-02-17 03:23:09 +00:00
2020-10-23 10:22:20 +00:00
## How To Run the Windows10SysPrepDebloater.ps1 file
2019-02-17 03:23:09 +00:00
2020-02-24 09:02:40 +00:00
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:
2020-10-23 12:33:01 +00:00
`-SysPrep`, `-Debloat` and `-Privacy`.
2019-02-17 03:23:09 +00:00
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
2020-10-23 11:22:38 +00:00
2) Once extracted, open [PowerShell](https://docs.microsoft.com/en-us/powershell/scripting/overview?view=powershell-5.1) (or [PowerShell ISE](https://docs.microsoft.com/en-us/powershell/scripting/windows-powershell/ise/introducing-the-windows-powershell-ise?view=powershell-7)) as an Administrator
2019-03-27 22:34:27 +00:00
3) On the prompt, change to the directory where you extracted the files:
  e.g. - `cd c:\temp`
2019-02-17 03:23:09 +00:00
4) Next, to run either script, enter in the following:
  e.g. - `.\Windows10SysPrepDebloater.ps1 -Sysprep, -Debloat -Privacy`
2020-03-30 19:26:46 +00:00
2020-10-23 10:22:20 +00:00
## Sysprep, Interactive, and GUI Application
2019-02-17 03:23:09 +00:00
2020-10-23 11:22:38 +00:00
There are now 3 versions of **Windows10Debloater** - There is an interactive version, a GUI app version, and a pure silent version.
2019-02-17 03:23:09 +00:00
- **`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.
2019-02-17 03:23:09 +00:00
- **`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.
2019-02-17 03:23:09 +00:00
- **`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.
2019-02-17 03:23:09 +00:00
2020-10-23 10:22:20 +00:00
## Switch Parameters
2019-02-17 03:23:09 +00:00
2020-10-23 10:39:38 +00:00
There are 3 switch parameters in the `Windows10SysPrepDebloater.ps1` script.
2019-02-17 03:23:09 +00:00
- **`-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.
2019-02-17 03:23:09 +00:00
- **`-Debloat`**, switch parameter which does as it suggests. It runs the following functions: Start-Debloat, Remove-Keys, and Protect-Privacy.
2019-02-17 03:23:09 +00:00
Remove-Keys removes registry keys leftover that are associated with the bloatware apps listed above, but not removed during the Start-Debloat function.
- **`-Privacy`**, adds and/or changes registry keys to stop some telemetry functions, stops Cortana from being used as your Search Index, disables "unnecessary" scheduled tasks, and more.
2019-02-17 03:23:09 +00:00
***This script will remove the bloatware from Windows 10 when using Remove-AppXPackage/Remove-AppXProvisionedPackage, and then delete specific registry keys that are were not removed beforehand. For best results, this script should be run before a user profile is configured, otherwise, you will likely see that apps that should have been removed will remain, and if they are removed you will find broken tiles on the start menu.***
2020-10-23 13:06:11 +00:00
## These registry keys are
2017-12-12 02:07:31 +00:00
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.
2020-10-23 13:06:11 +00:00
## The Debloat switch choice runs the following functions
2017-12-12 02:07:31 +00:00
Debloat,
2017-12-12 02:07:31 +00:00
Remove-Keys,
Protect-Privacy,
Stop-EdgePDF (If chosen)
2020-10-23 13:06:11 +00:00
## The Revert switch choice runs the following functions
2017-12-12 02:07:31 +00:00
Revert-Changes,
Enable-EdgePDF
The Revert option reinstalls the bloatware and changes your registry keys back to default.
2020-10-23 13:06:11 +00:00
## The scheduled tasks that are disabled are
2017-12-12 02:07:31 +00:00
XblGameSaveTaskLogon,
XblGameSaveTask,
Consolidator,
UsbCeip,
DmClient
These scheduled tasks that are disabled have absolutely no impact on the function of the OS.
2020-10-23 13:06:11 +00:00
## Bloatware that is removed
2017-12-12 02:07:31 +00:00
2020-10-23 11:22:38 +00:00
[3DBuilder](https://www.microsoft.com/en-us/p/3d-builder/9wzdncrfj3t6),
[ActiproSoftware](https://www.microsoft.com/en-us/p/actipro-universal-windows-controls/9wzdncrdlvzp),
[Alarms](https://www.microsoft.com/en-us/p/windows-alarms-clock/9wzdncrfj3pr?activetab=pivot:overviewtab),
[Appconnector](https://www.microsoft.com/en-us/p/connector/9wzdncrdjmlj?activetab=pivot:overviewtab),
[Asphalt8](https://www.microsoft.com/en-us/p/asphalt-8-racing-game-drive-drift-at-real-speed/9wzdncrfj26j?activetab=pivot:overviewtab),
2020-10-23 11:50:34 +00:00
[Autodesk SketchBook](https://www.microsoft.com/en-us/p/autodesk-sketchbook/9nblggh4vzw5),
[MSN Money](https://www.microsoft.com/en-us/p/msn-money/9wzdncrfhv4v?activetab=pivot:overviewtab),
[Food And Drink](https://www.microsoft.com/en-us/p/food-and-drink/9nblggh0jhqg),
[Health And Fitness](https://www.microsoft.com/en-us/p/health-fitness-free/9wzdncrcwcdp),
2020-10-23 12:33:01 +00:00
[Microsoft News](https://www.microsoft.com/en-us/p/microsoft-news/9wzdncrfhvfw#activetab=pivot:overviewtab),
[MSN Sports](https://www.microsoft.com/en-us/p/msn-sports/9wzdncrfhvh4?activetab=pivot:overviewtab),
[MSN Travel](https://www.microsoft.com/en-us/p/msn-travel/9wzdncrfj3ft?activetab=pivot:overviewtab),
[MSN Weather](https://www.microsoft.com/en-us/p/msn-weather/9wzdncrfj3q2?activetab=pivot:overviewtab),
BioEnrollment,
2020-10-23 12:33:01 +00:00
[Windows Camera](https://www.microsoft.com/en-us/p/windows-camera/9wzdncrfjbbg#activetab=pivot:overviewtab),
CandyCrush,
CandyCrushSoda,
Caesars Slots Free Casino,
ContactSupport,
CyberLink MediaSuite Essentials,
DrawboardPDF,
Duolingo,
EclipseManager,
Facebook,
FarmVille 2 Country Escape,
Flipboard,
2017-12-12 02:07:31 +00:00
Fresh Paint,
Get started,
iHeartRadio,
King apps,
Maps,
March of Empires,
Messaging,
2017-12-12 02:07:31 +00:00
Microsoft Office Hub,
Microsoft Solitaire Collection,
Microsoft Sticky Notes,
Minecraft,
Netflix,
Network Speed Test,
NYT Crossword,
Office Sway,
2017-12-12 02:07:31 +00:00
OneNote,
OneConnect,
Pandora,
2017-12-12 02:07:31 +00:00
People,
Phone,
Phototastic Collage,
PicsArt-PhotoStudio,
2017-12-12 02:07:31 +00:00
PowerBI,
Royal Revolt 2,
2017-12-12 02:07:31 +00:00
Shazam,
Skype for Desktop,
SoundRecorder,
2017-12-12 02:07:31 +00:00
TuneInRadio,
Twitter,
Windows communications apps,
2017-12-12 02:07:31 +00:00
Windows Feedback,
Windows Feedback Hub,
Windows Reading List,
XboxApp,
2017-12-12 02:07:31 +00:00
Xbox Game CallableUI,
Xbox Identity Provider,
Zune Music,
Zune Video.
2017-12-12 02:07:31 +00:00
2020-10-23 10:22:20 +00:00
## Quick download link
2019-06-02 03:45:12 +00:00
`iwr -useb https://git.io/debloat|iex`
2019-06-02 03:45:12 +00:00
2021-03-13 05:26:00 +00:00
## Allowlist and Blocklist
There may be some confusion, but when using the Allowlist/Blocklist, the checkmark means it is on the blocklist, and that it will be removed.
2020-10-23 10:22:20 +00:00
## Credits
2017-12-12 02:07:31 +00:00
2021-03-13 05:07:31 +00:00
Thank you to [a60wattfish](https://github.com/a60wattfish), [abulgatz](abulgatz), [xsisbest](https://github.com/xsisbest), [Damian](https://github.com/Damian), [Vikingat-RAGE](https://github.com/Vikingat-RAGE), Reddit user [/u/GavinEke](https://github.com/GavinEke), and all of the contributors (https://github.com/Sycnex/Windows10Debloater/graphs/contributors) for the suggestions, code, changes, and fixes that you have all graciously worked hard on and shared! You all have done a fantastic job!