+ Post New Thread
Results 1 to 3 of 3
Windows Thread, Windows Script Host in Technical; Hi having a problem with startup scripts. get this message Line - 2 Char - 11 Error - Library not ...
  1. #1
    neilmc's Avatar
    Join Date
    Nov 2008
    Location
    Lincoln
    Posts
    266
    Thank Post
    43
    Thanked 14 Times in 13 Posts
    Rep Power
    8

    Windows Script Host

    Hi having a problem with startup scripts.

    get this message

    Line - 2
    Char - 11
    Error - Library not registered
    Code - 8002801D
    Source - (Null)

    And this goes on for about 3 or 4 scripts

    Any ideas?

    Cheers

  2. #2

    Join Date
    Mar 2008
    Posts
    38
    Thank Post
    13
    Thanked 6 Times in 5 Posts
    Rep Power
    9
    i'd take a look at line 2 of the script, can you post it so folks can take a look at it for you?

  3. #3

    EduTech's Avatar
    Join Date
    Aug 2007
    Location
    Birmingham
    Posts
    4,535
    Blog Entries
    3
    Thank Post
    127
    Thanked 732 Times in 573 Posts
    Rep Power
    188
    Quote Originally Posted by neilmc View Post
    Hi having a problem with startup scripts.

    get this message

    Line - 2
    Char - 11
    Error - Library not registered
    Code - 8002801D
    Source - (Null)

    And this goes on for about 3 or 4 scripts

    Any ideas?

    Cheers
    this might come in handy for you, use one of the 2 methods listed:

    KBAlertz.com: Library Not Registered Error When Running Scripts in Windows Scripting Host

    For anyone who cant access the website:

    Method 2:

    Code:
    To manually register the scripting components on your computer, use one of the following sets of steps, as appropriate for your situation.
    You are running a 32-bit version of the Windows operating system
    Click Start, click Run, type cmd, and then click OK. 
    
    Type regsvr32 %systemroot%\system32\vbscript.dll, and then press ENTER. 
    Type regsvr32 %systemroot%\system32\jscript.dll, and then press ENTER. 
    Type regsvr32 %systemroot%\system32\dispex.dll, and then press ENTER. 
    Type regsvr32 %systemroot%\system32\scrobj.dll, and then press ENTER. 
    Type regsvr32 %systemroot%\system32\scrrun.dll, and then press ENTER. 
    Type regsvr32 %systemroot%\system32\wshext.dll, and then press ENTER. 
    Type regsvr32 %systemroot%\system32\wshom.ocx, and then press ENTER. 
    
    You are running a 64-bit version of the Windows operating system, and you receive the error message that is mentioned in the "Symptoms" section while you are using the 64-bit scripting components
    
    Click Start, click Run, type cmd, and then click OK. 
    
    Type %systemroot%\system32\regsvr32 %systemroot%\system32\vbscript.dll, and then press ENTER. 
    Type %systemroot%\system32\regsvr32 %systemroot%\system32\jscript.dll, and then press ENTER. 
    Type %systemroot%\system32\regsvr32 %systemroot%\system32\dispex.dll, and then press ENTER. 
    Type %systemroot%\system32\regsvr32 %systemroot%\system32\scrobj.dll, and then press ENTER. 
    Type %systemroot%\system32\regsvr32 %systemroot%\system32\scrrun.dll, and then press ENTER. 
    Type %systemroot%\system32\regsvr32 %systemroot%\system32\wshext.dll, and then press ENTER. 
    Type %systemroot%\system32\regsvr32 %systemroot%\system32\wshom.ocx, and then press ENTER. 
    
    You are running a 64-bit version of the Windows operating system, and you receive the error message that is mentioned in the "Symptoms" section while you are using the 32-bit scripting components
    
    Click Start, click Run, type cmd, and then click OK. 
    
    Type %systemroot%\syswow64\regsvr32 %systemroot%\syswow64\vbscript.dll, and then press ENTER. 
    Type %systemroot%\syswow64\regsvr32 %systemroot%\syswow64\jscript.dll, and then press ENTER. 
    Type %systemroot%\syswow64\regsvr32 %systemroot%\syswow64\dispex.dll, and then press ENTER. 
    Type %systemroot%\syswow64\regsvr32 %systemroot%\syswow64\scrobj.dll, and then press ENTER. 
    Type %systemroot%\syswow64\regsvr32 %systemroot%\syswow64\scrrun.dll, and then press ENTER. 
    Type %systemroot%\syswow64\regsvr32 %systemroot%\syswow64\wshext.dll, and then press ENTER. 
    Type %systemroot%\syswow64\regsvr32 %systemroot%\syswow64\wshom.ocx, and then press ENTER. 
    
    Did this fix the problem?
    Method 1 contains downloads so you need to just pick the one for your operating system. the download is Windows Script Version 5.7 for Windows Server 2003, XP and Windows 2000 and Windows Script 5.6 for Windows Server 2003, Windows XP and Windows 2000
    Last edited by EduTech; 30th November 2009 at 10:47 AM.

SHARE:
+ Post New Thread

Similar Threads

  1. [Gentoo] x64 windows guest VM on x64 gentoo host
    By RabbieBurns in forum *nix
    Replies: 10
    Last Post: 13th November 2009, 03:23 PM
  2. Windows Update in a startup script.
    By MaxBerzon in forum Windows
    Replies: 2
    Last Post: 30th April 2009, 03:48 PM
  3. Replies: 4
    Last Post: 25th November 2008, 01:12 PM
  4. Windows Script Host Error
    By Mr_M_Cox in forum Windows
    Replies: 3
    Last Post: 15th February 2008, 12:13 PM
  5. Microsoft Windows Script 5.7
    By PiqueABoo in forum Scripts
    Replies: 0
    Last Post: 10th August 2007, 06:56 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •