This tip was submitted to the SearchSecurity Tip Exchange Contest by user Stephen Mencik. Let other users know how useful it is by rating the tip below. There is a very simple way for Windows users (95, 98, ME, NT or 2000) to eliminate completely the threat of "accidentally" executing a VBS attachment to an e-mail. Do the following:
 Go to any open Windows Explorer or File Manager window.
 On the pull-down menus select "Options" on the "View" pull-down.
 Select the "File Types" tab.
 Scroll down until you see the .vbs file type.
 For each of them, highlight the entry and select "Edit."
 Highlight "Open" and select "Edit."
 Change the "application use to perform action" from "wscript.exe" to the path name for where "notepad.exe" is located. This is likely either "C:windowsnotepad.exe" or "C:WINNTnotepad.exe." You can use the file find feature to locate the proper path.
 Once changed, click "OK" and "Close."
 Repeat for the .vbe file type. By doing this, if you ever "accidentally" click on a worm or virus written in Visual Basic, it will pop open in notepad rather than executing. This will stop all of them, even if your antivirus software doesn't. This does not mean you don't need antivirus software, as it does nothing for other types of malicious code (.exe, .com, etc.). It also does not prevent those who have
This was first published in May 2001