A safe, configurable batch script to optimize Windows 11: enhance privacy, tune services, boost performance, and apply custom tweaks. All changes are toggleable and reversible.
- Privacy Hardening: Disable telemetry, ads, and data collection.
- Service Tuning: Safe optimization (keeps HID/biometrics; optional login safeguard).
- Gaming Tweaks: Disable GameDVR, optimize scheduler and multimedia.
- UI Customizations: Remove taskbar ads, suggestions, and unnecessary buttons.
- Network Optimizations: Disable Wi-Fi Sense and feeds.
- Power Management: Disable hibernation for disk savings (affects Fast Startup).
- Safe Cleanup: Clear temp files and caches (no prefetch/logs).
- Advanced Options: Group svchost, enable legacy boot menu, disable mitigations (not recommended).
- Restore Tools: Revert changes via built-in options or registry backups.
All tweaks are optional and logged. Backups and restore points are created automatically.
- Clone the repo:
git clone https://github.com/vacisdev/windows11
- Run as Admin: Double-click
Start Optimize Windows.bat
- Toggle options in the menu.
- Apply changes and reboot.
Pro Tip: Backup data and create a restore point first.
- Launch the script to see the menu with toggles (ON/OFF).
- Preview changes with [P], apply with [A], restore with [R].
- Logs and backups saved in
_perfectwindows
folder. - Monitor system after changes; reboot to apply fully.
- Report bugs or suggest features via Issues.
- Submit code via Pull Requests.
- Open an Issue for help.
MIT License - see LICENSE.md.
Made with ❤️ by Václav.