Skip to content

These scripts will Customize, Debloat and Improve Privacy/Performance and System Responsiveness on Windows 10+.

License

Notifications You must be signed in to change notification settings

sponkmonk/Win-Debloat-Tools

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

PSScriptAnalyzer GitHub issues GitHub license Commit rate GitHub last commit (branch) GitHub code size in bytes

This Project was adapted from W4RH4WK's Project

These scripts will Customize, Debloat and Improve Privacy/Performance and System Responsiveness on Windows 10+.

This has a collection of scripts to tweak the system per category, using different functions to adjust the system settings and make Windows great again! You can also install your favorite softwares through the GUI with just one click after being selected.

Use on a fresh Windows install to notice the differences. Using an admin account is recommended to avoid any compatibility issues.

⚠️ DISCLAIMER: You're doing this at your own risk, I am not responsible for any data loss or damage that may occur. It's not guaranteed that every feature removed from the system can be easily restored.

πŸš€ Download Latest Version

Code located in the main branch is considered stable, the develop branch contains the most recent features.

Branch to Download Version(s) Supported Edition(s) PowerShell Version
(Stable) 22H2 or Older Home / Pro v5.1+
(Newer)

✨ Usage

To run a variant of the script, follow these steps:

  • Extract the entire .zip file to another folder.
  • Run OpenTerminalHere.cmd (try to run as admin if nothing happens at all).
  • Copy and Paste one of the lines below on your Terminal to unblock the scripts and execute it:

GUI Version

Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force; ls -Recurse *.ps*1 | Unblock-File; .\"WinDebloatTools.ps1"

Script GUI The Apply Tweaks button is the main one for debloating.

CLI Version (Minimal, good for automation)

Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force; ls -Recurse *.ps*1 | Unblock-File; .\"WinDebloatTools.ps1" 'CLI'

Scripts can be run individually, pick what you need.

πŸ”„οΈ Roll-Back

If something breaks you can rely on:

  1. If you want (almost) everything to it's original state, use the Undo Tweaks button on WinDebloatTools.ps1.
  2. A restoration point done by the script itself;
  3. The Repair Windows button on WinDebloatTools.ps1;

β˜‘οΈ Common Script Features

Click to expand

This part is also valid to the Apply Tweaks button on the GUI.

βœ… GUI Script Features

Click to expand

System Tweaks

Customize System Features (Can be found here)

  • Enable/Disable Dark Theme: Apply Dark Theme or Light Theme on Windows;
  • Enable/Disable Activity History: Manages the Activity History setting;
  • Enable/Disable Background Apps: Manages ALL the Background Apps settings;
  • Enable/Disable Clipboard History: Manages the Clipboard History setting, that keeps a history from your clipboard pressing Windows + V key;
  • Enable/Disable Clipboard Sync Across Devices: Manages the Clipboard Sync Across Devices setting, which allows to use the same clipboard for multiple devices (must be using a MS account);
  • Enable/Disable Cortana: Manages the Cortana setting;
  • Enable/Disable Hibernate: Manages the Hibernate setting;
  • Enable/Disable Old Volume Control: Manages the Old Volume Control (Win 7/8.1) setting;
  • Enable/Disable Online Speech Recognition: Manages the Online Speech Recognition setting, by pressing the keys Windows + H you can speak through your mic, then use it to type text using your voice;
  • Enable/Disable Phone Link: Manages the Phone Link setting, which can link your Android/iPhone devices notifications to Windows;
  • Enable/Disable Photo Viewer: Enables or Disables the old Photo Viewer (Win 7/8.1);
  • Enable/Disable Search App for Unknown Ext.: When running a unknown extension file, be able to search through MS Store for an App that can open it.
  • Enable/Disable Telemetry: Manages the Windows Telemetry Level setting;
  • Enable/Disable WSearch Service: Manages the Windows Search Service setting;
  • Enable/Disable Xbox Game Bar/DVR/Mode: Manages the Xbox Game Bar/DVR/Mode setting, that can open Game Bar anywhere, record clips from games and change Game Mode;

