Script/Utility to debloat Windows 10
This script will remove the bloatware from Windows 10 and then delete specific registry keys that are not removed when using Rempve-AppXPackage/Remove-AppXProvisionedPackage.
It will also first ask you if you want to enable System Restore on your machine, then will create a restore checkpoint if you choose yes, ask if you want to continue to run the script, and if you choose 'Yes' you will then need to choose to either 'Debloat' or 'Revert'. Depending on your choice, either one will run specific code to either debloat your Windows 10 machine or to reinstall the bloatware and change your registry keys back to default. Finally, you will also have the choice to change some privacy settings at the end, such as disabling Cortana and stopping the Feedback Experience.
I have found many different solutions online to debloat Windows 10 and many either worked but caused issues in the long run, or they did so little that it wasn't enough of a "debloat" experience. I decided to create a script that will debloat Windows 10 the way that I envision it, with the option of even being able to revert changes.
This comes in hand when setting up new Windows 10 machines without needing to manually remove the bloatware found within Windows 10, along with some "fail safe" features via the Revert-Changes function, and even stops Windows from installing the bloatware in new user profiles.
Download the Windows10Debloater.ps1 file. Next, copy the source code from Windows10Debloater.ps1 and throw it into PowerShell ISE or launch it with PowerShell as Administrator and click run.