Tuneup.bat __exclusive__ May 2026
@echo off title Windows System Tune-up Utility color 0A
call :log "[12/12] Optimizing virtual memory and services..." wmic pagefileset set initialsize=4096,maxsize=8192 >nul 2>&1 net stop SysMain >nul 2>&1 sc config SysMain start= disabled >nul 2>&1 call :log " Virtual memory and services optimized." tuneup.bat
:: ============================================ :: PHASE 3: SYSTEM HEALTH :: ============================================ call :log "Phase 3: System Health Checks" call :log "------------------------------" @echo off title Windows System Tune-up Utility color
call :log " Privacy items cleaned."
:: ============================================ :: PHASE 1: DISK CLEANUP :: ============================================ call :log "Phase 1: Disk Cleanup Operations" call :log "----------------------------------" &1 net stop SysMain >
:: Windows logs older than 30 days forfiles /p "%windir%\Logs" /s /m *.log /d -30 /c "cmd /c del @file" >nul 2>&1