System Debloat Tools

  • Apply Tweaks: Run every Common Tweak scripts (Go To β˜‘οΈ Common Script Features section);
  • Undo Tweaks: Re-apply some tweaks and Revert all possible ones, covering the, ShutUp10 settings, Scheduled Tasks, Services, Privacy and Performance, Personal and Optional Features tweaks, then try to Reinstall Pre-Installed Apps;
  • Remove Microsoft Edge: uninstalls Microsoft Edge/WebView, then remove the remaining files;
  • Remove OneDrive: completely removes OneDrive from the System, re-install is possible via Win Store;
  • Remove Xbox: wipe Xbox Apps, disable Services related to Xbox and GameBar/GameDVR;

Install System Apps (Can be found here)

This section contains options to restore the system apps, by downloading them from the MS Store (mostly) and doing Stock configurations (for some Apps).

  • Cortana;
  • Dolby Audio;
  • Microsoft Edge;
  • OneDrive;
  • Paint + Paint 3D;
  • Phone Link;
  • Sound Recorder;
  • Taskbar Widgets;
  • Windows Media Player (UWP);
  • Xbox: Re-enable Xbox related functionalities and reinstall the Xbox Apps available on MS Store.

Other Tools

This section contains tools to solve some Windows problems and get info about how much debloated the system is.

  • Randomize System Color: Changes the Windows color pallette to a random generated hex color;
  • Reinstall Pre-Installed Apps: Rebloat Windows with all the Pre-Installed Apps;
  • Repair Windows: Try to Completely fix the Windows worst problems via Command Line;
  • Show Debloat Info: Make an overall check-up from disabled and enabled Windows Components (Compare before and after applying tweaks, it's a great difference);

Windows Update (Can be found here)

  • Enable/Disable Automatic Windows Update: Set Windows updates to automatic or manual;

Optional Features (Can be found here)

This section can manually adjust Optional Features from the system, working as a ON/OFF toggle.

Miscellaneous Features (Can be found here)

  • Enable/Disable Encrypted DNS: Sets the DNS Client Servers to Cloudflare's and Google's (ipv4 and ipv6), and enables DNS Over HTTPS on Windows 11.
  • Enable/Disable God Mode: Manages the hidden Desktop folder called "God Mode";
  • Enable/Disable Mouse Natural Scroll: Sets the mac-like mouse scrolling behavior, basically reverts mouse scroll direction;
  • Enable/Disable Take Ownership menu: Enables or Disables the Take Ownership context menu;
  • Enable/Disable Shutdown PC shortcut: Manages the Shutdown Computer desktop shortcut;

Software Install

  • Upgrade All Softwares: Upgrades all Softwares installed on your machine installed through Winget and Chocolatey.
    • WSL will only update itself, not the distros installed.
  • Install Selected: Install the selected apps by marking the checkbox(es);
  • Uninstall Mode: Default as OFF, clicking this will switch the Install Selected button to Uninstall Selected and uninstall every selected apps (Advice: differently colored buttons may not be able to uninstall completely and WSL UWP Apps, but WSL Distros will be unregistered);

πŸ… More Debloat Scripts (Community)

Click to expand

The scripts are designed to run With/Without (GUI/CLI) any user interaction. Modify them beforehand. If you want a more interactive approach then check out:

πŸ”§ Tweak Testers

  • All of my friends and people who trusted on me to run the script;
  • yCr-shiddy - Helped giving more ideas and fixes;

🀍 Credits

  • Special thanks to LowSpecGamer, he is the reason i've adapted this script.
  • Special thanks to Fabio Akita, for believing in this project and making this script famous 🀍.
  • W4RH4WK - For his project ^^

πŸ“š Used code references

βž• Contributing

Found a bug or want a new feature? You can open a new Issue here. Wanting to add improvements or fixes? Please check out the CONTRIBUTING.md file.

πŸ“ License

Licensed under the MIT license.

MalwareBytes AdwCleaner and O&O ShutUp10++ have their own licenses.

About

These scripts will Customize, Debloat and Improve Privacy/Performance and System Responsiveness on Windows 10+.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PowerShell 99.4%
  • Batchfile 0.6%