To disable Windows Script Hosting (WSH), open the Registry Editor and go to HKEY_LOCAL_MACHINE > Software > Microsoft > ...