A lightweight, open-source Windows optimization tool written in Python. Applies system-level tweaks to reduce background bloat, lower latency, and improve performance for gaming and heavy workloads.
No installation required. Just download one file and run it.
- Download
WindowsOptimizer.bat - Right-click → Run as administrator
The launcher will automatically:
- Download the source code from this repository
- Install Python if it's not already on your system
- Install the required dependency (
customtkinter) - Launch the optimizer
Want to verify what it does before running? Open the
.batfile in any text editor — it's plain readable script.
| Category | What it does |
|---|---|
| Deep Clean | Clears Temp files, Prefetch, Recycle Bin, and runs DISM Component Store cleanup |
| Power & CPU | Applies Ultimate Performance power plan and adjusts Win32 timer resolution |
| Gaming Tweaks | Enables Game Mode and HAGS, disables Xbox DVR overlay |
| Bloatware & Telemetry | Disables startup apps, telemetry collection, and Windows Search indexing |
| Network Tuning | Flushes DNS and optimizes the TCP stack for lower latency |
- Windows 10 / 11
- Administrator privileges (the launcher requests this automatically)
- Internet connection (first run only, to download Python and the source)
git clone https://github.com/TR4IS/WindowsOptimizer.git
cd WindowsOptimizer
pip install customtkinter
python WindowsOptimizer.py- Administrator required — registry and service changes won't apply without it.
- Restart recommended — HAGS, power plan, and some registry changes take full effect after a reboot.
- DISM /resetbase is irreversible — Windows Update rollback will be disabled after this step.
- No undo — the tool doesn't save previous settings. Use with caution on production systems.
- Startup removal is list-based — it targets common bloat apps, not every possible program.