JSI Tip 8749. When you attempt to start the Local Users and Computers Microsoft Management Console snap-in on Windows 2000, you receive 'library not registered'?

When you try to start the Local Users and Computers MMC snap-in, you receive:

Unable to access the computer \\<ComputerName>.
The error was: library not registered.

This problem is generally the result of missing registry Keys and/or Value Names.

To resolve this problem, I have scripted FixTL97d25.bat, which you run without any parameters.

FixTL97d25.bat contains:

@echo off
setlocal
call :parse %SystemRoot%
(
echo REGEDIT4
echo.
echo \[HKEY_CLASSES_ROOT\TypeLib\\{97d25db0-0363-11cf-abc4-02608c9e7553\}\]
echo.
echo \[HKEY_CLASSES_ROOT\TypeLib\\{97d25db0-0363-11cf-abc4-02608c9e7553\}\1.0\]
echo @="Active DS Type Library"
echo.
echo \[HKEY_CLASSES_ROOT\TypeLib\\{97d25db0-0363-11cf-abc4-02608c9e7553\}\1.0\0\]
echo.
echo \[HKEY_CLASSES_ROOT\TypeLib\\{97d25db0-0363-11cf-abc4-02608c9e7553\}\1.0\0\win32\]
echo @="%drv%\\%win%\\system32\\activeds.tlb"
echo.
echo \[HKEY_CLASSES_ROOT\TypeLib\\{97d25db0-0363-11cf-abc4-02608c9e7553\}\1.0\FLAGS\]
echo @="0"
echo.
echo \[HKEY_CLASSES_ROOT\TypeLib\\{97d25db0-0363-11cf-abc4-02608c9e7553\}\1.0\HELPDIR\]
echo @="%drv%\\%win%\\system32"
echo.
echo.
)> "%TEMP%\FixTL97d25.tmp"
regedit /s "%TEMP%\FixTL97d25.tmp"
del /q "%TEMP%\FixTL97d25.tmp"
endlocal
goto :EOF
:parse
set drv=%~D1
call set win=%%SystemRoot:%drv%\=%%



Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish