![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| 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. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | 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 Specs![]() |
| | #2 (permalink) |
| | 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 Specs![]() |
| | #3 (permalink) |
| | 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 Specs![]() |
| | #4 (permalink) |
| | 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 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 Specs![]() |
| | #5 (permalink) |
| | 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. > MowGreen [MVP 2003-2008] =============== *-343-* FDNY Never Forgotten =============== |
My System Specs![]() |
| | #6 (permalink) |
| | 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. > MowGreen [MVP 2003-2008] =============== *-343-* FDNY Never Forgotten =============== |
My System Specs![]() |
| | #7 (permalink) |
| | 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 Specs![]() |
| | #8 (permalink) |
| | 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 Specs![]() |
| | #9 (permalink) |
| | 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 Specs![]() |
| | #10 (permalink) |
| | Re: Windows Script Host has no script engine for ".js" files Ramesh, MS-MVP wrote: Quote: > I've updated the article now. > MowGreen [MVP 2003-2008] =============== *-343-* FDNY Never Forgotten =============== |
My System Specs![]() |
![]() |
| 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 | |||