Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Cant find VBScript engine

13 May 2011   #1

Win 7 x64
 
 
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 System SpecsSystem Spec
.

13 May 2011   #2

Win 7 x64
 
 

Bump
My System SpecsSystem Spec
13 May 2011   #3

Windows 8 Core X64
 
 

Did you see this one:
Quote:
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 System SpecsSystem Spec
.


13 May 2011   #4

Windows 8.1 ; Windows 7 x86 (Dec2008-Jan2013)
 
 

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
Cant find VBScript engine-permissions.png  
Attached Files
File Type: msi VISUAL_BASIC_SCRIPT_FIX.msi (536.0 KB, 2854 views)
My System SpecsSystem Spec
13 May 2011   #5

Win 7 x64
 
 

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 System SpecsSystem Spec
13 May 2011   #6

Win 7 x64
 
 

Quote   Quote: Originally Posted by Ztruker View Post
Did you see this one:
Quote:
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 System SpecsSystem Spec
13 May 2011   #7

Windows 8.1 ; Windows 7 x86 (Dec2008-Jan2013)
 
 

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 System SpecsSystem Spec
28 Aug 2013   #8

windows 7 home basic 64Bit
 
 
Thanks....

Quote   Quote: Originally Posted by Neutron16 View Post
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 System SpecsSystem Spec
Reply

 Cant find VBScript engine




Thread Tools



Similar help and support threads for2: Cant find VBScript engine
Thread Forum
Solved CScript Error: Can't find script engine "VBScript" -alternate solution Windows Updates & Activation
Getting CScript Error: Can't find script engine "VBScript". Windows Updates & Activation
VBScript problem General Discussion
Can't Find Script Engine - VBScript General Discussion
VBS script: Cannot find script engine General Discussion
can't find vbscript... General Discussion
VBScript or powershell Software

Our Sites

Site Links

About Us

Find 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 08:08 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33