Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista General

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

Reply
 
Old 04-23-2008   #1 (permalink)
Stephan G.


 
 

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

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.

My System SpecsSystem Spec
Old 04-23-2008   #2 (permalink)
MowGreen [MVP]


 
 

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

A similar error found in XP :
http://www.winhelponline.com/article...indows-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:
Quote:

> 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.
My System SpecsSystem Spec
Old 04-23-2008   #3 (permalink)
Stephan G.


 
 

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

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

> A similar error found in XP :
> http://www.winhelponline.com/article...indows-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
> ===============
My System SpecsSystem Spec
Old 04-23-2008   #4 (permalink)
Ramesh, MS-MVP


 
 

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

Stephan,
Quote:
Quote:

>> 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@xxxxxx> wrote in message news:%233Lim4XpIHA.1736@xxxxxx
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:
Quote:

> A similar error found in XP :
> http://www.winhelponline.com/article...indows-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
> ===============
My System SpecsSystem Spec
Old 04-23-2008   #5 (permalink)
MowGreen [MVP]


 
 

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

Ramesh, MS-MVP wrote:
Quote:

> Stephan,
>
>
Quote:
Quote:

>>>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
===============
My System SpecsSystem Spec
Old 04-23-2008   #6 (permalink)
Ramesh, MS-MVP


 
 

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

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@xxxxxx> wrote in message news:%23nhD4dYpIHA.3568@xxxxxx
Ramesh, MS-MVP wrote:
Quote:

> Stephan,
>
>
Quote:
Quote:

>>>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
===============
My System SpecsSystem Spec
Old 04-24-2008   #7 (permalink)
Stephan G.


 
 

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

Worked like a dream... thank you Ramesh!

-stephan

Ramesh, MS-MVP wrote:
Quote:

> Stephan,
>
Quote:
Quote:

>>> 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.
>
My System SpecsSystem Spec
Old 04-24-2008   #8 (permalink)
Ramesh, MS-MVP


 
 

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

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@xxxxxx> wrote in message news:eg9JOXcpIHA.2188@xxxxxx
Worked like a dream... thank you Ramesh!

-stephan

Ramesh, MS-MVP wrote:
Quote:

> Stephan,
>
Quote:
Quote:

>>> 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.
>
My System SpecsSystem Spec
Old 04-24-2008   #9 (permalink)
Ramesh, MS-MVP


 
 

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

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@xxxxxx> wrote in message news:%23ZJmqncpIHA.3804@xxxxxx
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@xxxxxx> wrote in message news:eg9JOXcpIHA.2188@xxxxxx
Worked like a dream... thank you Ramesh!

-stephan

Ramesh, MS-MVP wrote:
Quote:

> Stephan,
>
Quote:
Quote:

>>> 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.
>
My System SpecsSystem Spec
Old 04-24-2008   #10 (permalink)
MowGreen [MVP]


 
 

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

Ramesh, MS-MVP wrote:
Quote:

> I've updated the article now.
>
WTG, Ramesh.

MowGreen [MVP 2003-2008]
===============
*-343-* FDNY
Never Forgotten
===============
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Problem with host script engine Vista account administration
do not display "ERRORS" when running script without using $erroractionpreference = "SilentlyContinue" PowerShell
problem passing args to script 'There is no script engine for file extenstion' VB Script
Script producing ""Not enough storage is available to complete..." VB Script
Should "script" be listed as a "reserved word" PowerShell


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46