Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

General discussion

VBScript disabled or not Installed...

Dec 23, 2006 8:23AM PST

Been having problems with my computer lately, and I think I may have finally hammered down the problem, though I'll be honest when I say I have no idea how to fix it.

After some effort, a restore, and a few other things I have myself running at about 90% of what I should be, but a few programs refuse to work, and I regularly have problems installing new programs.

I recently got this message, which may explain a lot:

"<program name> could not be installed because Visual Basic Script (VBScript) is not installed or has been disabled. Make sure VBScript is installed, turn off script blocking in anti-virus and personal firewall software, re-register VBScript, and install the program."

I've been looking around.. but I can't for the life of me figure out *where* to re-enable VBScript or more importantly, reinstall it. I'm fairly sure I have no script blocking software, so I'd really like to reinstall VBScript... anybody got any ideas?

Discussion is locked

- Collapse -
A Few Things To Do..
Dec 24, 2006 5:05AM PST

First, it would sure help if you gave us more information about your computer, specifically the operating system...

Second, start by installing the newest Windows Script Engine from the appropriate link below:

Windows Script 5.6 for Windows 98, Windows Millennium Edition, and Windows NT 4.0

Windows Script 5.6 for Windows XP and Windows 2000

Next, if that doesn't help, then please download and install the Visual Basic 6 SP6 runtime files from the link below:

http://www.microsoft.com/downloads/details.aspx?familyid=7B9BA261-7A9C-43E7-9117-F673077FFB3C&displaylang=en

You may also need Java, but please try the above steps first and let us know how it goes.

You may also have a problem with spyware which is causing the issues.. Have you scanned your computer with antispwyare tools and if so, which ones?

Hope this helps and let us know more.

Grif

- Collapse -
A Few Things To Do..
Dec 24, 2006 6:16AM PST

First my apologies to the poster for hi-jacking the thread.

Does 'windows script' have anything to do with 'windows scripting host'?

Answer>>>yes>no>maybe?

W98..I uninstalled WSH...I was not sure what to expect so I tested the browser..IE6...with a site that used vbscript...no problems.

What the heck is WSH for?
Is this a product that allows ME to write scripts?

- Collapse -
Windows Scripting Host...
Dec 26, 2006 8:35AM PST

...was first installed in Windows 98 and afterwards became available for all the following Windows operating systems.. In laymans terms, it users to automate tasks in Windows by providing access to the Windows shell, file system, registry, and more. "Writing" script can be done with text files created from notepad. There are lots of links in Google where you can read about it.

The Wikipedia link below provides a fairly inclusive answer:

http://en.wikipedia.org/wiki/Windows_Script_Host

Although you may have uninstalled the most recent version of the WSH,(5.6), I'm guessing the machine simply reverted back to an older version.. That's why it may have worked correctly with the vbs script you tested. If you had correctly disabled or removed the "Wscript.exe" file, you should have seen a "Program Not Found" message.

Hope this helps.

Grif

- Collapse -
Thanks.
Dec 26, 2006 11:20PM PST

I think I see where my confusion came from.

The test site I used does not send a vbs file.

It looks at my browser..IE.. and says yes that's vbs capable.

- Collapse -
Visual Basic Script (VBScript) is not installed
May 30, 2007 7:24AM PDT

This seems to be the fix

Register the module vbscript.dll from an elevated Command Prompt window. To open an elevated Command Prompt, click Start, click All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.

Type the following in the Command Prompt window and press ENTER

regsvr32 %systemroot%\system32\vbscript.dll

And then type the following to exit the Command Prompt window.

EXIT

- Collapse -
it worked
Jun 2, 2007 12:10PM PDT

thanks that did work.

- Collapse -
VBScript is not installed or disabled
Jun 23, 2007 1:07AM PDT

I have gateway notebook with windows vista operating system and I am trying to download Itunes and I keep getting the message about the VBScript not being installed or disabled or script blocking my on and I need to turn it off. I have no clue what I am doing. Please help with this. Thanks.

- Collapse -
For Vista too
Jun 23, 2007 4:33AM PDT
- Collapse -
it worked
Jun 25, 2007 11:05PM PDT

Thanks that worked really fast!