Ultimate Windows 11 optimization, fixes, and performance enhancements – all in a single script.
This all-in-one batch file aims to streamline essential Windows 11 fixes, speed tweaks, privacy enhancements, and performance boosts. It combines System File Checker (SFC), DISM repairs, Windows Update resets, Microsoft Store repairs, plus advanced registry and boot tweaks for maximum system optimization.
This repository provides a free and open-source solution to help Windows 11 users quickly fix common issues, optimize performance, and tweak privacy settings. Whether you're experiencing system crashes, sluggish performance, or want to remove bloatware and disable telemetry, this script can do it all in just a few steps.
- System File Checker (SFC) – Automatically scans and repairs corrupted system files.
- DISM – Restores system health with the
/scanhealth
,/checkhealth
, and/restorehealth
commands. - Windows Update Reset – Stops relevant services, clears
SoftwareDistribution
andcatroot2
folders, and restarts services. - Microsoft Store Repair – Re-registers Store applications to fix many Windows Store and UWP app issues.
- Privacy Tweaks – Disables telemetry, Cortana, and location services for enhanced privacy.
- Visual Effects Adjustment – Disables animations and set performance-based visual settings.
- Optional Bloatware Removal – Remove common pre-installed apps to declutter your system.
- BCD Tweaks – Includes advanced boot tweaks like:
bcdedit /set tscsyncpolicy enhanced
bcdedit /deletevalue useplatformtick
bcdedit /set bootmenupolicy legacy
- Advanced Registry Edits –
- Graphics Drivers Scheduler: Disable preemption
- LargeSystemCache enabled
- Multimedia Class Scheduler Service disabled
- TCP Ack Frequency optimization
- Diagnostic Tracking services disabled
- Win32PrioritySeparation set for gaming performance
- Download or clone this repository.
- Locate the file
Win11_AllInOneTweaks.bat
. - Right-click on the
.bat
file and select “Run as administrator.” - Follow on-screen instructions. Some operations (like SFC or DISM) may take a while.
- Restart your computer once the script completes to ensure all changes take effect.
Tip: Always review the
.bat
file contents. You can comment out any lines you don’t want to use.
- Backup Your System: It’s highly recommended to create a System Restore Point or a full system backup before running the script.
- Use at Your Own Risk: This script applies advanced tweaks to your system’s registry and BCD. It may result in unexpected behavior if not used carefully.
- Administrator Privileges: Must be run with elevated privileges. Otherwise, most tweaks won’t apply, and you may see errors.
- Check Compatibility: Some of these tweaks are specifically for Windows 11 but may also work on Windows 10.
- Network Adapters: Certain TCP/IP tweaks (e.g.,
TcpAckFrequency
) may need manual edits per adapter in the registry. - No Warranty: The author(s) of this repository provide no warranty. You assume all responsibility for system changes.
Coming Soon!
We plan to include screenshots of the script running in Command Prompt or PowerShell and examples of successful fixes.
We welcome pull requests to update, improve, or refine the script. Please ensure:
- Your code is commented and tested.
- You adhere to best practices to avoid system instability.
- Provide a clear description in your Pull Request.
If you find a bug or want to request a feature:
- Open an Issue in this repo.
- Provide a detailed description of the bug or request.
- Include steps to reproduce or expected vs. actual behavior.
Enjoy your optimized Windows 11!
For any questions or feedback, open an issue or reach out on GitHub. We look forward to hearing your success stories or improvements.
Remember: If this script helped you, please star the repository and share with others looking for a comprehensive Windows 11 fix and tweaks solution!
Feel free to contribute or report bugs via GitHub. Pull requests are welcome!
If you appreciate this tool, you can support its development by donating here:
PayPal - Jakub Ambrus
This project is licensed under the MIT License. See LICENSE
for details.