Press Releases and News




Ordering Information


About VB2Java.COM


Visual Basic Articles

VB 2 Java Articles

Java Articles

Misc. Articles

Updated on:
Wednesday, May 23, 2001 

VBS Defender

Download EXE only
MSVBVM60.DLL required
Download Full installation
Includes MSVBVM60.DLL and latest support DLLs

When Visual Basic Script (VBS) was first created, many Visual Basic developers thought this was a good thing because then they could use it with their Web pages rather than JavaScript. Unfortunately, only Microsoft Internet Explorer could work with client-side VBS.

Microsoft, in their infinite wisdom, decided that VBS was such a great subset of the Visual Basic language, they incorporated VBS into the Windows Scripting Host (WSH) engine. WSH is a very useful tool used by a lot of network administrators running Windows NT/2000 servers to help automate a lot of tasks. WSH was introducted to the Windows 9x environments with the introduction of Microsoft Internet Explorer 4.x.

Many Windows users don't know that WSH is even installed on their system until it's too late. What we mean by too late is when a VBS-based virus infects their system. By default, a file with extension VBS, JSE, or WSH are immediately executed when one double-clicks on them. Rather than having the Windows execute these files when one double-clicks on them, it's safer to have default action open the file in Notepad. This allows you see the content of the file first before executing it. If you really want to execute the file, simply select the file, click on it with the right mouse button, and select Open from the context menu.

This program is based on specifications outlined in Rod Ream's PC World article, "How to Trick the Anna Worm".
Click here to read the article

Purpose of VBS Defender
By changing the default setting for files with the extensions: VBS, VBE, JS, and JSE from Open to Edit, when you double-click on this file type, the file will open in NotePad rather than being executed through the Windows Scripting Host (WSH) engine. It is not designed to be a complete Script-based Anti-Virus program, but simply just another level of defense. You should continue to use your continually updated anti-virus software.

To run VBS Defender as a command-line application, go to the folder where VBS Defender resides and type the following at a DOS prompt:


Once completed, there will be no dialog box or anything else. The reason why is because we assumed that you were running it as part of a login script or SMS package deployed to all users and we felt that having a dialog box appear would just get in the way.

To removed the changes to Windows System Registry made by VBS Defender, from a DOS prompt, type the following:


If you have scripts that need to be executed, simply put WSCRIPT before the name of the script file.

System Requirements
This program is designed to run on any version of Windows 9x/Me and Windows NT/2000.

This program is freeware/donationware. You are free to use this program on as many computers as you want without the worry that the software police will come knocking on your door for a registration fee. We do ask that if you feel so inclined, feel free to make a donation to our software development cause.

Click on the graphic to make a donation.
Download EXE only
MSVBVM60.DLL required
Download Full installation
Includes MSVBVM60.DLL and latest support DLLs