I recommend changing the file association for these types of files to notepad. If it breaks something for you, you can always change it back, but 99% of people who would actually need these files executing would know how to set it up. To protect yourself create two new files. You can do this in numerous ways but one is to right-click on the desktop -> new -> text document. Rename one file (test.js). It is important that you get that (.js) file extension. You should get a warning about changing the file extension, say yes.
Now right-click on the test.js file and select (open with->choose another app). Some wording might be different on different versions of Windows. Select notepad and make sure you check “always use this app…”
Rename your other file test.vbs and do the same thing. Once done, you can delete these two files. If you ever want to change it back you simply select some .js and/or .vbs file, or make one and associate it with Windows Based Script Host from the screenshot above.
You are now a little safer. As always, if you need help with this or any other issue please contact us and we can help. Stay safe out there.