🛠️ Tools Cleaner for PC using Notepad and save it as .bat no need to use any Windows application

Share ko din to updated at mas pinalakas ko cleaner. matagal ko na to ginagamit now ko lng ilalabas. para to sa lahat ng pc/laptop na mabagal.


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

:: Reset the Windows Search index
echo Resetting Windows Search index...
del %userprofile%\AppData\Local\Packages\Microsoft.Windows.Search_cw5n1h2txyewy\LocalState\*
del %userprofile%\AppData\Local\Packages\Microsoft.Windows.Cortana_cw5n1h2txyewy\LocalState\*

:: 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 Superfetch (Prefetch)
echo Disabling Superfetch (Prefetch)...
sc config "sysmain" start=disabled
net stop "sysmain"

:: 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

start explorer.exe
echo ---------------------------------------
echo Windows Optimization Complete
echo ---------------------------------------
pause
hindi po kaya me accidentally mabura
anu po meaning nito:

System error 5 has occurred.

Access is denied.

[SC] OpenService FAILED 5:

Access is denied.

salamat po

Lahja

salamat din po

vhind2005

 
Share ko din to updated at mas pinalakas ko cleaner. matagal ko na to ginagamit now ko lng ilalabas. para to sa lahat ng pc/laptop na mabagal.


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

:: Reset the Windows Search index
echo Resetting Windows Search index...
del %userprofile%\AppData\Local\Packages\Microsoft.Windows.Search_cw5n1h2txyewy\LocalState\*
del %userprofile%\AppData\Local\Packages\Microsoft.Windows.Cortana_cw5n1h2txyewy\LocalState\*

:: 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 Superfetch (Prefetch)
echo Disabling Superfetch (Prefetch)...
sc config "sysmain" start=disabled
net stop "sysmain"

:: 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

start explorer.exe
echo ---------------------------------------
echo Windows Optimization Complete
echo ---------------------------------------
pause
bat bigla ma lag sa web surfing after ko ma prompt to????

Sobrang lag huhuhuhu
 

About this Thread

  • 52
    Replies
  • 1K
    Views
  • 49
    Participants
Last reply from:
Gonp4chiro

Online now

Members online
1,048
Guests online
1,680
Total visitors
2,728

Forum statistics

Threads
2,287,390
Posts
29,044,411
Members
1,216,505
Latest member
Nlexstation1
Back
Top