How to Enable Windows Script Host in Windows 7

Techwalla may earn compensation through affiliate links in this story. Learn more about our affiliate and product review process here.

Windows Script Host is a Windows 7 component that executes Microsoft Visual Basic scripts and small Java scripts. Default Windows installations associate the Windows Script Host to run with files that have ".vbs," ".jse," and ".wsf" extensions. Some system administrators disable the Windows Script Host to prevent users from accidentally running scripts that may contain harmful code. Enable the Windows Script Host if you ever need to run script that you know is safe or came from a trusted source.

Advertisement

Step 1

Click the Start menu and type "regedit" on the search box. Press the "Enter" key to launch the Registry Editor. Refer to the left pane of the Registry Editor where you can see a list of registry keys which look like folders.

Video of the Day

Step 2

Double-click on the "HKEY_CURRENT_USER" key on the left pane to expand it so you can see more keys underneath. Double-click on the "Software" key to reveal more keys under that. Keep expanding the keys until you reach the "Settings" located at "HKEY_CURRENT_USER\Software\Microsoft\Windows Script Host\Settings."

Advertisement

Advertisement

Step 3

Click the "Settings" key and refer to the right pane where you should see a label called "Enabled" with a "0" value. Right-click that entry and click "Delete." Click the "Yes" button to enable the Windows Script Host.

Video of the Day

Advertisement

Advertisement

references & resources