备份 Z`y%#B6x.
-------------------------------------------------------------------------------------------------------------------------------------- B*!{LjXV
@echo off c}v>Mx
rem get current date and time A.vWGBR
for /f "tokens=1, 2, 3, 4 delims=-/. " %%j in ('Date /T') do set FILENAME=srv_%%j_%%k_%%l_%%m i eQQ{iGJH
for /f "tokens=1, 2 delims=: " %%j in ('TIME /T') do set FILENAME=%FILENAME%_%%j_%%k.bat .Y|5i^i9{
luXcr
H+w
rem get all service name d|#sgGM<8
sc query type= service state= all| findstr /r /C:"SERVICE_NAME:" >tmpsrv.txt j;}!Yn
echo Save Service Start State In %FILENAME% ,j\1UAa
rem save service start state into batch file gg
$/
rem W:
R2e2
t1"-3afe
echo @echo Restore The Service Start State Saved At %TIME% %DATE% >"%FILENAME%" l&}3M
echo @pause >>"%FILENAME%" bwN>E+
{ZQ|Ydpk
for /f "tokens=2 delims=:" %%j in (tmpsrv.txt) do @( sc qc %%j |findstr START_TYPE >tmpstype.txt && for /f "tokens=4 delims=:_ " %%s in ( tmpstype.txt) do @echo sc config %%j start= %%s >>"%FILENAME%") S bI7<_
echo @pause >>"%FILENAME%" KnK8\p88\
<*k]Aa3y
del tmpsrv.txt tk=~b}8
del tmpstype.txt hDBVL"
-------------------------------------------------------------------------------------------------------------------------------------- 3H"bivK
{[&$W8Li
优化; =E$Hq4I
cls xNDX(_U>\
sg0HYb%_E
@echo off zv/owK
**p|g<wvY*
rem WINDOS XP 服务优化批处理文件!! )vWI{Q]r
@pause {}x{OP
(Klvctoy
@rem Alerter [HO=ii]Wb
@rem 微软: 通知选取的使用者及计算机系统管理警示。如果停止这个服务,使用系统管理@rem 警示的程序将不会收到通知。 QE8;Jk-
@rem 补充: 一般家用计算机根本不需要传送或接收计算机系统管理来的警示(Administrative Alerts),除非你的计算机用在局域网络上 LWwWxerZ
@rem 依存: Workstation MoAZ!cF8
@rem 建议: 已停用 4FLL*LCNX
sc config Alerter start= DISABLED +'aG&^k4
ROH 2KSt
@rem Application Layer Gateway Service -aj) _.d
@rem 微软: 提供因特网联机共享和因特网联机防火墙的第三方通讯协议插件的支持 !<'0
GOl
@rem 补充: 如果你不使用因特网联机共享 (ICS) 提供多台计算机的因特网存取和因特网联机防火墙 (ICF) 软件你可以关掉 ~d5f]6#`
@rem 依存: Internt Connection Firewall (ICF) / Internet Connection Sharing (ICS) Sy\ec{$+V]
@rem 建议: 已停用 &\K p_ AR
sc config ALG start= DISABLED ~t0\Q; @($
e:2e5gz
@rem Application Management (应用程序管理) i_<