Giter VIP home page Giter VIP logo

win-debloat-tools's Introduction

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 note 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.

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

๐Ÿš€ Download Latest Version

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

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

๐Ÿ”„๏ธ 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 Win10ScriptGUI.ps1.
  2. A restoration point done by the script itself;
  3. The Repair Windows button on Win10ScriptGUI.ps1;

โ— Usage Requirements

The Win10Script(CLI/GUI).ps1 does not make everything automatically, so follow these steps.

  • Extract the .zip file to another folder.
  • Run OpenTerminalHere.cmd (try as admin if nothing happens at all).
  • Enable execution of PowerShell scripts and Unblock PowerShell scripts and modules within this directory (Down below).

GUI Version

  • Copy and Paste this entire line below on PowerShell:
Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force; ls -Recurse *.ps*1 | Unblock-File; .\"Win10ScriptGUI.ps1"

Script GUI

The Apply Tweaks button is the main one for debloating.

CLI Version (Minimal, good for automation)

  • Copy and Paste this entire line below on PowerShell:
Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force; ls -Recurse *.ps*1 | Unblock-File; .\"Win10ScriptCLI.ps1"

Scripts can be run individually, pick what you need.

โ˜‘๏ธ 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

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 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).

  • Get H.265 video codec: Get the missing HEVC support to run H.265 videos through MS Store, it's a must have that didn't came with (Free and DIY).
  • Dolby Audio;
  • Microsoft Edge;
  • OneDrive;
  • Paint + Paint 3D;
  • 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);

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;
  • Enable/Disable Background Apps: Manages ALL the Background Apps;
  • Enable/Disable Clipboard History: Manages the Clipboard History;
  • Enable/Disable Cortana: Manages the Cortana;
  • Enable/Disable Old Volume Control: Manages the Old Volume Control (Win 7/8.1);
  • 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;
  • Enable/Disable WSearch Service: Manages the Windows Search Service;
  • Enable/Disable Xbox GameBar DVR: Manages the Xbox GameBar DVR (In-Game), that can record clips from games;

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: Blue colored buttons may not be able to uninstall completely and WSL UWP Apps, but WSL Distros will be unregistered);

โšก Troubleshooting Known Issues

For each issue, expand the issue you're looking for, and Open PowerShell as admin to copy + paste it's content:

Fix NVIDIA Control Panel

Only this time (Recommended - Consumes less RAM after boot)

Get-Service "NVDisplay.ContainerLocalSystem" | Set-Service -StartupType Manual -PassThru | Start-Service

Permanently (Keeps the service running along with the system)

Get-Service "NVDisplay.ContainerLocalSystem" | Set-Service -StartupType Automatic -PassThru | Start-Service
Sysprep will hang (Not Tested).

No solution yet, do a Google search

๐Ÿ… 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? Please check out the CONTRIBUTING.md file.

๐Ÿ“ License

Licensed under the MIT license.

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

win-debloat-tools's People

Contributors

ledragox avatar w4rh4wk avatar basictheprogram avatar tumpio avatar 4oo4 avatar aramboi avatar bgraeb avatar kyedavey avatar simeononsecurity avatar paulohpf avatar ogmios-voice avatar mabananet avatar chirishman avatar keescbakker avatar zpfln avatar mmikeww avatar luffitys avatar dependabot[bot] avatar sr229 avatar maci0 avatar atroxes avatar timi7007 avatar austinmroczek avatar erikves avatar diyachan avatar diox8tony avatar angelsl avatar urras avatar pythontryhard avatar parker-stephens avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.