
Fix Windows 10 and 11 Like a Pro with This Handy Automation Script
troubleshooting system issues often involves running a series of built-in tools to identify and resolve problems. Microsoft itself recommends several native utilities — like Task Manager , Registry Editor , SFC , and DISM — to help diagnose and repair corrupted files, network errors, and other common issues.
In addition to those, there are also command-line tools that can help with DNS-related problems, driver status checks, and more.
Now, thanks to a helpful script created by a Reddit user, many of these repetitive tasks can be automated into one easy-to-use package.
🛠️ Introducing the Windows Maintenance Tool
A community developer has released what’s being called the Windows Maintenance Tool — a batch script (.BAT file) designed to simplify system maintenance. According to its creator, this script is “a one-stop solution for cleaning up your system, diagnosing issues, fixing common network problems, and generating useful reports.”
It uses standard Windows tools like netsh
, ipconfig
, systeminfo
, and others under the hood, making it both safe and effective without requiring any third-party software.
Here’s what the tool currently offers:
- Run SFC , DISM , and CHKDSK from a single menu
- Automatically restart network adapters
- Flush or set custom DNS servers (like Google or Cloudflare)
- Repair Windows Update issues by resetting services and cache
- Generate detailed system reports (saved as
.txt
files on the desktop) - Show installed drivers
- Clean up temporary files
- Perform manual registry backup and restore
🔐 Admin Privileges Made Easier
One useful improvement in the latest version is the ability to automatically relaunch itself with administrator privileges if the user forgets to run it as admin. This makes the tool more user-friendly while still ensuring it has the necessary permissions to perform deep system fixes.
You can download the latest version of the Windows Maintenance Tool directly from its GitHub page .
⚠️ A Word of Caution
Although the script uses only built-in Windows commands, it’s always wise to back up your system before running any automation tool — especially if you’re not familiar with what it does. Testing it first in a virtual machine (VM) is also a good idea, particularly for enterprise environments.
The tool was originally shared by Lil_Batti on Reddit and has since gained popularity among users looking to save time on routine system maintenance.