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

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.
Read also:  Link a Microsoft Account to a Windows 10 license

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)

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

Please share this article


Filed under:

Responses to Debloat Windows 10 script collection

  1. Jeff 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.

    • cryohellinc December 24, 2016 at 1:16 am #

      Using it since beta, all great, all smooth.

      • Anonymous December 24, 2016 at 11:44 am #

        Been shilling since the beginning of time, all smooth.

    • Rogher January 7, 2017 at 12:26 am #

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

      • Anonymous July 20, 2017 at 3:36 pm #


  2. Hobby_coder_8 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:

  3. Sam 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:

  4. ken 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.

  5. kevin 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

    • Martin Brinkmann January 5, 2017 at 6:56 am #

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

Leave a Reply