Re-imagining Windows like a minimal OS install, already debloated with minimal impact for most functionality.
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Plínio Larrubia bc18d80d9d
Oops, re-enable Software install
2 weeks ago
.github Updated Window Title 2 weeks ago
src Oops, re-enable Software install 2 weeks ago
.gitignore The Windows Terminal install now comes with Meslo NF fonts 2 weeks ago
LICENSE.txt Update how LICENSE is displayed 2 weeks ago
OpenTerminalHere.cmd Updated file to open terminal first, otherwise powershell 2 weeks ago
README.md Fix table misalignment 2 weeks ago
Win10ScriptCLI.ps1 Fix coding errors again, and reset alerts 2 weeks ago
Win10ScriptGUI.ps1 Revamped Git And Keys Setup 2 weeks ago

README.md

Win 10+ Smart Debloat Tools

This Project was adapted from W4RH4WK's Project

PSScriptAnalyzer

📄 Resume

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

Use on a fresh windows install to note the differences.

⚠️ Disclaimer: You're doing this at your own risk, I am not responsible for any data loss or damage that may occur.

🚀 Download Latest Version

Code located in the main branch is always considered under development, but you'll probably want the most recent version anyway.

Download Version(s) Supported Edition(s) PowerShell Version

⬇️ Zip File ⬇️

21H2 or Older Home / Pro v5.1+

🔄 Roll-Back

If something breaks you can rely on:

  1. A restoration point;
  2. The repair-windows.ps1 file or button on Win10ScriptGUI.ps1;
  3. If you want (almost) everything to it's original state, use the Revert Tweaks button on Win10ScriptGUI.ps1.

Usage Requirements

The Win10Script/GUI.ps1 do not make everything automatically, follow these steps.

  • Extract the .zip file.
  • Open OpenTerminalHere.cmd (For beginners) or the Powershell as admin on it's folder.
  • 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.

GUI Script Features

Click to expand
  • Apply Tweaks: Run every Common Tweak scripts;
  • Remove Xbox from Windows: Wipe Xbox Apps, disable Services related to Xbox and GameBar/GameDVR; (remove-and-disable-xbox.ps1)
  • Repair Windows: Try to Completely fix the Windows worst problems via Command Line; (backup-system.ps1 and repair-windows.ps1)
  • Reinstall Pre-Installed Apps: Rebloat Windows with all the Pre-Installed Apps; (reinstall-pre-installed-apps.ps1)
  • Revert Tweaks: Re-apply some tweaks and [Revert] all possible ones, covering the Scheduled Tasks, Services, Privacy and Performance, Personal and Optional Features tweaks;
  • Dark Theme & Light Theme: Apply Dark Theme or Light Theme on Windows;
  • Enable/Disable Search Indexing: Let you choose whether the Windows Search Service is enabled or disabled;
  • Enable/Disable Background Apps: Let you choose whether ALL the Background Apps are enabled or disabled;
  • Enable Telemetry & Disable Telemetry: Let you choose whether the Windows Telemetry is enabled or disabled;
  • Enable/Disable Cortana: Let you choose whether the Cortana is enabled or disabled;
  • Enable/Disable Xbox GameBar/DVR: Let you choose whether the Xbox GameBar/DVR (In-Game) is enabled or disabled;
  • Enable/Disable Clipboard History: Let you choose whether the Clipboard History is enabled or disabled;
  • Enable/Disable Old Volume Control: Let you choose whether the Old Volume Control (Win 7/8.1) is enabled or disabled;
  • Install CPU/GPU Driver Updater: This WILL NOT install anymore the drivers, only the drivers updater. (install-drivers-updaters.ps1);
    • The Latest CPU for driver updater. For Intel, Intel DSA (Winget) (Except AMD);
    • The Latest GPU driver updater. For Intel (DSA) and NVIDIA, NVIDIA GeForce Experience (Winget) (Except AMD);
  • Install Gaming Dependencies: Install all Gaming Dependencies required to play games (DirectX, VC++ 2005+ (x86 & x64), .NET Framework). (install-gaming-dependencies.ps1);
  • Every software installation is explicitly showed;

☑️ Common Script Features

Click to expand

Troubleshooting Known Issues

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

Fingerprint Reader / Facial Detection not Working (WbioSrvc service was disabled) - See #189 from W4RH4WK
Get-Service WbioSrvc | Set-Service -StartupType Automatic -PassThru | Start-Service
Issues with Skype (Microsoft.SkypeApp app was uninstalled) - See #79 from W4RH4WK
winget install --silent --source "msstore" --id "Microsoft.Skype"
Bring back Taskbar Widgets (Windows 11) - See #7
  1. Press Win + R then paste this protocol: ms-windows-store://pdp/?ProductId=9MSSGKG348SP
  2. Then click Get/Install
  3. After this, open the Taskbar Settings and enable the Widgets button again
Sysprep will hang (Not Tested).

No solution yet, do a Google search

Contribute

I would be happy to extend the collection of scripts. Just open an issue or send me a pull request. (Yes, if it's useful, you can).

TIP: To clone quickly, use this command:

git clone --filter=tree:0 https://github.com/LeDragoX/Win-10-Smart-Debloat-Tools.git

🤍 Credits

🔧 Tweak Testers

  • yCr-shiddy - Helped giving more ideas and fixes;

🏅 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 check out:

🔎 How did i find specific Tweaks?

Click to expand

How To (Advanced Users)

By using SysInternal Suite Procmon(64).exe i could track the SystemSettings.exe by filtering per Process Name (Ctrl + L).

  • But, not every time filtering the application you want will show the registry tweaks that were applied, so make sure other processes appear.
  • Then use Clearing the list (Ctrl + X) (But make sure it is Capturing the Events (Ctrl + E)) and finally, applying an option of the Windows Configurations and searching the Registry Key inside Procmon(64).exe.
  • Also make sure to disable the Events being captured (Ctrl + E) after applying a specific config.

Grab the current tweak on registry with Procmon64.exe

After finding the right register Key, you just need to Right-Click and select Jump To... (Ctrl + J) to get on it's directory.

Showing on regedit

📝 License

Licensed under the MIT license.