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”.
This happens if the .js file association data is missing. Follow these steps to resolve the problem:
Open an Elevated Command Prompt window.
Type the following command and press ENTER:
Type EXIT to close the Command Prompt window
Download vista_js_fix.reg and save it to desktop. Right-click on the file and choose Merge.
Click Yes when asked for confirmation.
About the author
Ramesh Srinivasan founded Winhelponline.com back in 2005. He is passionate about Microsoft technologies and has a vast experience in the ITeS industry — delivering support for Microsoft's consumer products. He has been a Microsoft MVP [2003 to 2012] who contributes to various Windows support forums.