Skip to content

marawan10/Windows-Cleanup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 

Repository files navigation

⚑ Windows Cleanup & Programmer Booster

A powerful, all-in-one Windows batch script designed for developers and power users. It cleans system junk, optimizes disk performance, and frees up space by recursively deleting node_modules, build, and dist folders from your project directories.

Platform License

πŸš€ Features

🧹 System Cleanup

  • Temp Files: Cleans User Temp, Windows Temp, and Prefetch.
  • Cache: Clears Windows Update cache, Error Reports, and Delivery Optimization files.
  • Browsers: Clears caches for Google Chrome and Microsoft Edge.
  • Logs: Wipes Windows Logs, Setup Logs, and Event Logs.
  • Store: Resets Microsoft Store cache (wsreset).
  • DNS: Flushes DNS cache.

πŸ‘¨β€πŸ’» Developer Tools

  • Project Cleaning: Optionally scans your projects folder to recursively delete:
    • node_modules
    • build
    • dist
  • Memory: Forces Garbage Collection to free up RAM.

πŸ› οΈ Maintenance & Repair

  • Disk Optimization: Smart detection for SSD (Trim) vs HDD (Defrag).
  • System Repair: Optional deep scan using SFC /scannow and DISM.
  • Startup: Option to disable non-essential startup tasks.

πŸ“Š Smart Reporting

  • Calculates and displays the exact amount of disk space reclaimed (in MB) after cleanup.

πŸ“₯ Installation & Usage

  1. Download: Download the Cleanup.bat file from this repository.
  2. Run: Right-click the file and select Run as Administrator (The script will also attempt to auto-elevate if you forget).
  3. Follow Prompts: The script will ask for permission before running deep system repairs or deleting developer folders.

βš™οΈ Configuration

By default, the script looks for developer projects in %UserProfile%\Projects. If your projects are in a different location (e.g., C:\Code or D:\Work), open the script in a text editor and find this line:

for /d %%P in ("%UserProfile%\Projects\*") do (

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published