Welcome to the Windows Optimization Script! This script is designed to simplify and streamline various optimization tasks on your Windows system using native Windows commands. It covers a wide range of tasks to enhance your system's performance and stability. Please read this readme carefully before using the script.
This script simplifies a variety of optimization tasks for your Windows system. It includes tasks like enabling system restore, configuring service startup types, disabling Cortana, stopping Xbox-related services, adjusting power settings for better performance, cleaning temporary files, and resetting Windows Update policies.
Most ease of use, copy the following command, open cmd, copy the following command and paste it into cmd and press enter - et voilà!:
curl https://raw.githubusercontent.com/rajtsic/WuFix/main/WuFix-main.CMD > C:\Users\%USERNAME%\Downloads\WuFix-main.CMD && C:\Users\%USERNAME%\Downloads\WuFix-main.CMD && exit
The script is designed to automatically request and acquire administrative rights at the beginning. To run the script, simply follow these steps:
-
Download the Script: Download the script file to your computer.
-
Rightclick and unblock Locate the downloaded script file and right-click on it > choose properties > unblock > ok
-
Double-Click to Run: (dont start as admin) Double-click on it. The script will automatically request and acquire administrative rights and proceed.
The script comes in two variants: "onlyWufix" and "Normal," each serving different purposes.
The "onlyWufix" variant mainly performs the following tasks:
- Checks for admin rights and elevates permissions if necessary.
- Creates a system restore point.
- Deletes temporary files.
- Resets BITS (Background Intelligent Transfer Service).
- Runs DISM (Deployment Imaging Service and Management Tool) scan.
- Executes SFC (System File Checker) scan.
- Reboots the system.
- Runs a chkdsk scan.
This script is effective in resolving Windows update issues and serves as a general system maintenance tool.
The "Normal" variant does more for system performance and is targeted towards business and enterprise end-user computers but can be used by any Windows user. In addition to the tasks performed by "onlyWufix," the "Normal" script also:
- Stops and disables startup Xbox-related services.
- Disables Cortana (End of Life).
- Enables the use of the Print Screen button to open the Snipping Tool.
- Enables Storage Sense and configures basic settings.
- Customizes visual effects for enhanced performance.
- Enables Processor Performance Boost mode (if compatible hardware is present).
- Sets minimum and maximum processor states to 100% when plugged in.
This script makes significant changes to your system settings, services, and configurations. Only use it if you are confident in its effects.
The script may take some time to complete, depending on your system's hardware and the tasks being performed. On average, it takes about 20-30 minutes to run within CMD. The script will prompt you to reboot, and after that, the chkdsk scan can take an additional 20-30 minutes or even longer.
For any questions, issues, or feedback related to this script, please visit the GitHub Discussions page. Your feedback is valuable in improving this script for the community.
Enjoy an optimized Windows experience! 🚀
Use this space to list resources you find helpful and would like to give credit to. I've included a few of my favorites to kick things off!