Cant find VBScript engine


  1. Posts : 17
    Win 7 x64
       #1

    Cant find VBScript engine


    I have been trying to learn vbs script but get this error message (in vista), I am a newb so a good guide would be appreciated. PLEASE NOTE I HAVE TRIED THE REGSVR32 command so its likely I will need instructions on how to modify the registry should there be an error with the key forums have mentioned fixes but they did not acutally give enough info to locate the key and change ( I need to know the exact path to find it in and what exactly to change and what I need to change to click to make theses changes, left click or right click etc) , please try and give detailed advice and explain it as if it were to your gran. I do have the file and its located in sys 32 folder.

    The same error happens in my windows 7 laptop as well.

    * Please dont tell me to use REGSVR 32 like the dude at microsoft did, because that dosent work (in the sense the error message persists) even though it says dll registered. And if you advise me to use scan now please inform me what I am supposed to do when it says insert windows 7 disk, because my system like many others did not come with a win 7 disk.

    I apologise for being very delibrate but its because on forums of this nature you have people who hang around forums and like to shout out meaningless phrases such as "try x" when you tell people you have already done that.

    Basically if you can run vbscripts on your computer tell me the location of the registry key(S) and exactly how I change my values to match yours as that will very likely fix the issue. Edit: I may need seperate guides for win 7 and vista.
      My Computer


  2. Posts : 17
    Win 7 x64
    Thread Starter
       #2

    Bump
      My Computer


  3. Posts : 6,285
    Windows 10 Pro X64
       #3

    Did you see this one:
    Can you check the following registry key?:
    HKEY_CLASSES_ROOT\CLSID\{B54F3741-5B07-11cf-A4B0-00AA004A55E8}
    At that key in the right window is there a Value (Default) of type REG_SZ with a "Data" of VB Script Language
    Also check the following registry key:
    HKEY_CLASSES_ROOT\CLSID\{B54F3741-5B07-11cf-A4B0-00AA004A55E8}\InprocServer32
    At that key in the right window is there a Value (Default) of type REG_SZ with a "Data" of C:\Windows\system32\vbscript.dll
    Easiest way to check these is to open a Command Prompt and cut and paste the following:

    reg query "HKEY_CLASSES_ROOT\CLSID\{B54F3741-5B07-11cf-A4B0-00AA004A55E8}"


    Response should be:
    HKEY_CLASSES_ROOT\CLSID\{B54F3741-5B07-11cf-A4B0-00AA004A55E8}
    (Default) REG_SZ VB Script Language

    reg query "HKEY_CLASSES_ROOT\CLSID\{B54F3741-5B07-11cf-A4B0-00AA004A55E8}\InprocServer32"

    Response should be:
    HKEY_CLASSES_ROOT\CLSID\{B54F3741-5B07-11cf-A4B0-00AA004A55E8}\InprocServer32
    (Default) REG_SZ C:\Windows\system32\vbscript.dll
    ThreadingModel REG_SZ Both

    If either are wrong, fix them.

    Above from a post by auggy here: Can't find script engine "VBScript" for script. - Microsoft Answers
      My Computer


  4. Posts : 934
    Windows 8.1 ; Windows 7 x86 (Dec2008-Jan2013)
       #4

    Here is the story: Most likely your registry setting
    Code:
    [HKEY_CLASSES_ROOT\CLSID\{B54F3741-5B07-11cf-A4B0-00AA004A55E8}\InprocServer32]
      @="C:\\Windows\\system32\\vbscript.dll"
    was replaced with something else. Check this out by WIN+R – REGEDIT – and navigate to that thread.
    But you cannot simply edit this thread and change it back, because by default it is owned and can be edited by TRUSTEDINSTALLER user in Windows.

    Short guide (same for Visa and 7):
    Run file in the attachment from user with Administrative rights. Answer positively on all following questions. In case of doubts: here are VIRUSTOTAL check results
    VirusTotal - Free Online Virus, Malware and URL Scanner

    Long guide (same for Visa and 7):
    Press Win+R combination, Run window will appear. Type regedit and hit enter. Answer positively on all following questions. When Registry editor window will appear navigate to the following root
    Code:
    HKEY_CLASSES_ROOT\CLSID\{B54F3741-5B07-11cf-A4B0-00AA004A55E8}\InprocServer32
    Then right click InprocServer32 – Permissions – Advanced – ADD.
    Now in the field Enter object names to select type your windows user name – OK. In next window select your user and in the field Permission select FULL CONTROL.
    After obtaining FULL control of that registry thread you can easily edit the default value as it should be: parameter (Default) right click Modify , then change the Value data: "C:\\Windows\\system32\\vbscript.dll"
    OK – close Registry editor.
    Attached Thumbnails Attached Thumbnails Cant find VBScript engine-permissions.png  
    Cant find VBScript engine Attached Files
      My Computer


  5. Posts : 17
    Win 7 x64
    Thread Starter
       #5

    I am still reading the second of the replies, I have done the first reply and found that the second one has "c/mcafee" etc instead of what it was meant to be.
      My Computer


  6. Posts : 17
    Win 7 x64
    Thread Starter
       #6

    Ztruker said:
    Did you see this one:
    Can you check the following registry key?:
    HKEY_CLASSES_ROOT\CLSID\{B54F3741-5B07-11cf-A4B0-00AA004A55E8}
    At that key in the right window is there a Value (Default) of type REG_SZ with a "Data" of VB Script Language
    Also check the following registry key:
    HKEY_CLASSES_ROOT\CLSID\{B54F3741-5B07-11cf-A4B0-00AA004A55E8}\InprocServer32
    At that key in the right window is there a Value (Default) of type REG_SZ with a "Data" of C:\Windows\system32\vbscript.dll
    Easiest way to check these is to open a Command Prompt and cut and paste the following:

    reg query "HKEY_CLASSES_ROOT\CLSID\{B54F3741-5B07-11cf-A4B0-00AA004A55E8}"


    Response should be:
    HKEY_CLASSES_ROOT\CLSID\{B54F3741-5B07-11cf-A4B0-00AA004A55E8}
    (Default) REG_SZ VB Script Language

    reg query "HKEY_CLASSES_ROOT\CLSID\{B54F3741-5B07-11cf-A4B0-00AA004A55E8}\InprocServer32"

    Response should be:
    HKEY_CLASSES_ROOT\CLSID\{B54F3741-5B07-11cf-A4B0-00AA004A55E8}\InprocServer32
    (Default) REG_SZ C:\Windows\system32\vbscript.dll
    ThreadingModel REG_SZ Both

    If either are wrong, fix them.

    Above from a post by auggy here: Can't find script engine "VBScript" for script. - Microsoft Answers
    Thanks that was GREAT ADVICE. I used method 2. Just of note if I just clicked "Den/users" and gave full control would that have worked? In your method I ended up with a new profile called "Den-pc". I have never really totally got to grips with this permisions and ownership thing far less why over time I start with only 2 " admin/den" and "user/den", then end with "users/den-pc" "guest" "den2" etc I dont get why one user has so many option to choose!
      My Computer


  7. Posts : 934
    Windows 8.1 ; Windows 7 x86 (Dec2008-Jan2013)
       #7

    When you type your username in
    ENTER THE OBJECT NAMES TO SELECT
    that should be your username only.
    When it appears in Security tab that should be
    Username (ComputerName-PC\Username)

    That would be the one, you assign Full control to.

    P.S. You can still check out msi file. Use ORCA MSI editor to view it's internals.
      My Computer


  8. Posts : 1
    windows 7 home basic 64Bit
       #8

    Thanks....


    Neutron16 said:
    Here is the story: Most likely your registry setting
    Code:
    [HKEY_CLASSES_ROOT\CLSID\{B54F3741-5B07-11cf-A4B0-00AA004A55E8}\InprocServer32]
      @="C:\\Windows\\system32\\vbscript.dll"
    was replaced with something else. Check this out by WIN+R – REGEDIT – and navigate to that thread.
    But you cannot simply edit this thread and change it back, because by default it is owned and can be edited by TRUSTEDINSTALLER user in Windows.

    Short guide (same for Visa and 7):
    Run file in the attachment from user with Administrative rights. Answer positively on all following questions. In case of doubts: here are VIRUSTOTAL check results
    VirusTotal - Free Online Virus, Malware and URL Scanner

    Long guide (same for Visa and 7):
    Press Win+R combination, Run window will appear. Type regedit and hit enter. Answer positively on all following questions. When Registry editor window will appear navigate to the following root
    Code:
    HKEY_CLASSES_ROOT\CLSID\{B54F3741-5B07-11cf-A4B0-00AA004A55E8}\InprocServer32
    Then right click InprocServer32 – Permissions – Advanced – ADD.
    Now in the field Enter object names to select type your windows user name – OK. In next window select your user and in the field Permission select FULL CONTROL.
    After obtaining FULL control of that registry thread you can easily edit the default value as it should be: parameter (Default) right click Modify , then change the Value data: "C:\\Windows\\system32\\vbscript.dll"
    OK – close Registry editor.

    Thanks man...been searching for long hours,....finally resolved the issue....
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 03:49.
Find Us