- Home
- Windows XP
- Error messages
- Error "There is no script engine for file extension" when running .js files
- Home
- Windows Vista
- Error messages
- Error "There is no script engine for file extension" when running .js files
Error "There is no script engine for file extension" when running .js files
- Copyright © 2008 Ramesh Srinivasan
- Error messages , Error messages
Symptom
When you attempt to run a .js (JScript Script File) file, one of the following errors may occur:
Can't find script engine "JScript" for script "filename.js".
There is no script engine for file extension ".js".
Resolution
This happens if the .js file class data is missing or incorrect. Follow these steps to resolve the problem:
Instructions for Windows Vista
Open an Elevated Command Prompt window. To do so, click Start, click All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.
- Type the following command and press ENTER:
regsvr32 %systemroot%\system32\jscript.dll
- Type EXIT to close the Command Prompt window
- Download vista_js_fix.reg from the Attachments section (scroll below), and save it to Desktop
- Right-click vista_js_fix.reg and choose Merge
- Click Yes when asked for confirmation.
Instructions for Windows XP
- Click Start, Run and type:
regsvr32 %systemroot%\system32\jscript.dll
- Press ENTER
- Download xp_js_fix.reg from the Attachments section below, and save it to Desktop
- Right-click xp_js_fix.reg and choose Merge
- Click Yes when asked for confirmation.
If the above does not solve the problem, then download and install Windows Script 5.7 from the following Microsoft Web site:
Attachments
If you enjoyed this post, make sure you
subscribe to our RSS feed!
We feature Tips, Troubleshooting information, Scripts and Utilities for Microsoft Windows Operating Systems!
Prefer an E-mail subscription?
10 Responses to "Error "There is no script engine for file extension" when running .js files" 
|
said this on 07 Nov 2007 10:18:31 AM PDT
Excellent. It worked.
|
|
said this on 28 Nov 2007 1:01:42 AM PDT
worked for me as well, thank you for the easy fix.
|
|
said this on 19 Jul 2008 9:26:06 PM PDT
Many thanks for that. Great help
|
|
said this on 25 Jul 2008 9:40:03 AM PDT
When I uninstalled Adobe CS3 trial version, it looks like it messed up the association with .js files.
Your suggestion helped to fix. Thanks a lot.
|
|
said this on 29 Jul 2008 6:14:03 AM PDT
Click click click - fixed.
Nice.
|
|
said this on 29 Oct 2008 2:55:31 PM PDT
Thanks for this post, it was very helpfull!
|
|
said this on 09 Mar 2009 7:31:50 AM PDT
Awesome. Every easy instructions and worked perfectly. Like a previous commenter mentioned, I too just uninstalled Adobe CS3, which may have caused this problem.
|

Author)