mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
691 B
29 lines
691 B
@echo off
|
|
|
|
echo.
|
|
|
|
set REGINI=FALSE
|
|
if exist regini.exe set REGINI=TRUE
|
|
if exist %systemroot%\system32\regini.exe set REGINI=TRUE
|
|
if exist %systemroot%\idw\regini.exe set REGINI=TRUE
|
|
if exist %systemroot%\dump\regini.exe set REGINI=TRUE
|
|
|
|
if %REGINI% == TRUE goto gotregini
|
|
echo This script requires regini.exe which is not on your machine.
|
|
echo Regini.exe usually resides in your idw directory.
|
|
echo Please find a copy and rerun this script.
|
|
goto out
|
|
|
|
:gotregini
|
|
echo Stopping the redirector...
|
|
net stop rdr /y
|
|
|
|
echo Setting the registry so the old redirector will run...
|
|
regini rdr1.ini > nul:
|
|
|
|
echo Starting the old redirector...
|
|
net start rdr
|
|
net start netlogon
|
|
net start messenger
|
|
|
|
:out
|