How many times Microsoft has fixed many bugs related to Windows Script Host?
This tweak allows easily to switch on /off Windows Script Host without editing any settings or specified WSH associations (.vbs, .vbe, .js, .jse, .wsf, .wsh file types).
Save these lines as switchWSH.reg:
Code:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\EnableScriptHost]
"Type"="checkbox"
"Text"="Enable Windows Script Host"
"HKeyRoot"=dword:80000001
"RegPath"="Software\\Microsoft\\Windows Script Host\\Settings"
"ValueName"="Enabled"
"CheckedValue"=dword:00000001
"UncheckedValue"=dword:00000000
"DefaultValue"=dword:00000001
If you want to apply this tweak, remember to uncheck this option and to apply this setting.

This is the error screen when I try to execute a .vbs script:
Bookmarks