Skip to content

KristupasJon/WinSysMaintain-CLI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 

Repository files navigation

WinSysMaintain-CLI

A lightweight, no bloat Windows maintenance toolkit in a .bat.

Main Menu


Why WinSysMaintain-CLI?

Unlike bloated scripts WinSysMaintain-CLI is:

  • Minimal – Just the essentials.
  • Portable – No installation required. Ideal for USB drives, remote work, or IT toolkits.

Self-Updating


Maintenance Modes

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)

Installation

To get started with WinSysMaintain-CLI, follow these steps:

  1. 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'"
  2. Run the Script: Right click the downloaded WinSysMaintain.bat file and select Run as Administrator.


Sources

About

A lightweight Windows system maintenance toolkit in a single BAT script

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published