Windows Scripting Host is a security issue that some authors of malicious programs are using. You may therefore want to disable this feature.
Windows Scripting Host (WSH) is a part of some of Microsoft’s 32 bits operating systems, or is installed when certain Microsoft programs are installed.
WSH may be used to run Visual Basic Scripts (VBS) to automate some actions which are to be performed frequently, and could thus be a useful tool. However - WSH are also used by some virus authors to perform malicious actions on computers. For example does the infamous LoveLetter virus utilize WSH.
As if often the situation - the security aware person has to choose between enhanced functionality versus higher security. With the havoc caused by LoveLetter in mind, security-aware organizations may want to disable the association between VBS and WSH on the computers. Then Visual Basic Scripts will not run automatically when clicked.
Click the relevant link below to see instructions about how to disable the association between .VBS and Windows Scripting Host for the operating system that you use.
Windows 2000 - disabling .VBS file association to Windows Scripting Host
WSH is installed if
- You select the default installation of the operating system
- You install Internet Explorer version 5
- You download WSH from a Microsoft's site
How to disable the .VBS file association to WSH:
- Log in as an administrator
- On the Desktop, or in Windows Explorer, right-click the My Computer icon.
- Select the menu choice Open.
- In the My Computer window, open the Tools menu and select Folder options.
- Open the File Types tab.
- Scroll and look for VBScript Script File in the list of different file types (alphabetically ordered) like in the image below..
If this file type is not in the list, .VBS files are not associated with WSH, and your computer is safe. - Click the Delete button.
- Click Yes if you are asked for confirmation.
Windows 98 - disabling .VBS file association to Windows Scripting Host
WSH is installed if
- You select the default installation of the operating system
- You install Internet Explorer version 5
- You download WSH from a Microsoft's site
How to disable the .VBS file assiciation to WBS
- Start Control Panel.
- Double-click the Add/Remove programs icon.
- Open the Windows Setup tab. Select Accessories and double-click it.
- In the list of accessories, find Windows Scripting Host like in the image below.

- Deselect this in the check-box.
- Click OK twice to confirm your settings and close the windows.
Windows NT version 4 - disabling .VBS file association to Windows Scripting Host
WSH is installed if
- You install Internet Explorer version 5
- You download WSH from a Microsoft's site
How to disable the .VBS file association to WSH:
- Log in as an administrator
- On the Desktop, or in Windows Explorer, right-click the My Computer icon.
- Select the menu choice Open.
- In the My Computer window, open the View menu and select Options....
- Open the File Types tab.
-
Scroll and look for VBScript Script File in the list of different file types (alphabetically ordered) like in the image below.

If this file type is not in the list, .VBS files are not associated with WSH, and your computer is safe. - Click the Remove button.
- Click Yes if you are asked for confirmation.
Windows 95 - disabling .VBS file association to Windows Scripting Host
WSH is installed if
- You install Internet Explorer version 5
- You download WSH from a Microsoft's site
How to disable the .VBS file association to WSH
- On the Desktop, or in Windows Explorer, right-click the My Computer icon.
- Select the menu choice Open.
- In the My Computer window, open the View menu and select Options....
- Open the File Types tab.
- Scroll and look for VBScript Script File in the list of different file types (alphabetically ordered) like in the image below:

If this file type is not in the list, .VBS files are not associated with WSH, and your computer is safe. - Click the Remove button.
- Click Yes if you are asked for confirmation.