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

S

Stephan G.

Guest
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]

Guest
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
===============




Stephan G. wrote:

> 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.

 
S

Stephan G.

Guest
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

MowGreen [MVP] wrote:
> 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
> ===============

 
R

Ramesh, MS-MVP

Guest
Stephan,

>> I had tried the regsvr32 previously, and it doesn't work


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


"Stephan G." <stephan-g@viewpage.net> wrote in message news:%233Lim4XpIHA.1736@TK2MSFTNGP04.phx.gbl...
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

MowGreen [MVP] wrote:
> 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]

Guest
Ramesh, MS-MVP wrote:

> Stephan,
>
>
>>>I had tried the regsvr32 previously, and it doesn't work

>
>
> 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

Guest
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


"MowGreen [MVP]" <mowgreen@nowandzen.com> wrote in message news:%23nhD4dYpIHA.3568@TK2MSFTNGP04.phx.gbl...
Ramesh, MS-MVP wrote:

> Stephan,
>
>
>>>I had tried the regsvr32 previously, and it doesn't work

>
>
> 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
===============
 
S

Stephan G.

Guest
Worked like a dream... thank you Ramesh!

-stephan

Ramesh, MS-MVP wrote:
> Stephan,
>
>>> I had tried the regsvr32 previously, and it doesn't work

>
> 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.
>

 
R

Ramesh, MS-MVP

Guest
You're welcome Stephan.

--
Regards,

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


"Stephan G." <stephan-g@viewpage.net> wrote in message news:eg9JOXcpIHA.2188@TK2MSFTNGP04.phx.gbl...
Worked like a dream... thank you Ramesh!

-stephan

Ramesh, MS-MVP wrote:
> Stephan,
>
>>> I had tried the regsvr32 previously, and it doesn't work

>
> 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.
>

 
R

Ramesh, MS-MVP

Guest
I've updated the article now.

--
Regards,

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


"Ramesh, MS-MVP" <ramesh@unknownhost> wrote in message news:%23ZJmqncpIHA.3804@TK2MSFTNGP02.phx.gbl...
You're welcome Stephan.

--
Regards,

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


"Stephan G." <stephan-g@viewpage.net> wrote in message news:eg9JOXcpIHA.2188@TK2MSFTNGP04.phx.gbl...
Worked like a dream... thank you Ramesh!

-stephan

Ramesh, MS-MVP wrote:
> Stephan,
>
>>> I had tried the regsvr32 previously, and it doesn't work

>
> 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.
>

 
M

MowGreen [MVP]

Guest
Ramesh, MS-MVP wrote:

> I've updated the article now.
>


WTG, Ramesh.

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

Top