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 simple 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 the
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 unnecessary animations and sets performance-based visual settings.
- Optional Bloatware Removal – Removes 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 – Optimizes several settings including:
- Graphics Driver Scheduler: Disables preemption.
- Large System Cache: Enabled for improved performance.
- Multimedia Class Scheduler Service: Disabled.
- TCP Ack Frequency: Optimized for smoother networking.
- Diagnostic Tracking: Services disabled.
- Win32PrioritySeparation: Set for gaming performance.
- Download or clone this repository.
- Locate the file
WinTweaksInteractive.cmd
. - Right-click on the
.cmd
file and select "Run as administrator." - Follow the on-screen instructions. Some operations (like SFC or DISM) may take a while to complete.
- Restart your computer once the script completes to ensure all changes take effect.
Tip: Always review the script contents before running. You can comment out any lines you do not wish to execute.
- Backup Your System: It is 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 boot configuration. Incorrect modifications may cause unexpected behavior.
- Administrator Privileges: The script must be run with elevated privileges. Otherwise, most tweaks will not apply and errors may occur.
- Check Compatibility: While the tweaks are optimized for Windows 11, many are also compatible with Windows 10.
- Network Adapters: Some TCP/IP tweaks (such as
TcpAckFrequency
) might require manual adjustments per network adapter. - No Warranty: This project is provided "as-is" with no warranty. You assume full responsibility for any system changes.
Coming Soon!
Screenshots of the script in action (in Command Prompt or PowerShell) and examples of successful fixes will be added soon.
Contributions are welcome! If you have suggestions for improvements or find a bug, please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Ensure your code is well-commented and tested.
- Open a Pull Request with a clear description of your changes.
If you encounter issues or have feature requests:
- Open an Issue in this repository.
- Provide a detailed description along with steps to reproduce the problem or outline your suggestion.
This project is licensed under the MIT License. See the LICENSE file for details.
Enjoy your optimized Windows 11!
If this script helped you, please star the repository and share it 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.