Random or regular pop up keeps popping up “How do you want to open this type of file (.js)? Keep using microsoft windows based script host” usually when malware has altered your system default script host (Wscript.exe) settings..
(Wscript.exe is the script running engine, such as java scripts, vb scripts in a web page while you browse that web page. By default, java script is downloaded and executed in users pc by Wscript , more about this (Client-side_scripting wikipedia ) ..
How do you want to open this type of file (.js)? keep keep using microsoft windows based script host
How can you fix “How do you want to open this type of file (.js) ?” error message ?
You must have to follow two parts as described below.. (Most of the users confirmed, running malwarebyte, adwclener and trojanremove , eset and following part 2 ( command line fixing of Wscript.exe) worked, yet few of them claimed they had to run kaspersky removal tool and rkill and roguekill tools and part 2 command line fixing of Wscript.exe)
Run below virus/malware scanners first ,
Use malwarebyte (free version) have a full system scan http://www.malwarebytes.org/dd/
Use Eset online scanner and have a system scan http://www.eset.com/scan
Use Adwcleaner (freeware) and and have a full system scan..http://www.bleepingcomputer.com/adw )
Use Kaspersky removal tool and have a full system scan http://www.kaspersky.com/removal
Use Trojan remover and have a full system scan http://www.simplysup.com/ (shareware)
open command prompt run as admin
Command prompt run as admin
Run below command in administrative command prompt..
If it is successfully run, you should see this .. “The default script host is now set to “Wscript.exe””