Skip to content

One-click Windows cleanup script for techs and power users. Cleans junk files, resets Explorer, runs SFC, and more.

License

Notifications You must be signed in to change notification settings

usamac/DeepClean-Windows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DeepClean.bat – Windows Cleanup Script by USAMAC

MIT License Windows Batch Script


⚠️ Use at your own risk. This script is provided as-is with no guarantee. Always review and test before using in production environments.

🔧 What is DeepClean.bat?

A one-click batch script for deep cleaning Windows 10 and 11 systems.
Designed for IT professionals, technicians, and power users.


✅ What It Does

🔁 App & File Lock Handling

  • Kills common file-locking apps: Word, Excel, Chrome, Teams, etc.

🧹 Cleans System Junk

  • %temp%
  • C:\Windows\Temp
  • C:\Windows\Prefetch (with ownership fix)
  • C:\Windows\SoftwareDistribution\Download

🗂 File Explorer History Reset

  • Clears:
    • Run dialog
    • File Open/Save history
    • RecentDocs
    • Explorer Home (Favorites + Recents)
    • Jump list entries

🧰 OS Maintenance

  • Deletes Windows.old if present
  • Launches Disk Cleanup (admin)
  • Runs sfc /scannow

📋 Logging

  • Creates a log file:
    %UserProfile%\Desktop\Cleanup_Log.txt
  • Logs all actions, errors, and a final summary

🔁 Restart Prompt

  • Offers a reboot at the end
  • Skipping opens the log in Notepad

📦 Download

👉 Click here to download the latest version (ZIP)


📜 License

Licensed under the MIT License
(c) 2025 USAMAC

About

One-click Windows cleanup script for techs and power users. Cleans junk files, resets Explorer, runs SFC, and more.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks