Microsoft KB Archive/278846

= PRB: Installation of WSH 5.5 for Windows 2000 May Cause Scripts to Stop Functioning =

Article ID: 278846

Article Last Modified on 3/20/2004

-

APPLIES TO


 * Microsoft Windows Scripting Host 2.5

-



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.

Keywords: kbscript kbprb kbdswmanage2003swept KB278846

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.