Link to home
Start Free TrialLog in
Avatar of danncox
danncoxFlag for Canada

asked on

missing vbscript engine - Windows 7 starter

I recently received a Dell netbook with Win7 starter ed. from my employer, for use in remote site visits.  My first attempt to use it has fialed, since I could not get it to run sime vbscripts I have run on many other machines.  I am very far from being an expert on scripting - I just run these.

The error received is:
Cant find script engine "VBScript" for script "xx.vbs"
I have tried, as suggested in solutions on this and other sites, re-registering vbscript.dll, and using the //E: option, but to no avail.  Since all the MS downloads I saw for WSH were for Win2K and XP, I was reluctant to try re-installing WSH on this machine.
Avatar of Chris B
Chris B
Flag of Australia image

Firstly, is SP2 installed? If not install it as yur problems may the disappear.
To register the dll in Vista you must use an elevated command prompt - Start - All Programs - Accessories - right click Command Prompt - Run as Administrator, then -
regsvr32 %systemroot%\system32\vbscript.dll
If the registration was successful, you should now see the following message:
DllRegisterServer in vbscript.dll succeeded.
If this doesn't fix it, go ahead and install Windows Script 5.7 for Windows XP from here - http://www.microsoft.com/downloads/details.aspx?FamilyID=47809025-D896-482E-A0D6-524E7E844D81&displaylang=en
This is the version included with Vista, so it is not listed for Vista (as it is already installed).

Chris B
Sorry, wrong version Win7 uses 5.8. The above is for Vista.

Chris B
WSH8 is part of IE8, it does not appear to be available as a separate download, so if you have IE8 you have it. Of course, if you don't then the solution is clear.

Chris B
Avatar of ltlbearand3
Windows vb scripting is considered part of the OS in Windows Vista and Windows 7 and therefore does not have a download available.  Win 7 is using version 5.8 so you do not want to load 5.7.  There are several posts around the web with people having this very issues, but I do not see any fixes.  I can think of a couple things to try.  The first would be to try and register the dll I have uploaded.  It comes from a Windows 7 box I have where vbscripting is working.  Unregister the current dll, then copy in this file, and then register this file.  (C:\windows\system32)

The other idea would be to try and run a repair on windows.

-Bear

vbscript.dll
One issue with this site, is when one posts a comment and realizes that it was entirely inappropriate as I did above, there is no facility to edit or withdraw. Such is life.

Chris B
Avatar of danncox

ASKER

Thanks, everybdy, for the suggestions.  My corporae SPAM filter ate the notifications, and so I didn't see them n my Blackberry over the weekend.  I will try your suggestion, ltlbearand3, later today, as time permits.
ASKER CERTIFIED SOLUTION
Avatar of danncox
danncox
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial