The Windows Script Host shell, or WSH, lets your Windows computer run VBS files. VBS files contain Visual Basic code that changes settings on your computer. For security reasons, some administrators prefer to disable the computer's ability to run VBS files. You can disable WSH by editing the Windows registry. After WSH is disabled, your computer no longer runs VBS files.
Video of the Day
Click the Windows "Start" button and type "regedit" into the text box in the menu. Press "Enter" to open the registry editor.
Navigate to "HKEY_CURRENT_USER\Software\Microsoft\Windows Script Host\Settings\" by double-clicking "HKEY_CURRENT_USER," then double-click "Software." Double-click "Microsoft," then double-click "Windows Script Host" and "Settings." Right-click the white space in the details pane and select "New," then "DWORD Value." This opens a dialog text box.
Type "Enabled" in the "Name" text box. Type "0" in the "Value" text box. Click "OK" to create your registry value. Reboot your computer for the changes to take effect.