How to Enable Windows Script Host in Windows 7

Updated July 20, 2017

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.

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.

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."

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.


Check the "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows Script Host\Settings" key in the Registry Editor if you cannot find a value in the "HKEY_CURRENT_USER\Software\Microsoft\Windows Script Host\Settings" key.

Cite this Article A tool to create a citation to reference this article Cite this Article

About the Author

John Ruiz began his writing career in 2008 as a freelancer writing for eHow and various technology, software and hardware blogs. He has been designing websites since 2002. Ruiz earned a Bachelor of Science in information technology and web design from AMA Computer University.