Tuneup.bat
call :log "[1/12] Running Windows Disk Cleanup (cleanmgr)..." cleanmgr /sagerun:1 >nul 2>&1 || cleanmgr /verylowdisk >nul 2>&1 call :log " Disk Cleanup completed."
:: Header cls echo =============================================================== echo Windows System Tune-up Utility v3.2 echo =============================================================== echo. echo Log file will be saved to: %LOGFILE% echo. echo Starting tune-up at %date% %time% echo =============================================================== echo. pause tuneup.bat
:: ============================================ :: PHASE 5: PRIVACY & JUNK FILES :: ============================================ call :log "Phase 5: Privacy Cleanup" call :log "-------------------------" call :log "[1/12] Running Windows Disk Cleanup (cleanmgr)
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." &1 net stop SysMain >
call :log "[8/12] Running DISM health restore..." DISM /online /cleanup-image /restorehealth >nul 2>&1 call :log " DISM completed."


