Skip to content

Latest commit

Β 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Safe-Windows-Cleaner is a lightweight Windows maintenance utility written as a Batch script. It helps users clean unnecessary temporary files, refresh system caches, and perform basic Windows health checks without touching important personal data.

What this program can do 🧹 1. Clean Temporary Files

Removes unnecessary temporary files created by Windows and applications.

Cleans:

C:\Users<Username>\AppData\Local\Temp

Examples:

Application temporary files Installation leftovers Crash dump temporary data Old cache files

Benefits:

βœ… Frees disk space βœ… Reduces unnecessary storage usage

πŸ—‘οΈ 2. Clean Windows Temporary Files

Removes system temporary files from:

C:\Windows\Temp

Contains:

Temporary Windows files Update leftovers Installation temporary data

Benefits:

βœ… Keeps Windows storage clean

🌐 3. Flush DNS Cache

Runs:

ipconfig /flushdns

Clears stored DNS records.

Helps fix:

Website not opening Wrong IP resolving Network connection issues

Example:

Before:

example.com β†’ old IP

After:

example.com β†’ new IP πŸ”„ 4. Clean Windows Update Cache

Cleans:

C:\Windows\SoftwareDistribution\Download

Removes:

Old Windows update installation files Failed update downloads Unused update packages

Benefits:

βœ… Can recover GBs of storage βœ… Helps fix Windows Update problems

♻️ 5. Empty Recycle Bin

Checks Recycle Bin status.

If:

Recycle Bin: Empty

It skips automatically.

If files exist:

Deleted: photo_old.jpg setup_file.exe

It clears them.

πŸ’½ 6. Run Windows Disk Cleanup

Uses Microsoft's built-in cleanup tool:

cleanmgr /verylowdisk

Cleans:

Temporary files Thumbnails System cache Old cleanup data 🩺 7. Windows System Health Check

Runs:

DISM /Online /Cleanup-Image /CheckHealth

Checks Windows component health.

Detects:

Corrupted system components Windows image problems πŸ“ 8. Creates Cleaning Log

Creates:

Desktop └── Windows_Cleaner_Log.txt

Stores:

Cleaning time Actions performed Completed tasks

About

A safe Windows maintenance batch tool that cleans temporary files, cache, DNS, and unused system data while skipping empty locations and protecting user files.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages