您现在的位置是:网站首页> 编程资料编程资料
一个不错的优化系统的批处理_DOS/BAT_
2023-05-25
1338人已围观
简介 一个不错的优化系统的批处理_DOS/BAT_
复制代码 代码如下:
~~~~~~~~~~~~~~~~~~~~无敌分割线~~~~~~~~~~~~~~~~~~~~~~~~
@echo off
title Windows Xp超级优化工具 VER 2.5 由VCTU鼎力制作!
MODE con: COLS=70 LINES=35
:begin
MODE con: COLS=70 LINES=35
cls
color 0a
echo.
echo Xp超级优化工具 VER 2.5
echo.
echo VCTU/julian.邪鬼
echo.
echo QQ:455311851
echo.
echo ==============================
echo 请选择要进行的操作,然后按回车
echo ==============================
echo.
echo 1.优化系统服务
echo.
echo 2.进行端口操作
echo.
echo 3.设置IP为192.168.1.2 (内网禁)
echo.
echo 4.其它优化
echo.
echo 5.清除根目录下的SXS病毒
echo.
echo 6.进程结束器
echo.
echo 7.文件权限设置工具(鸣谢youxi01)
echo.
echo 8.清理系统垃圾
echo.
echo 9.退出
echo.
echo 0.自毁程序
echo.
echo h.各部分帮助
echo.
:cho
set choice=
set /p choice= 请选择:
IF NOT "%Choice%"=="" SET Choice=%Choice:~0,1%
if /i "%choice%"=="1" goto start2
if /i "%choice%"=="2" goto start3
if /i "%choice%"=="3" goto ip
if /i "%choice%"=="4" goto other
if /i "%choice%"=="5" goto virus
if /i "%choice%"=="6" goto taskill
if /i "%choice%"=="7" goto quanxian
if /i "%choice%"=="8" goto del
if /i "%choice%"=="9" goto end
if /i "%choice%"=="0" goto kill
if /i "%choice%"=="h" goto help
echo 选择无效,请重新输入
echo.
goto cho
:start2
color 04
cls
echo.
echo Xp超级优化工具
echo.
echo VCTU/julian.邪鬼
echo.
echo QQ:455311851
echo.
echo ==============================
echo 请选择要进行的操作,然后按回车
echo ==============================
echo.
echo 1.优化XP系统服务
echo.
echo 2.恢复XP原系统服务
echo.
echo 3.返回主菜单
echo.
echo 4.退出
echo.
:Choice2
set choice2=
set /p choice2= 请选择:
IF NOT "%Choice2%"=="" SET Choice2=%Choice2:~0,1%
if /i "%choice2%"=="1" goto optimize
if /i "%choice2%"=="2" goto Restore
if /i "%choice2%"=="3" goto begin
if /i "%choice2%"=="4" goto end
echo 选择无效,请重新输入
echo.
goto Choice2
:optimize
color 65
cls
echo 开始进行优化系统服务...
echo.
echo 系统优化进行中,请稍等片刻……
@sc config Alerter start= DISABLED
@sc config ALG start= DISABLED
@sc config AppMgmt start= DEMAND
@sc config AudioSrv start= AUTO
@sc config BITS start= DEMAND
@sc config Browser start= DISABLED
@sc config CiSvc start= DISABLED
@sc config ClipSrv start= DISABLED
@sc config COMSysApp start= DEMAND
@sc config CryptSvc start= DEMAND
@sc config DcomLaunch start= AUTO
@sc config Dhcp start= DISABLED
@sc config dmadmin start= DEMAND
@sc config dmserver start= DISABLED
@sc config Dnscache start= DISABLED
@sc config ERSvc start= DISABLED
@sc config Eventlog start= AUTO
@sc config EventSystem start= DISABLED
@sc config FastUserSwitchingCompatibility start= DISABLED
@sc config helpsvc start= DISABLED
@sc config HidServ start= DISABLED
@sc config HTTPFilter start= DEMAND
@sc config ImapiService start= DISABLED
@sc config lanmanserver start= DISABLED
@sc config lanmanworkstation start= AUTO
@sc config LmHosts start= DISABLED
@sc config Messenger start= DISABLED
@sc config mnmsrvc start= DISABLED
@sc config MSDTC start= DISABLED
@sc config MSIServer start= DEMAND
@sc config NetDDE start= DISABLED
@sc config NetDDEdsdm start= DISABLED
@sc config Netlogon start= DISABLED
@sc config Netman start= DEMAND
@sc config Nla start= DISABLED
@sc config NtLmSsp start= DISABLED
@sc config NtmsSvc start= DEMAND
@sc config Nvsvc start= DISABLED
@sc config Ose start= DEMAND
@sc config PlugPlay start= AUTO
@sc config PolicyAgent start= DISABLED
@sc config ProtectedStorage start= DISABLED
@sc config RasAuto start= DEMAND
@sc config RasMan start= DEMAND
@sc config RDSessMgr start= DISABLED
@sc config RemoteAccess start= DISABLED
@sc config RemoteRegistry start= DISABLED
@sc config RpcLocator start= DEMAND
@sc config RpcSs start= AUTO
@sc config SamSs start= DISABLED
@sc config SCardSvr start= DISABLED
@sc config Schedule start= DISABLED
@sc config seclogon start= DISABLED
@sc config SENS start= DISABLED
@sc config SharedAccess start= DISABLED
@sc config ShellHWDetection start= DISABLED
@sc config Spooler start= DEMAND
@sc config srservice start= DISABLED
@sc config SSDPSRV start= DISABLED
@sc config Stisvc start= DISABLED
@sc config Swprv start= DISABLED
@sc config SysmonLog start= DISABLED
@sc config TapiSrv start= DEMAND
@sc config TermService start= DISABLED
@sc config Themes start= AUTO
@sc config TlntSvr start= DISABLED
@sc config TrkWks start= DISABLED
@sc config UMWdf start= DISABLED
@sc config upnphost start= DEMAND
@sc config UPS start= DISABLED
@sc config VSS start= DISABLED
@sc config W32Time start= DISABLED
@sc config WebClient start= DISABLED
@sc config winmgmt start= AUTO
@sc config WmdmPmSN start= DISABLED
@sc config Wmi start= DEMAND
@sc config WmiApSrv start= DISABLED
@sc config wuauserv start= DISABLED
@sc config WZCSVC start= DISABLED
@sc config wscsvc start= DISABLED
@sc config xmlprov start= DEMAND
echo.
echo 优化XP系统服务结束,按任意键返回!
pause >nul
goto start2
:Restore
cls
color 65
echo 开始恢复XP原系统服务...
echo.
echo 恢复进行中,请稍等片刻……
@sc config Alerter start= DISABLED
@sc config ALG start= DEMAND
@sc config AppMgmt start= DEMAND
@sc config AudioSrv start= AUTO
@sc config BITS start= DEMAND
@sc config Browser start= AUTO
@sc config CiSvc start= DEMAND
@sc config ClipSrv start= DISABLED
@sc config COMSysApp start= DEMAND
@sc config CryptSvc start= AUTO
@sc config DcomLaunch start= AUTO
@sc config Dhcp start= AUTO
@sc config dmadmin start= DEMAND
@sc config dmserver start= AUTO
@sc config Dnscache start= AUTO
@sc config ERSvc start= AUTO
@sc config Eventlog start= AUTO
@sc config EventSystem start= DEMAND
@sc config FastUserSwitchingCompatibility start= DEMAND
@sc config helpsvc start= AUTO
@sc config HidServ start= DISABLED
@sc config HTTPFilter start= DEMAND
@sc config ImapiService start= DEMAND
@sc config lanmanserver start= AUTO
@sc config lanmanworkstation start= AUTO
@sc config LmHosts start= AUTO
@sc config Messenger start= DISABLED
@sc config mnmsrvc start= DEMAND
@sc config MSDTC start= DEMAND
@sc config MSIServer start= DEMAND
@sc config NetDDE start= DISABLED
@sc config NetDDEdsdm start= DISABLED
@sc config Netlogon start= DEMAND
@sc config Netman start= DEMAND
@sc config Nla start= DEMAND
@sc config NtLmSsp start= DEMAND
@sc config NtmsSvc start= DEMAND
@sc config PlugPlay start= AUTO
@sc config PolicyAgent start= AUTO
@sc config ProtectedStorage start= AUTO
@sc config RasAuto start= DEMAND
@sc config RasMan start= DEMAND
@sc config RDSessMgr start= DEMAND
@sc config RemoteAccess start= DISABLED
@sc config RemoteRegistry start= AUTO
@sc config RpcLocator start= DEMAND
@sc config RpcSs start= AUTO
@sc config RSVP start= DEMAND
@sc config SamSs start= AUTO
@sc config SCardSvr start= DEMAND
@sc config Schedule start= AUTO
@sc config seclogon start= AUTO
@sc config SENS start= AUTO
@sc config SharedAccess start= AUTO
@sc config ShellHWDetection start= AUTO
@sc config Spooler start= AUTO
@sc config srservice start= DISABLED
@sc config SSDPSRV start= DEMAND
@sc config stisvc start= DEMAND
@sc config SwPrv start= DEMAND
@sc config SysmonLog start= DEMAND
@sc config TapiSrv start= DEMAND
@sc config TermService start= DEMAND
@sc config Themes start= AUTO
@sc config TlntSvr start= DISABLED
@sc config TrkWks start= AUTO
@sc config UMWdf start= DEMAND
@sc config upnphost start= DEMAND
@sc config UPS start= DEMAND
@sc config VSS start= DEMAND
@sc config W32Time start= AUTO
@sc config WebClient start= AUTO
@sc config winmgmt start= AUTO
@sc config WmdmPmSN start= DEMAND
@sc config Wmi start= DEMAND
@sc config WmiApSrv start= DEMAND
@sc config wscsvc start= AUTO
@sc config wuauserv start= AUTO
@sc config WZCSVC start= AUTO
@sc config xmlprov start= DEMAND
echo.
echo 恢复XP原系统服务结束,按任意键返回!
pause >nul
goto start2
:start3
cls
color b3
echo.
echo Xp超级优化工具
echo.
echo VCTU/julian.邪鬼
echo.
echo QQ:455311851
echo.
echo ==============================
echo 请选择要进行的操作,然后按回车
echo ==============================
echo.
echo 1.封杀135,445端口
echo.
echo 2.恢复135,445端口
echo.
echo 3.返回主菜单
echo.
echo 4.退出
echo.
:Choice3
set choice3=
set /p choice3= 请选择:
IF NOT "%Choice3%"=="" SET Choice2=%Choice2:~0,1%
if /i "%choice3%"=="1" goto killport
if /i "%choice3%"=="2" goto openport
if /i "%choice3%"=="3" goto begin
if /i "%choice3%"=="4" goto end
echo 选择无效,请重新输入
echo.
goto Choice3
:killport
color d3
cls
echo 开始封杀135,445端口...
reg add HKLMSOFTWAREMicrosoftOle /v EnableDCOM /d N /f
reg add HKLMSOFTWAREMicrosoftRpc /v "DCOM Protocols" /t REG_MULTI_SZ /d ncacn_spxncacn_nb_nbncacn_nb_ipx /f
@sc config MSDTC start= DISABLED
reg add HKLMSYSTEMCurrentControlSetServicesNetBTParameters /v SMBDeviceEnabled /t REG_
点击排行
本栏推荐
