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

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.
High Safety Recommended
Permanently removes all items from the Recycle Bin, freeing up disk space.
High Safety Recommended
Clears DNS resolver cache to fix network connectivity issues and ensure fresh DNS lookups.
High Safety Recommended
Runs the built-in Windows Disk Cleanup utility to remove system files, update cache, and temporary internet files.
High Safety Recommended
Advanced cleaning using BleachBit portable for deep system cleanup including logs, clipboard, and update residues. Requires BleachBit.exe in script folder.
High Safety Recommended

System Repair & Integrity Functions

Scans and repairs corrupted Windows system files. Essential for system stability and security.
High Safety Recommended
Repairs the Windows Component Store which SFC relies on. Essential for complete system repair.
High Safety Recommended
Performs an informational disk check to identify file system errors. Does not fix issues automatically.
High Safety Optional

Security & Malware Protection

Enables enhanced Defender settings: real-time protection, cloud protection, sample submission, and controlled folder access in audit mode.
High Safety Recommended
Performs a comprehensive full system scan with Microsoft Defender. This may take several hours.
High Safety Recommended
Downloads and runs Microsoft's Emergency Response Tool for deep malware and rootkit detection. Tool is removed after use.
High Safety Recommended
Downloads and runs Malwarebytes AdwCleaner to remove adware, toolbars, and potentially unwanted programs. Tool is removed after use.
High Safety Recommended
Prompts user to run an offline scan that boots before Windows to detect persistent threats. Requires system reboot.
Medium Safety Advanced

System Updates & Maintenance

Checks for and installs available Windows updates via PowerShell. Critical for security and system stability.
Medium Safety Recommended

Reporting & Notifications

Attempts to send the log file via email using SwithMail. Requires SwithMail.exe and proper configuration.
High Safety Optional
Placeholder for TRMM (Remote Monitoring) integration. Requires custom webhook configuration.
High Safety Development

Generated Script Code (Copy & Paste)