A lightweight, no bloat Windows maintenance toolkit in a .bat.
Unlike bloated scripts WinSysMaintain-CLI is:
- Minimal – Just the essentials.
- Portable – No installation required. Ideal for USB drives, remote work, or IT toolkits.
Choose your level of cleanup with a single keypress:
| Mode | Tasks Performed |
|---|---|
| Windows Update | Installs Windows updates (no driver updates) |
| Basic | System File Checker (SFC) only |
| Standard | DISM Image Repair SFC Scan |
| Comprehensive | CHKDSK DISM Image Repair SFC Scan |
| Utilities | Defender Quick Scan MSRT SigVerif Disk Cleanup DNS Flush |
| Sysinternals Tools | Downloads and extracts tools like Autoruns, TCPView, and Process Explorer |
| Winaero Tweaker | Downloads Winaero Tweaker (Windows customization tool) |
| Port Check | netstat -abn + netstat -a -n -o |
| Update or Repair | Downloads the latest version of the script from GitHub and verifies its integrity |
| DNS Management | Set DNS to Google or Cloudflare (IPv4 and IPv6) Restore automatic DNS (DHCP) Enable DNS over HTTPS (DoH) |
To get started with WinSysMaintain-CLI, follow these steps:
-
Download the Script: Open cmd and run the following command to download the latest version of the script:
powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "Invoke-WebRequest -Uri 'https://raw.githubusercontent.com/KristupasJon/WinSysMaintain-CLI/main/WinSysMaintain.bat' -ErrorAction Stop -OutFile 'WinSysMaintain.bat'" -
Run the Script: Right click the downloaded
WinSysMaintain.batfile and select Run as Administrator.

