[Fix] There is no script engine for file extension .JS – Error

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

There is no script engine for file extension



[Fix] There is no script engine for file extension .JS

The “script engine” error occurs if the .js file association data is missing or incorrect. Follow these steps to resolve the problem:

  1. Open an elevated Command Prompt window.
  2. Type the following command and press Enter:
    regsvr32 %systemroot%\system32\jscript.dll
  3. Type exit to close the Command Prompt window.
  4. Right-click jscript_fix.reg (zipped), click “Save Target as” or the equivalent option in your browser, and save the file to the desktop.
  5. Unzip the archive, and double-click on the .reg file to apply the settings. The fix applies to all versions of Windows, including Windows 10.
  6. Click Yes when asked for confirmation.

One small request: If you liked this post, please share this?

One "tiny" share from you would seriously help a lot with the growth of this blog. Some great suggestions:
  • Pin it!
  • Share it to your favorite blog + Facebook, Reddit
  • Tweet it!
So thank you so much for your support. It won't take more than 10 seconds of your time. The share buttons are right below. :)

Ramesh Srinivasan is passionate about Microsoft technologies and he has been a consecutive ten-time recipient of the Microsoft Most Valuable Professional award in the Windows Shell/Desktop Experience category, from 2003 to 2012. He loves to troubleshoot and write about Windows. Ramesh founded Winhelponline.com in 2005.