Possible Duplicate:
Input Error: There is no script engine for file extension “.vbs”.

VBScript support (Windows Scripting Host, as far as I understand) seems to be been broken on my system (for example, when I run a Microsoft FixIt tool it doesn't work and complains that "There is no script engine for file extension .vbs."). I've found Windows Script 5.7 for Windows XP but it refuses to install saying I have a newer service pack already installed. How to repair VBScript then?

link|improve this question

47% accept rate
feedback

closed as exact duplicate by techie007, random Jul 11 '11 at 14:08

This question covers exactly the same ground as earlier questions on this topic; its answers may be merged with another identical question. See the FAQ for guidance on how to improve it.

1 Answer

Try to repair the WMI. Do this:

Open a command promt (cmd) and run the following commands, one by one.

rundll32 wbemupgd, UpgradeRepository
cd /d %windir%\system32\wbem
for %i in (*.dll) do RegSvr32 -s %i
for %i in (*.exe) do %i /RegServer

Reboot computer.

http://windowsxp.mvps.org/repairwmi.htm

link|improve this answer
feedback

Not the answer you're looking for? Browse other questions tagged or ask your own question.