echo. echo. echo. echo. echo.
echo
______________________________________________________________________________ echo.
echo 请选择一个适合您的方案继续: echo.
echo (1) 网络: 适用于有本地局域网连接的计算机。
echo (2) 标准: 适用于有Internet连接但没有局域网的单机。 echo (3) 全部: 最大程度的优化;详细参见 www.ntsvcfg.de echo (4) 还原: 还原到上一次的状态。
echo.
set /P CHS= 请选择合适您的优化方案: [1],[2],[3],[4], [M]更多方案 [Q]退出?
if /I \
set SELECT=\ goto :SKIP_MENUE )
if /I \
set SELECT=\ goto :SKIP_MENUE )
if /I \
set SELECT=\ goto :SKIP_MENUE )
if /I \if /I \
if /I \
if /I \if /I \if /I \cls
goto :START
:SKIP_MENUE
rem Checking if old restorefiles exists.
rem if it is so old files will be restored before new changes if not exist \if /I %RESTORE_MODE%==3 goto :NO_RESTORE if /I %RESTORE_MODE%==4 goto :NO_RESTORE set RESTORE=YES echo.
echo _______________________________________________________________________ echo.
echo [Selected Restore Mode: %RESTORE_MODE%] echo.
echo # Achtung: Alte Sicherungsdateien gefunden!
echo.
echo \echo korrekt durchgefuehrt werden koennen, werden die Sicherungsdateien echo eingespielt. echo.
echo.
echo Attention: old restore-files found!
echo.
echo This program runs not for the first time. To apply all new changes echo correctly old restore files will used to get an definite state. echo.
echo.
echo # Starting restore ... goto RESTORE_EXT
:NO_RESTORE
rem query if taskplaner should run
if /I \if /I \
if /I %SELECT%==\ if /I %SELECT%==\ if /I %XPSP2%==True (
set SCHEDULER_ENABLED=YES goto :SKIP_SQUERY )
)
echo. echo.
echo Rueckfrage / Query echo ==================
echo.
echo Soll der Dienst \
echo.
echo Wenn sie zeitgesteuerten Aufgaben [z.B. Antiviren-Updates] oder die automati- echo sche Erstellung von Systemwiederherstellungspunkten nicht benoetigen, druecken
echo Sie eine BELIEBIGE TASTE, um auch Port 135 [RPC] sowie Port 1025 [Taskplaner] echo zu schliessen [empfohlen!]. Andernfalls druecken Sie \echo.
echo.
echo Should the \
echo.
echo If you have time-controlled tasks [i.e. AV-Updates] or you will not set echo automatic system restore points press ANY KEY TO CONTINUE to close port 135 echo [RPC] and port 1025 [scheduler] instantly. Otherwise press \echo ___________________________________________ echo.
set /P UNDO= Taskplaner beenden - Close scheduler [y/n]? if /I \
:SKIP_SQUERY
if not exist \
echo.
echo Creating backup of defaults ... \/e
HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services \/e HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Ole \
/e
HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Rpc \/e
\\\\
HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\NetBT\\Parameters \ \ \ echo ... done.
)
if exist \
if /I %RESTORE_MODE%==2 goto :SKIP_SAVING if /I %RESTORE_MODE%==4 goto :SKIP_SAVING )
rem saving registry settings
echo _________________________________________________________________________ echo.
echo [Selected Restore Mode: %RESTORE_MODE%] echo.
echo Saving services settings to echo %SVC_BAK% ...
\echo Saving DCOM settings to
echo üOM_BAK% ...
\echo Saving DCOM standard protocols settings to
echo üOMP_BAK% ...
\
echo Saving SMB settings to echo %SMB_BAK% \/e \HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\NetBT\\Parameters echo Saving URL-Handler [AIM, GOPHER, TELNET] to echo %HANDLER1%
\echo %HANDLER2%
\echo %HANDLER3%
\echo.
echo All done.
echo ___________________________________________ echo.
:SKIP_SAVING
if /I \
if /I %UseXPSysRestore%==YES ( goto :XPSYSRESTORE

