🚀 Deep Clean Pro v2.1.2 - Security-Hardened Release
Release Date: September 22, 2025
Type: Major Security Update
Download: Latest Release
🔒 Security First
This release addresses critical security vulnerabilities and introduces significant performance improvements. All users should upgrade immediately.
Critical Security Fixes
- ✅ Eliminated Remote Code Execution - No more
irm | iexpatterns - ✅ SHA256 Hash Verification - All downloads verified before execution
- ✅ Administrator Validation - Built-in privilege checking
- ✅ Secure Execution Policy - RemoteSigned instead of Bypass
⚡ What's New
Safer Operations & Automation
# Preview changes without applying (supported widely in the script)
.\DeepCleanPro.ps1 -WhatIf
# Non-interactive reboot when running automated
.\DeepCleanPro.ps1 -AutoRebootProcess-Scoped Execution Policy
Policy changes are now limited to the current PowerShell process with best-effort restore of the original CurrentUser policy.
More Reliable OneDrive Backup
OneDrive backup now uses robocopy for speed and resilience, with a log file written for auditing.
Safer Registry & Services Changes
- Registry keys are exported to
.regfiles before modification - Original service startup modes are exported to CSV for potential restore
QuickMode - 70% Faster Execution
# Regular maintenance in just 10-15 minutes
.\DeepCleanPro.ps1 -QuickModeUltra Mode - Lightning Fast Cleanup
# Complete cleanup in 5-10 minutes
.\DeepCleanPro.ps1 -QuickMode -SkipUpdates -NoRebootEnvironment Variable Support
# Configure once, run anywhere
$env:DEEPCLEANPRO_BASE_PATH = "D:\Tools"
$env:DCP_QUICK_MODE = "true"
.\DeepCleanPro.ps1 # Uses your configurationAutomated Deployment
Optional Windows Policy Helper
New opt-in policy configuration helper with backup/restore and verification, integrated into the main script via -FixPolicies.
# Run from the main script
.\DeepCleanPro.ps1 -FixPolicies
# Or run directly
.\Scripts\Fix-WindowsPolicies.ps1 -BackupPath "$env:TEMP\PolicyBackup.json" -NoPause
# Restore later
.\Scripts\Fix-WindowsPolicies.ps1 -RestoreBackup -BackupPath "C:\Path\PolicyBackup.json"Test Coverage
Basic Pester tests added for the policy helper under .github\tests\FixWindowsPolicies.Tests.ps1. A -SkipAdminCheck flag is available for test automation only.
# One-command setup
.\DEPLOY.ps1 -CreateScheduledTask -GistID "your_id"📊 Performance Metrics
| Operation | v2.1.1 | v2.1.2 Full | v2.1.2 Quick | Improvement |
|---|---|---|---|---|
| Total Time | 45 min | 30-45 min | 10-15 min | 70% faster |
| DISM | 15 min | 15 min | Skipped | Save 15 min |
| OneDrive | 10 min | 10 min | Skipped* | Save 10 min |
| Updates | 15 min | 15 min | Optional | Save 0-15 min |
*With safety warnings
🛠️ Breaking Changes
None! This release maintains 100% backward compatibility.
However, please note:
- Project renamed from "Win-Clean Pro" to "Deep Clean Pro"
- Default path changed from
C:\ScriptstoC:\DeepCleanPro - Shortcuts now use
RemoteSignedinstead ofBypass
📦 What's Included
Core Scripts
DeepCleanPro.ps1- Main optimization script (security-hardened)DEPLOY.ps1- Automated deployment script (new)CreateDesktopShortcuts.ps1- Secure shortcut creatorVALIDATE.ps1- Security validation tool (new)
Desktop Shortcuts
- 🌐 Deep Clean Pro - Full Online
- ⚡ Deep Clean Pro - Quick Online (new)
- 🔇 Deep Clean Pro - Silent Online
- 🛡️ Deep Clean Pro - Conservative Online
- 🚀 Deep Clean Pro - Ultra Online (new)
- 💾 Deep Clean Pro - Local
Documentation
- Comprehensive README.md
- Step-by-step DEPLOYMENT_GUIDE.md
- Complete CHANGELOG.md
- This RELEASE_NOTES.md
🚀 Quick Start
New Users
# Clone and deploy
git clone https://github.com/DiodacElectronics/Deep-Clean-Pro.git
cd Deep-Clean-Pro
.\DEPLOY.ps1
# Validate installation
.\Scripts\VALIDATE.ps1
# Run first optimization
.\DeepCleanPro.ps1Existing Users - Upgrade
# Backup existing
Copy-Item "C:\Scripts\WinCleanPro.ps1" "C:\Scripts\WinCleanPro_backup.ps1"
# Get new version
git clone https://github.com/DiodacElectronics/Deep-Clean-Pro.git
cd Deep-Clean-Pro
.\DEPLOY.ps1
# Update your GitHub Gist
# Go to: https://gist.github.com/YOUR_USERNAME/GIST_ID
# Replace content with new DeepCleanPro.ps1⚠️ Important Notes
For GitHub Gist Users
If you use online desktop shortcuts, you MUST update your GitHub Gist:
- Go to your gist
- Click "Edit"
- Replace content with new
DeepCleanPro.ps1 - Click "Update gist"
For Scheduled Tasks
Update scheduled tasks to use new path:
# Old path: C:\Scripts\WinCleanPro.ps1
# New path: C:\DeepCleanPro\DeepCleanPro.ps1🔍 Validation
After installation, run validation to ensure everything works:
C:\DeepCleanPro\Scripts\VALIDATE.ps1
# Run local Pester tests from repo root
Invoke-Pester -Path .\.github\tests\MyModule.Tests.ps1 -CIExpected output:
✅ Administrator privileges confirmed
✅ PowerShell 5.1+ Compatible
✅ Environment variable support working
✅ QuickMode parameter logic working
✅ Execution policy compatible
... (all tests should pass)
📈 Benchmarks
Test System
- Windows 11 Pro 23H2
- Intel i7-12700K
- 32GB RAM
- 1TB NVMe SSD
Results
| Mode | Time | Services Disabled | Space Freed | RAM Freed |
|---|---|---|---|---|
| Full | 42 min | 59 | 13.2 GB | 1.9 GB |
| Quick | 12 min | 59 | 11.8 GB | 1.8 GB |
| Ultra | 6 min | 52 | 8.4 GB | 1.6 GB |
🐛 Known Issues
- OneDrive cloud-only files may not backup in QuickMode
- Some antivirus software may flag PowerShell shortcuts
- Windows Defender SmartScreen may warn about downloaded scripts
Workarounds
# For SmartScreen warnings
Unblock-File -Path .\DeepCleanPro.ps1
# For antivirus issues
# Add C:\DeepCleanPro to exclusions🙏 Acknowledgments
Thanks to all contributors and users who reported security issues and suggested improvements.
Special thanks to:
- Security researchers who identified the RCE vulnerability
- Beta testers for QuickMode optimization
- Community members for documentation improvements
📞 Support
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Security: Report vulnerabilities to security@isystem.app
- Email: info@isystem.app
🔜 What's Next
v2.2.0 (Planned)
- Cloud backup integration
- Custom optimization profiles
- PowerShell 7 support
- GUI version
- Telemetry dashboard
v3.0.0 (Future)
- AI-powered optimization
- Real-time monitoring
- Remote management
- Enterprise console
📜 License
Deep Clean Pro is released under the MIT License. See LICENSE for details.
Thank you for using Deep Clean Pro!
If this tool has helped you, please consider:
- ⭐ Starring the repository
- 🐛 Reporting issues
- 💡 Suggesting features
- 🤝 Contributing code
Deep Clean Pro v2.1.2 - Where Security Meets Performance 🚀🔒