不錯的winodws XP 優化處理文件
2020-06-09 14:09:13
供稿:網友
TITLE winodws XP 優化處理文件 By 阿拉發貼 謝謝您關注網盟!
COLOR 0A
CLS
@echo off
cls
echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
echo.
echo 專用winodws XP 優化處理文件
echo.
echo 正在清除系統垃圾文件,請稍等......
echo.
echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
echo.
sfc /purgecache
sfc /purgecache
del /f /s /q %systemdrive%/*.tmp
del /f /s /q %systemdrive%/*._mp
del /f /s /q %systemdrive%/*.log
del /f /s /q %systemdrive%/*.gid
del /f /s /q %systemdrive%/*.chk
del /f /s /q %systemdrive%/*.old
del /f /s /q %systemdrive%/recycled/*.*
del /f /s /q %windir%/*.bak
del /f /s /q %windir%/*.log
del /f /s /q %windir%/*.tmp
del /f /s /q %windir%/prefetch/*.*
rd /s /q %windir%/temp & md %windir%/temp
rd /s /q %temp% & md %temp%
del /f /q %userprofile%/recent/*.*
del /f /s /q "%userprofile%/Local Settings/Temporary Internet Files/*.*"
del /f /s /q "%userprofile%/Local Settings/Temp/*.*"
del /f /s /q "%userprofile%/recent/*.*"
echo.
echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
echo.
echo 清除系統垃圾完成!
echo.
echo 正在自動對WinXP的服務進行優化...
echo.
echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
echo.
@rem Alerter
@rem 微軟: 通知選取的使用者及計算機系統管理警示。如果停止這個服務,使用系統管理@rem 警示的程序將不會收到通知。
@rem 補充: 一般家用計算機根本不需要傳送或接收計算機系統管理來的警示(Administrative Alerts),除非你的計算機用在局域網絡上
@rem 依存: Workstation
@rem 建議: 已停用
sc config Alerter start= DISABLED
echo.
@rem Application Layer Gateway Service
@rem 微軟: 提供因特網聯機共享和因特網聯機防火墻的第三方通訊協議插件的支持
@rem 補充: 如果你不使用因特網聯機共享 (ICS) 提供多臺計算機的因特網存取和因特網聯機防火墻 (ICF) 軟件你可以關掉
@rem 依存: Internt Connection Firewall (ICF) / Internet Connection Sharing (ICS)