Debloat Windows 10 script collection
Debloat Windows 10 is a collection of Powershell scripts that block, disable, modify, or optimize various Windows 10 features that users may find annoying, or at least not super useful to begin with.
Word of warning: these scripts have no undo function. The author suggests you run them on a fresh installation of Windows 10. I suggest you create a full system backup before you run them, so that you can restore the system should things go wrong.
You can open any of the Powershell scripts in a plain text editor or directly on GitHub to find out what they do in detail.
Debloat Windows 1
You are probably wondering what those scripts do. You find nine scripts in total on the Debloat windows 10 GitHub repository right now. They are:
- Block Telemetry -- Adds a list of telemetry domains to the hosts file to block them. Additionally, sets Allow Telemetry to 0, and blocks several telemetry IPs using the firewall.
- Disable Services -- Disables more than a dozen services including the Diagnostics Tracking Service, the Geolocation Service, Remote Registry and Xbox Live related services.
- Disable Windows Defender -- Disables Windows Defender tasks, and sets several Registry values.
- Experimental Unfuckery -- Removes system apps such as Feedback, Contact Support or BioEnrollment among other things.
- Fix Privacy Settings -- Sets quite a few privacy related values in the Registry that are related to privacy.
- Optimize User Interface -- Again, Registry values for the most part that change visual, interface, and accessibility elements including a mouse acceleration fix, easy access keyboard features, changing folder view options and so on.
- Optimize Windows Update -- Disables automatic download and installation of windows updates, disables the "updates are available" message and automatic driver updates.
- Remove Default Apps -- Removes the majority of apps that Windows 10 ships with.
- Remove OneDrive -- Disables OneDrive, and removes OneDrive traces from the system.
You need to open an elevated Powershell prompt to run those script:
- Tap on the Windows-key, type powershell, hold down Shift-key and Ctrl-key, and hit the Enter-key.
- Run the command Set-ExecutionPolicy Unrestricted first to enable the execution of Powershell scripts. Select Y when the prompt spawns on the screen if you want to go ahead.
- Run any of the scripts afterwards using .\scriptname.ps1 from the directory you saved them to.
- Once you are done, run Set-ExecutionPolicy Restricted, the default policy setting.
That's all there is to it. You can run as many of the Powershell scriptlets as you like. I can't stress the importance of creating a backup of your system before you run any of the scripts. (via Inside Windows)
Seriously, just avoid Windows 10 until it becomes a pleasant OS to use. That may not happen for the next 5 years.
Using it since beta, all great, all smooth.
Been shilling since the beginning of time, all smooth.
I haven’t had any problems with Windows 10. Smoothest, and fastest install I ever done.
Here is similar but one click one “Windows 10 Toolkit v1.0”
A small portable utility to uninstall Windows defender , Cortana and Microsoft EDGE you can use it to Block or reapir Microsoft EDGE too
I see the scripts add telemetry domains into the hosts file. anyone can confirm this doesn’t cause troubles with Skype? each time I add Microsoft spy-sites to my hosts list Skype starts acting up
Edit: found some in the block-telemetry script already:
Stop using Skype.
Personally I would prefer to see a single script with each of these set as functions. Separate scripts allows for easy editing but means you have to lug around the entire collection. Perhaps I’ll see about integrating them.
Thanks for the article, one slight typo:
where you write:
“Run any of the scripts afterwards using ./scriptname.ps1 from the directory you saved them to.”
it should be .\scriptname.ps1
backslash not forwardslash
Kevin you are right, thanks for spotting this. Corrected in the guide.
shitty app…fu(ped) my windows and i dunno how to get them “bloated” back again!!!