PRB: Installation of WSH 5.5 for Windows 2000 May Cause Scripts to Stop Functioning (278846)



The information in this article applies to:

  • Microsoft Windows Script Host 2.0

This article was previously published under Q278846

SYMPTOMS

After you install Windows Script (WSH) version 5.5 for Microsoft Windows 2000, some scripts stop functioning. The most common error message that you receive is:
8002801D Library not registered.

CAUSE

The Windows Script version 5.5 for Windows 2000 install (scripten.exe) does not handle the case in which the vbscript.dll and/or jscript.dll files are in use. If this situation occurs, the install script does not properly register the .dlls and, when the computer is rebooted, no scripts that use either .dll function correctly.

RESOLUTION

To resolve this problem, do one of the following:
  • Run the Windows Script 5.5 install again. At this point, the .dlls cannot be in use because they are not registered so the same situation does not occur.
  • Register the .dlls manually. These dlls are located in the system32 directory. To register them, type the following commands at a command prompt or in the Run window on the Start button:
    • regsvr32 %systemroot%\system32\vbscript.dll

    • regsvr32 %systemroot%\system32\jscript.dll

STATUS

Microsoft has corrected the problem in version 5.5.0.5824 and higher of Windows Script.

Modification Type:MinorLast Reviewed:3/20/2004
Keywords:kbDSWManage2003Swept kbprb kbScript KB278846