I am trying to set up Task Scheduler to run a .vbs script file. The script runs without a problem if I double-click on the file, but if I try to run it using Task Scheduler, a windows headed "How do you want to open this file?" appears, and Microsoft Windows Based Script Host is not listed as an option.
I have performed a repair install of Windows 10, but even this did not help.
I would be grateful for any suggestions.