Administrator Required: The generated script must be run with Administrator privileges.
Save all work before running as some operations may require system restart.
CRITICAL - BACKUP FIRST: Before running this script, ALWAYS create a full system backup and Windows System Restore Point. While this script is designed to be safe, system modifications always carry inherent risks.
Pre-Run Checklist: Pre-Run Checklist:
- Create a full system backup (external drive recommended)
- Create a System Restore Point
- Ensure you have Administrator privileges
- Close all non-essential applications
- Connect device to power source if applicable
CRITICAL - BACKUP FIRST: Before running this script, ALWAYS create a full system backup and Windows System Restore Point. While this script is designed to be safe, system modifications always carry inherent risks.
Pre-Run Checklist: Pre-Run Checklist:
- Create a full system backup (external drive recommended)
- Create a System Restore Point
- Ensure you have Administrator privileges
- Close all non-essential applications
- Connect device to power source if applicable
Select System Cleaning & Repair Functions
Cleans user and system temporary files, recent documents, and prefetch cache. Frees disk space and removes potential malware hiding spots.
Permanently removes all items from the Recycle Bin, freeing up disk space.
Clears DNS resolver cache to fix network connectivity issues and ensure fresh DNS lookups.
Runs the built-in Windows Disk Cleanup utility to remove system files, update cache, and temporary internet files.
Advanced cleaning using BleachBit portable for deep system cleanup including logs, clipboard, and update residues. Requires BleachBit.exe in script folder.
System Repair & Integrity Functions
Scans and repairs corrupted Windows system files. Essential for system stability and security.
Repairs the Windows Component Store which SFC relies on. Essential for complete system repair.
Performs an informational disk check to identify file system errors. Does not fix issues automatically.
Security & Malware Protection
Enables enhanced Defender settings: real-time protection, cloud protection, sample submission, and controlled folder access in audit mode.
Performs a comprehensive full system scan with Microsoft Defender. This may take several hours.
Downloads and runs Microsoft's Emergency Response Tool for deep malware and rootkit detection. Tool is removed after use.
Downloads and runs Malwarebytes AdwCleaner to remove adware, toolbars, and potentially unwanted programs. Tool is removed after use.
Prompts user to run an offline scan that boots before Windows to detect persistent threats. Requires system reboot.
System Updates & Maintenance
Checks for and installs available Windows updates via PowerShell. Critical for security and system stability.
Reporting & Notifications
Attempts to send the log file via email using SwithMail. Requires SwithMail.exe and proper configuration.
Placeholder for TRMM (Remote Monitoring) integration. Requires custom webhook configuration.