Leaked source code of windows server 2003
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
720 B

  1. @echo off
  2. echo.
  3. set REGINI=FALSE
  4. if exist regini.exe set REGINI=TRUE
  5. if exist %systemroot%\system32\regini.exe set REGINI=TRUE
  6. if exist %systemroot%\idw\regini.exe set REGINI=TRUE
  7. if exist %systemroot%\dump\regini.exe set REGINI=TRUE
  8. if %REGINI% == TRUE goto gotregini
  9. echo This script requires regini.exe which is not on your machine.
  10. echo Regini.exe usually resides in your idw directory.
  11. echo Please find a copy and rerun this script.
  12. goto out
  13. :gotregini
  14. echo Stopping the redirector...
  15. net stop rdr /y
  16. echo Setting the registry so the old redirector will run...
  17. regini rdr1.ini > nul:
  18. echo Starting the old redirector...
  19. net start rdr
  20. net start netlogon
  21. net start messenger
  22. :out