Windows Script Host has no script engine for ".js" files

S

Stephan G.

Hello.

I am running Windows Vista Home Premium with service pack 1, although
this problem existed even before SP1 was installed.

Although under both Firefox and Internet Explorer I am able to fully
utilize websites with javascript, and seem to be able to run other
scripts (installation and otherwise) with little difficulty, there are a
minority of installation scripts that lead to the following window
popping up and the script terminating:

WINDOW TITLE: Windows Script Host
MESSAGE: There is no script engine for file extension ".js".
POSSIBLE ACTIONS: OK button only. When pressed, the
action seems to terminate without
completion.

Any thoughts of this? I have been poking around in the Microsoft KB
about the Windows Script Host, and I have come to understand what it
does, but I can't locate what is causing this error.

Is there a way to completely uninstall and reinstall the Windows Script
Host?

Thanks.

-Stephan.
 
M

MowGreen [MVP]

A similar error found in XP :
http://www.winhelponline.com/articl...sion-when-running-js-files-in-Windows-XP.html

You could try registering jscript.dll and see if that resolves the
issue. Suggest you do it from an Elevated Command Prompt
Start Search
type in cmd
Click Search
*Right* click cmd and choose 'Run as administrator'
Follow and/or Approve the prompts
At the prompt, type in and then press Enter after each command

regsvr32 %systemroot%\system32\jscript.dll
exit

Not sure if the reg file on Ramesh's page is applicable to Vista,
though. JSFile is located in HKEY_CLASSES_ROOT\.JS in XP and mowst
likely is in Vista, too. Compare and contrast it with the reg file to
see if it is applicable to Vista, Stephan.

MowGreen [MVP 2003-2008]
===============
*-343-* FDNY
Never Forgotten
===============
 
S

Stephan G.

Dear MowGreen -

Thanks for the ideas. I had tried the regsvr32 previously, and it
doesn't work. I am hesitant to try and run the XP registry merge as I
am unclear what it does and don't want to make a bigger error than what
I am solving. I did follow the link to the microsoft download site to
download and reinstall the scripting engine, and I am struck that
although there are various packages for XP, for NT, for Windows 2000 and
the like, there seem to be no packages for Windows Vista.

Any further ideas you (or anyone else) has would be most appreciated.

-s
 
R

Ramesh, MS-MVP

Stephan,

Did you get any error message when running the regsvr32 command?

Although the xp_js_fix.reg can be applied in Windows Vista, here is a seperate version that I uploaded:
http://www.winhelponline.com/fixes/vista_js_fix.reg

Try running the .JS fix REG file from the above link and post back.

Note that .REG files are plain-text, and are viewable in a text editor like Notepad.

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com
Winhelponline.com blog http://www.winhelponline.com/blog


Dear MowGreen -

Thanks for the ideas. I had tried the regsvr32 previously, and it
doesn't work. I am hesitant to try and run the XP registry merge as I
am unclear what it does and don't want to make a bigger error than what
I am solving. I did follow the link to the microsoft download site to
download and reinstall the scripting engine, and I am struck that
although there are various packages for XP, for NT, for Windows 2000 and
the like, there seem to be no packages for Windows Vista.

Any further ideas you (or anyone else) has would be most appreciated.

-s
A similar error found in XP :
http://www.winhelponline.com/articl...sion-when-running-js-files-in-Windows-XP.html


You could try registering jscript.dll and see if that resolves the
issue. Suggest you do it from an Elevated Command Prompt
Start Search
type in cmd
Click Search
*Right* click cmd and choose 'Run as administrator'
Follow and/or Approve the prompts
At the prompt, type in and then press Enter after each command

regsvr32 %systemroot%\system32\jscript.dll
exit

Not sure if the reg file on Ramesh's page is applicable to Vista,
though. JSFile is located in HKEY_CLASSES_ROOT\.JS in XP and mowst
likely is in Vista, too. Compare and contrast it with the reg file to
see if it is applicable to Vista, Stephan.

MowGreen [MVP 2003-2008]
===============
*-343-* FDNY
Never Forgotten
===============
 
M

MowGreen [MVP]

Ramesh said:
Stephan,




Did you get any error message when running the regsvr32 command?

Although the xp_js_fix.reg can be applied in Windows Vista, here is a seperate version that I uploaded:
http://www.winhelponline.com/fixes/vista_js_fix.reg

Try running the .JS fix REG file from the above link and post back.

Note that .REG files are plain-text, and are viewable in a text editor like Notepad.

Thanks for stepping up, Ramesh <w>

MowGreen [MVP 2003-2008]
===============
*-343-* FDNY
Never Forgotten
===============
 
R

Ramesh, MS-MVP

No problem, Steve :)

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com
Winhelponline.com blog http://www.winhelponline.com/blog


Stephan,




Did you get any error message when running the regsvr32 command?

Although the xp_js_fix.reg can be applied in Windows Vista, here is a seperate version that I uploaded:
http://www.winhelponline.com/fixes/vista_js_fix.reg

Try running the .JS fix REG file from the above link and post back.

Note that .REG files are plain-text, and are viewable in a text editor like Notepad.

Thanks for stepping up, Ramesh <w>

MowGreen [MVP 2003-2008]
===============
*-343-* FDNY
Never Forgotten
===============
 
R

Ramesh, MS-MVP

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top