⚠️ Use at your own risk. This script is provided as-is with no guarantee. Always review and test before using in production environments.
A one-click batch script for deep cleaning Windows 10 and 11 systems.
Designed for IT professionals, technicians, and power users.
- Kills common file-locking apps: Word, Excel, Chrome, Teams, etc.
%temp%
C:\Windows\Temp
C:\Windows\Prefetch
(with ownership fix)C:\Windows\SoftwareDistribution\Download
- Clears:
- Run dialog
- File Open/Save history
- RecentDocs
- Explorer Home (Favorites + Recents)
- Jump list entries
- Deletes
Windows.old
if present - Launches Disk Cleanup (admin)
- Runs
sfc /scannow
- Creates a log file:
%UserProfile%\Desktop\Cleanup_Log.txt
- Logs all actions, errors, and a final summary
- Offers a reboot at the end
- Skipping opens the log in Notepad
👉 Click here to download the latest version (ZIP)
Licensed under the MIT License
(c) 2025 USAMAC