新建一个文本文件~把后缀名改成cmd或者bat,然后把红色的字复制进去,保存,运行就行了
XP系统优化!
echo off
echo off
cls
title 欢迎使用独轩系统优化软件
color bc
cd load
goto menu
:menu
echo.
echo.
echo ============================================================
echo.
echo.
echo 欢迎使用独轩系统优化——已注册
ECHO.
echo.
echo 输入1 菜单形式
echo 输入2 自动优化(没有选择菜单,所有优化)
echo 输入3 退出
echo ============================================================
SET /P l=
cls
if %l% equ 1 goto menu1
if %l% equ 2 goto auto
if %l% equ 3 exit
:auto
echo 正在删除文件
sfc.exe /purgecache
cleanmgr/sagerun: 101
del /f /s /q %windir%\\system32\\dllcache\\*.*
del /f /s /q %windir%\\help\\*.*
del /f /s /q %windir%\\drivercache\\i386\\*.*
del /f /s /q %temp%\\*.*
cls
echo 扫描中。。。
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\\*.*
cls
del /f /s /q %windir%\\*.bak
del /f /s /q %windir%\\prefetch\\*.*
rd /s /q %windir%\\temp & md %windir%\\temp
cls
del /f /q %userprofile%\\cookies\\*.*
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\\*.*\"
del /f /s /q C:\\vod_cache_data\\*.*
del /f /s /q D:\\vod_cache_data\\*.*
del /f /s /q E:\\vod_cache_data\\*.*
del /f /s /q F:\\vod_cache_data\\*.*
del /f /s /q G:\\vod_cache_data\\*.*
cls
del /f /s /q H:\\vod_cache_data\\*.*
del /f /s /q I:\\vod_cache_data\\*.*
del /f /s /q J:\\vod_cache_data\\*.*
del /f /s /q K:\\vod_cache_data\\*.*
del /f /s /q L:\\vod_cache_data\\*.*
cls
:menu1
echo.
echo.
echo ============================================================
echo.
echo.
echo将对系统服务进行优化操作(建议使用不要太频繁)
ECHO.
echo.
echo 输入1 查看要关闭的服务
echo 输入2 开始关闭服务
echo 输入3 跳过
echo ============================================================
set /p a=
if %a% equ 1 goto fwck
if %a% equ 2 goto gbfw
if %a% equ 3 goto menu2
:fwck
cls
echo 以下服务将被关闭
echo Alerter
echo Application Layer Gateway Service
echo Application Management
echo Automatic Updates(并且禁用)
echo Background Intelligent Transfer Service(并且禁用)
echo ClipBook
echo Computer Browser(不使用局域网的用户可以关闭)
echo Cryptographic Services
echo Distributed Link Tracking Client
echo Distributed Transaction Coordinator
echo Error Reporting Service
echo Help and Support
echo Human Interface Device Access
echo IMAPI CD-Burning COM Service
echo Internet Connection - Firewall (ICF) / Sharing (ICS)
XP系统优化!
echo off
echo off
cls
title 欢迎使用独轩系统优化软件
color bc
cd load
goto menu
:menu
echo.
echo.
echo ============================================================
echo.
echo.
echo 欢迎使用独轩系统优化——已注册
ECHO.
echo.
echo 输入1 菜单形式
echo 输入2 自动优化(没有选择菜单,所有优化)
echo 输入3 退出
echo ============================================================
SET /P l=
cls
if %l% equ 1 goto menu1
if %l% equ 2 goto auto
if %l% equ 3 exit
:auto
echo 正在删除文件
sfc.exe /purgecache
cleanmgr/sagerun: 101
del /f /s /q %windir%\\system32\\dllcache\\*.*
del /f /s /q %windir%\\help\\*.*
del /f /s /q %windir%\\drivercache\\i386\\*.*
del /f /s /q %temp%\\*.*
cls
echo 扫描中。。。
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\\*.*
cls
del /f /s /q %windir%\\*.bak
del /f /s /q %windir%\\prefetch\\*.*
rd /s /q %windir%\\temp & md %windir%\\temp
cls
del /f /q %userprofile%\\cookies\\*.*
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\\*.*\"
del /f /s /q C:\\vod_cache_data\\*.*
del /f /s /q D:\\vod_cache_data\\*.*
del /f /s /q E:\\vod_cache_data\\*.*
del /f /s /q F:\\vod_cache_data\\*.*
del /f /s /q G:\\vod_cache_data\\*.*
cls
del /f /s /q H:\\vod_cache_data\\*.*
del /f /s /q I:\\vod_cache_data\\*.*
del /f /s /q J:\\vod_cache_data\\*.*
del /f /s /q K:\\vod_cache_data\\*.*
del /f /s /q L:\\vod_cache_data\\*.*
cls
:menu1
echo.
echo.
echo ============================================================
echo.
echo.
echo将对系统服务进行优化操作(建议使用不要太频繁)
ECHO.
echo.
echo 输入1 查看要关闭的服务
echo 输入2 开始关闭服务
echo 输入3 跳过
echo ============================================================
set /p a=
if %a% equ 1 goto fwck
if %a% equ 2 goto gbfw
if %a% equ 3 goto menu2
:fwck
cls
echo 以下服务将被关闭
echo Alerter
echo Application Layer Gateway Service
echo Application Management
echo Automatic Updates(并且禁用)
echo Background Intelligent Transfer Service(并且禁用)
echo ClipBook
echo Computer Browser(不使用局域网的用户可以关闭)
echo Cryptographic Services
echo Distributed Link Tracking Client
echo Distributed Transaction Coordinator
echo Error Reporting Service
echo Help and Support
echo Human Interface Device Access
echo IMAPI CD-Burning COM Service
echo Internet Connection - Firewall (ICF) / Sharing (ICS)