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.

45 lines
942 B

  1. @echo off
  2. rem
  3. rem Batch file to invoke ADSI Editor snapin
  4. rem
  5. setlocal enableextensions
  6. set server=
  7. if exist %SystemRoot%\idw\adsiedit.msc goto InIDW
  8. if exist %SystemRoot%\system32\adsiedit.msc goto InSystem32
  9. goto missingMMC
  10. :InIDW
  11. regsvr32 /s %SystemRoot%\idw\adsiedit.dll
  12. start %SystemRoot%\idw\adsiedit.msc
  13. goto done
  14. goto done
  15. :InSystem32
  16. regsvr32 /s %SystemRoot%\system32\adsiedit.dll
  17. start %SystemRoot%\system32\adsiedit.msc
  18. goto done
  19. :missingMMC
  20. REM ***** LOCALIZE HERE ******
  21. echo The Administration Tool that you have tried to launch is not supported
  22. echo under Microsoft Windows NT v5.0. This Administration tool has been
  23. echo replaced by the Microsoft Management Console (MMC).
  24. echo.
  25. echo The necessary files for MMC that are automatically installed with
  26. echo Microsoft Windows NT v5.0 are missing. Please re-run Microsoft Windows NT Setup.
  27. echo.
  28. pause
  29. :done
  30. endlocal