Fix when there is no script engine for file extension JS to run JScript files. ... First, right click a JS file and go to > Open with, and select the option “Microsoft Windows Based Script Host”. Then open the Command Prompt As Administrator and paste this command: regsvr32 %systemroot%\system32\jscript. dll.