Fixed it by the following (not sure if you need to do all these steps, it may be just registry edit)
run command prompt cscript.exe //H:WScript
run command prompt Regsvr32 vbscript.dll
Run Regedit
Select .vbs under HKEY_CLASSES_ROOT
Change the value for (Default) to ""VBSFile