Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can not find script engine "VBScript"

Status
Not open for further replies.

crackoo

Programmer
Feb 17, 2011
132
TN
I am under Vista 32-bit, so here is the error I have when I run any VBS script and this after uninstall Avast Internet Security:
Can not find script engine "VBScript"
Do you have an idea of the problem and especially how to solve it ?
Thank you for your help !
 
Try popping up a cmd prompt and typing

cscript scriptname.vbs

If that works, then it is just the associations that are incorrect.
 
cscript scriptname.vbs =====> I get the Same Error !!!
 
Do windows\system32\cscript.exe or windows\system32\wscript.exe exist?
 
Hi !
The windows\system32\cscript.exe and windows\system32\wscript.exe exist !
Even after uninstalling Avast Internet Security there are values? that remain in the registry and I can not delete or modify them because I have no right as I am an administrator on this PC ?
So how to solve this problem ?
Code:
 Windows Registry Editor Version 5.00 
[HKEY_CLASSES_ROOT\CLSID\{B54F3741-5B07-11cf-A4B0-00AA004A55E8}] 
@="VB Script Language" 
[HKEY_CLASSES_ROOT\CLSID\{B54F3741-5B07-11cf-A4B0-00AA004A55E8}\Implemented Categories] 
[HKEY_CLASSES_ROOT\CLSID\{B54F3741-5B07-11cf-A4B0-00AA004A55E8}\Implemented Categories\{F0B7A1A1-9847-11CF-8F20-00805F2CD064}] 
@=hex(0): 

[HKEY_CLASSES_ROOT\CLSID\{B54F3741-5B07-11cf-A4B0-00AA004A55E8}\Implemented Categories\{F0B7A1A2-9847-11CF-8F20-00805F2CD064}] 
@=hex(0): 
[HKEY_CLASSES_ROOT\CLSID\{B54F3741-5B07-11cf-A4B0-00AA004A55E8}\InprocServer32] 
@="C:\\Program Files\\AVAST Software\\Avast\\AhAScr.dll" 
"ThreadingModel"="Both" 
"Default Engine"="C:\\Windows\\system32\\VBScript.dll" 
[HKEY_CLASSES_ROOT\CLSID\{B54F3741-5B07-11cf-A4B0-00AA004A55E8}\OLEScript] 
@=hex(0): 
[HKEY_CLASSES_ROOT\CLSID\{B54F3741-5B07-11cf-A4B0-00AA004A55E8}\ProgID] 
@="VBScript"
In fact, it had a residue of Avast Antivirus in the registry:
[HKEY_CLASSES_ROOT\CLSID\{B54F3741-5B07-11cf-A4B0-00AA004A55E8}\InprocServer32]

There is a link to a dll Avast Antivirus instead of C: \Windows\system32\vbscript.dll
By replacing it I think it will Works fine I'm sure ! But the great Problem I can't because I have no right as I am an administrator on this PC ?
 
There are two types of administrator: one with administrator privileges and the other one called administrator.

The one with administrator privileges cannot do this: you need to be the one called administrator. If the administrator account has not been enabled, from a command prompt,

net user administrator /active:yes

logout and login as administrator. Then you should be able to do whatever.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top