Skip to main content

No Script Engine For File Extension Error Fixed With No Reinstall Or INF Files!

I'm sure there are many people out there who have been confronted with the Windows Scripting Host error "No script engine for file extension <file extension>". This is the error I was confronted with today and have spent the last few hours working on a solution to it and I have just found it.

After finding that files with the .vbs extension were working fine I opened the registry using regedit.exe. Remember if you are going to mess with the registry back it up first because if you remove the wrong key it can destroy your system. Under the HKEY_CLASSES_ROOT key I navigated to the .js key. There is a string value named Default that had the value set to "(Default)". I changed this to "JSFile", without the quotes.  Looking at the .vbs key it also has a string value named Default with the value set to VBSFile. With this change made I closed regedit.

Navigate to the .js file you are trying to execute and right click on it. Select Open With from the menu and ensure that the Microsoft Windows Based Script Host has been chosen. If not select Choose default program and select the Script Host entry. Close the dialog and double click on the JavaScript file you want to execute. It should now execute without any problems.

Post a Comment

Popular posts from this blog

iOS 8.4 Is Here!

iOS8.4 is here and available to download so head over and grab it from Software Update.

Radon in Newry, Mourne and Down - Action & Education Needed

Council budgets have been and continue to be slashed and perhaps that's the reason why more is not being done to educate people on the risk Radon gas is posing to their health in the area of Newry, Mourne and Down. A recently published Government report includes the below map which starkly highlights the huge areas of the district that are potentially exposed to high levels of this naturally occurring radioactive gas.



While the UK Government recognises and highlights the role this gas plays in causing lung cancer the EPA in the U.S. goes further adding numbers and additional facts such as : 1. 21,000 deaths a year are linked to Radon gas in the U.S.  2. It's the second biggest cause of lung cancer after smoking 3. Radon can enter the home through the water supply as well as the soil 4. There is a risk of stomach cancer from ingesting water containing Radon and lung cancer from inhaling the gas carried in the water.
To help protect and educate the population it's time the c…

XBox Live Dashboard Update Tomorrow!

I just logged into XBox Live for the first time in a while today and I've mail informing me that XBox live is going to be offline tomorrow for about 24 hours. This must be the big update that was announced at E3. The blades will soon be gone and we'll have the more modern interface. I liked the blades but I'm very excited about new interface. I'll post about the new look once i get a look at it hopefully on Tuesday.