A PowerShell Based Cache Cleaner For Windows 10/11 And Hardly On Win7
CashKiller v8 is a powerful, terminal-based cache cleaning utility for Windows that combines safety, speed, and an intuitive interface. Designed for power users and system administrators, it intelligently scans and removes unnecessary cache files while protecting critical system directories.
- Administrator Verification โ Automatically elevates privileges when needed
- Critical Path Protection โ Prevents deletion of essential Windows system files
- Smart Exclusion System โ Skips protected directories like
System32,Program Files, etc. - Comprehensive Logging โ Maintains detailed logs of all operations
- .NET Enumeration โ Uses fast file enumeration for large directories
- Long Path Support โ Handles paths exceeding 260 characters via
\\?\prefix - Parallel Scanning โ Efficient multi-threaded directory analysis
- Memory Efficient โ Streamlined processing for thousands of files
- Interactive TUI โ Full-screen terminal interface with keyboard navigation
- Real-Time Progress โ Dynamic scanning progress with visual feedback
- Smart Selection โ Individual, batch, or criteria-based file selection
- Session Tracking โ Monitor freed space across multiple operations
- Size-Based Filtering โ Quickly select large files (>200MB)
- Type Recognition โ Distinguishes between files and directories
- Session Persistence โ Maintains state between scans and deletions
- Error Resilience โ Continues operation despite individual file failures
### Method 1: Using Launcher Batch File (recommended)
# Double-click or run:
Launcher.bat
### Method 2: Direct PowerShell Execution
# Run from PowerShell (admin rights will be requested)
.\CashKiller_v8.ps1
### Method 3: Manual PowerShell
powershell
# Set execution policy if needed
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process -Force
# Run script
powershell -ExecutionPolicy Bypass -File "CashKiller_v8.ps1"
CashKiller v8 scans 50+ cache locations including:
- Google Chrome (Cache, Code Cache, GPUCache)
- Microsoft Edge (Cache, Code Cache, GPUCache)
- Mozilla Firefox (cache2, startupCache)
- Opera (Cache, Code Cache, GPUCache)
- Discord (Cache, Code Cache, GPUCache)
- Telegram Desktop (cache, media_cache)
- Microsoft Teams (Cache)
- Slack (Cache, Service Worker CacheStorage)
- Skype for Desktop (Cache)
- Visual Studio Code (Cache, CachedData, GPUCache)
- npm & Yarn (Cache directories)
- JetBrains IDEs (caches)
- pip (Cache)
- Steam (appcache, shadercache)
- Epic Games Launcher (webcache)
- VLC (art cache)
- NVIDIA (DXCache, GLCache)
- Windows Temp directories
- Windows Update caches
- Office File Cache
- Zoom logs
- Terminal Server Client Cache
| Key | Action | Description |
|---|---|---|
| โ โ | Navigation | Move cursor up/down through file list |
| Space | Toggle Selection | Select/deselect current item |
| Enter | Delete Selected | Remove all selected items |
| A | Select All | Mark all items for deletion |
| U | Unselect All | Clear all selections |
| L | Large Files | Auto-select files >200MB |
| R | Reload Scan | Refresh cache list |
| Esc | Exit | Close application |
CashKiller_v8/ โโโ CashKiller_v8.ps1 # Main PowerShell script โโโ Launcher.bat # Administrator launcher โโโ README.md # This documentation โโโ Logs/ # Generated logs directory โโโ delete.log # Successful deletion records โโโ failed.log # Failed deletion attempts
- Language: PowerShell 5.1+ (Windows-native)
- Dependencies: None (pure PowerShell/.NET)
- Compatibility: Windows 10/11 (x64/x86)
- Scan Speed: 1000+ files/second (SSD)
- Memory Usage: <50MB typical
- Parallel Processing: Multi-threaded enumeration
powershell
$criticalFolders = @( "$env:SystemRoot", "$env:SystemRoot\System32", "$env:SystemRoot\SysWOW64", "$env:ProgramFiles", "$env:ProgramFiles(x86)" )
if ($Path.Length -ge 260) { $longPath = "\?$Path" }
- Success Log:
%LOCALAPPDATA%\CashKiller\delete.log - Failure Log:
%LOCALAPPDATA%\CashKiller\failed.log - Format:
[YYYY-MM-DD HH:mm:ss] Operation details - Rotation: Last 5 entries displayed in UI
batch @echo off :: CashKiller v8 Launcher :: Automatically handles UAC elevation and PowerShell execution
setlocal enabledelayedexpansion
:: Check if running as administrator net session >nul 2>&1 if %errorLevel% neq 0 ( echo Requesting administrator privileges... powershell -Command "Start-Process '%~f0' -Verb RunAs" exit /b )
:: Set console properties for better display mode con: cols=120 lines=35 title CashKiller v8 - Ultimate Cache Cleaner
:: Execute PowerShell script with bypassed execution policy echo Starting CashKiller v8... powershell -ExecutionPolicy Bypass -NoProfile -File "%~dp0CashKiller_v8.ps1"
pause
Launcher Features:
- โ Automatic UAC elevation
- โ Console window sizing (120ร35)
- โ Execution policy bypass
- โ Clean PowerShell invocation
- โ Error handling and user feedback
- Run
Launcher.bat - Press
Ato select all items - Press
Enterto delete - Review logs in
%LOCALAPPDATA%\CashKiller\
- Run script
- Press
Lto select files >200MB - Navigate with arrows to review
- Press
Enterto delete only large files
- Use arrows to navigate
- Press Space on individual items
- Mix manual and automatic selection
- Delete only chosen items
CashKiller will not delete from:
- Windows system directories
- Program Files folders
- Critical Microsoft caches
- Any path matching protected patterns
powershell
Copy-Item "$env:LOCALAPPDATA\CashKiller\delete.log" "C:\Backups\CashKiller_Backup.log"
- Log Files: Check
delete.logfor removed items - Recycle Bin: Some deletions may go to recycle bin
- System Restore: Use Windows System Restore if needed
- โ Fixed TUI rendering bugs
- โ Improved progress bar stability
- โ Enhanced path length handling
- โ Optimized scanning performance
- โ Added Launcher.bat for easy execution
โ ๏ธ Known UI corruption issuesโ ๏ธ Inefficient recursive scanningโ ๏ธ Limited error handlingโ ๏ธ No critical path protection
- Fork the repository
- Create a feature branch (
git checkout -b feature/AmazingFeature) - Commit changes (
git commit -m 'Add AmazingFeature') - Push to branch (
git push origin feature/AmazingFeature) - Open a Pull Request
- Maintain backward compatibility
- Add comprehensive error handling
- Include PowerShell help comments
- Test on Windows 10 & 11
This project is licensed under the MIT License - see the LICENSE file for details.
MIT License
Copyright (c) 2026 CashKiller Development Team
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
- AGlegend โ Original concept and development by me
- Windows PowerShell Team โ PowerShell runtime
- Open Source Community โ Testing and feedback
- All Contributors โ Bug reports and feature suggestions
- GitHub Issues: [Report bugs or request features]
- Email: [Your contact email]
- Join discussions on GitHub
- Share your use cases
- Suggest new cache locations
- Run Weekly โ Regular cleaning maintains system performance
- Review Logs โ Check
failed.logfor persistent issues - Combine Tools โ Use with disk cleanup for comprehensive maintenance
- Schedule Tasks โ Automate with Windows Task Scheduler
- Monitor Results โ Track freed space over time
Happy Cleaning! ๐งนโจ
CashKiller v8 โ Because your storage deserves freedom.
This README provides:
- Comprehensive documentation with badges and visual hierarchy
- Clear installation and usage instructions
- Detailed feature explanations
- Technical specifications
- Safety guidelines
- Version comparison
- Professional formatting for GitHub/GitLab
- Easy copy-paste format within the code block
these are my wallet address to donating thanks for reading until end๐๐
- USDT
0xC593BbeC90A85c236A1eF720653aBb7F03BF2C31
2.BTC
bc1q4qdyh5865yw2chyyq3rnzsj67eres9p3hthtg4
3.Solana
FwpGTehNp2ZRB8382eiEuCQxdp99YeKVo88V2GEDXwZ
4.ETH
0xC593BbeC90A85c236A1eF720653aBb7F03BF2C31