When installing some programs or when trying to run .vbs files, Windows informs me it cannot find VBScript.
I have tried everything I can find online, including:
-
Registering the .dll:
regsvr32 %systemroot%\system32\vbscript.dll
– I
get a successful message each time I register. -
Running
sfc /scannow
. -
Ensuring the registry key points the right place.
C:\Windows\system32\vbscript.dll
and not some anti-vir screening
file. -
I can see the .dll file in both
system 32
andsysWOW64
.
Any advice on how to proceed would be appreciated. Also I cannot find any place where I might re-downloaded the VBScript engine.
More information:
The .vbs file format is associated with the Microsoft Windows Based Script Host. This information is from the File Associations section of the Control Panel.
When I try to run a .vbs file I received an error window stating:
Windows Script Host – Can't find script engine "VBScript" for script
"C:****.vbs".
Best Answer
What happens when you run cscript.exe or wscript.exe? That's how you run (those) scripts on Windows.
It could be getting blocked by group policy, as well - I've heard of that being done in some corporate environments, though it was a temporary thing.
So, look for wscript.exe or cscript.exe, attempt to run them, see whether they're missing or what error message you get when running them, etc.