Hnd ko ma upload. paste mo na lng to sa notepad then save as cleaner.bat
echo off
color 4a
echo Programed by: April Jay Valdez
pause
taskkill /IM "iexplore.exe" /F
taskkill /f /im explorer.exe
echo chrome bookmarks backing up
cd %USERPROFILE%\Local Settings\Application Data\Google\Chrome\User Data\default
copy bookmarks.* c:\
erase "%TEMP%\
." /f /s /q
for /D %%i in ("%TEMP%\*") do RD /S /Q "%%i"
erase "%TMP%\
." /f /s /q
for /D %%i in ("%TMP%\*") do RD /S /Q "%%i"
erase "%ALLUSERSPROFILE%\TEMP\
." /f /s /q
for /D %%i in ("%ALLUSERSPROFILE%\TEMP\*") do RD /S /Q "%%i"
erase "%SystemRoot%\TEMP\
." /f /s /q
for /D %%i in ("%SystemRoot%\TEMP\*") do RD /S /Q "%%i"
Rem Clear IE cache - (Deletes Temporary Internet Files Only)
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 8
erase "%LOCALAPPDATA%\Microsoft\Windows\Tempor~1\
." /f /s /q
for /D %%i in ("%LOCALAPPDATA%\Microsoft\Windows\Tempor~1\*") do RD /S /Q "%%i"
Rem Clear Google Chrome cache
erase "%LOCALAPPDATA%\Google\Chrome\User Data\
." /f /s /q
for /D %%i in ("%LOCALAPPDATA%\Google\Chrome\User Data\*") do RD /S /Q "%%i"
Rem Clear Firefox cache
erase "%LOCALAPPDATA%\Mozilla\Firefox\Profiles\
." /f /s /q
for /D %%i in ("%LOCALAPPDATA%\Mozilla\Firefox\Profiles\*") do RD /S /Q "%%i"
del /s /f /q c:\windows\temp\
.
rd /s /q c:\windows\temp
md c:\windows\temp
del /s /f /q C:\WINDOWS\Prefetch
del /s /f /q %temp%\
.
rd /s /q %temp%
md %temp%
deltree /y c:\windows\tempor~1
deltree /y c:\windows\temp
deltree /y c:\windows\tmp
deltree /y c:\windows\ff*.tmp
deltree /y c:\windows\history
deltree /y c:\windows\cookies
deltree /y c:\windows\recent
deltree /y c:\windows\spool\printers
del c:\WIN386.SWP
cls
cd\
cd %USERPROFILE%\Local Settings\Application Data\Google\Chrome\User Data\default
copy c:\bookmarks.*
echo Google Chrome Bookmarks restored..
echo off
echo Running system maintenance tasks...
echo.
echo off
net stop wuauserv
sc config wuauserv start= disabled
echo Windows Update service has been disabled.
pause
:: Clear the Windows Update cache
net stop wuauserv
net stop cryptSvc
net stop bits
net stop msiserver
rmdir /s /q %windir%\SoftwareDistribution
rmdir /s /q %windir%\System32\catroot2
net start wuauserv
net start cryptSvc
net start bits
net start msiserver
:: Clear the Temp folder
echo Cleaning temporary files...
del /f /q %temp%\*
:: Empty the Recycle Bin
echo Emptying the Recycle Bin...
rd /s /q C:\$Recycle.Bin
:: Clear temporary files
echo Clearing temporary files...
del /q /f /s %temp%\
.
del /q /f /s %systemroot%\Temp\
.
echo Temporary files cleared.
echo.
:: Run Disk Cleanup
echo Running Disk Cleanup...
start /wait cleanmgr /sagerun:1
echo Disk Cleanup completed.
echo.
:: Clear the DNS cache
echo Clearing DNS cache...
ipconfig /flushdns
echo DNS cache cleared.
echo.
:: Disable Windows Tips and Tricks
echo Disabling Windows Tips and Tricks...
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SystemPaneSuggestionsEnabled" /t REG_DWORD /d 0 /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "ContentDeliveryAllowed" /t REG_DWORD /d 0 /f
:: Disable Windows Error Reporting
echo Disabling Windows Error Reporting...
reg add "HKLM\SOFTWARE\Microsoft\Windows\Windows Error Reporting" /v "Disabled" /t REG_DWORD /d 1 /f
reg add "HKCU\SOFTWARE\Microsoft\Windows\Windows Error Reporting" /v "Disabled" /t REG_DWORD /d 1 /f
:: Disable Remote Assistance
echo Disabling Remote Assistance...
reg add "HKLM\SYSTEM\CurrentControlSet\Control\Remote Assistance" /v "fAllowToGetHelp" /t REG_DWORD /d 0 /f
:: Disable Background Apps
echo Disabling Background Apps...
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\BackgroundAccessApplications" /v "GlobalUserDisabled" /t REG_DWORD /d 1 /f
:: Set Windows Performance Options to "Adjust for best performance"
echo Setting Windows Performance Options to "Adjust for best performance"...
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects" /v "VisualFXSetting" /t REG_DWORD /d 2 /f
:: Set Power Plan to High Performance
echo Setting Power Plan to High Performance...
powercfg -setactive scheme_min
TZUTIL /s "China Standard Time"
start explorer.exe
echo ---------------------------------------
echo Windows Optimization Complete
echo ---------------------------------------
pause