Debloat Windows 10 script collection

Martin Brinkmann
Dec 23, 2016
Updated • Jul 5, 2017
Windows, Windows 10

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

debloat windows 10

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:

  1. 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.
  2. Disable Services -- Disables more than a dozen services including the Diagnostics Tracking Service, the Geolocation Service, Remote Registry and Xbox Live related services.
  3. Disable Windows Defender -- Disables Windows Defender tasks, and sets several Registry values.
  4. Experimental Unfuckery -- Removes system apps such as Feedback, Contact Support or BioEnrollment among other things.
  5. Fix Privacy Settings -- Sets quite a few privacy related values in the Registry that are related to privacy.
  6. 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.
  7. Optimize Windows Update -- Disables automatic download and installation of windows updates, disables the "updates are available" message and automatic driver updates.
  8. Remove Default Apps -- Removes the majority of apps that Windows 10 ships with.
  9. Remove OneDrive -- Disables OneDrive, and removes OneDrive traces from the system.

You need to open an elevated Powershell prompt to run those script:

  1. Tap on the Windows-key, type powershell, hold down Shift-key and Ctrl-key, and hit the Enter-key.
  2. 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.
  3. Run any of the scripts afterwards using .\scriptname.ps1 from the directory you saved them to.
  4. 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)

software image
Author Rating
4 based on 10 votes
Software Name
Debloat Windows 10
Operating System
Software Category
Landing Page

Tutorials & Tips

Previous Post: «
Next Post: «


  1. Yannis C. Gkaragkanis said on April 14, 2019 at 6:02 am

    shitty app…fu(ped) my windows and i dunno how to get them “bloated” back again!!!

  2. kevin said on January 4, 2017 at 11:23 pm

    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

    1. Martin Brinkmann said on January 5, 2017 at 6:56 am

      Kevin you are right, thanks for spotting this. Corrected in the guide.

  3. ken said on December 25, 2016 at 9:00 am

    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.

  4. Sam said on December 24, 2016 at 3:41 pm

    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:

    1. Anonymous said on October 3, 2018 at 11:13 pm

      Stop using Skype.

  5. Hobby_coder_8 said on December 23, 2016 at 7:22 pm

    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

    Download link:

    Virustotal report:

  6. Jeff said on December 23, 2016 at 6:57 pm

    Seriously, just avoid Windows 10 until it becomes a pleasant OS to use. That may not happen for the next 5 years.

    1. Rogher said on January 7, 2017 at 12:26 am

      I haven’t had any problems with Windows 10. Smoothest, and fastest install I ever done.

      1. Anonymous said on July 20, 2017 at 3:36 pm


    2. cryohellinc said on December 24, 2016 at 1:16 am

      Using it since beta, all great, all smooth.

      1. Anonymous said on December 24, 2016 at 11:44 am

        Been shilling since the beginning of time, all smooth.

Leave a Reply

Check the box to consent to your data being stored in line with the guidelines set out in our privacy policy

We love comments and welcome thoughtful and civilized discussion. Rudeness and personal attacks will not be tolerated. Please stay on-topic.
Please note that your comment may not appear immediately after you post it.