I have a number of HTAs on my computer.
Now when I try to run them, I get the message:
This app can't run on your PC.
To find a version for your PC, check with the software publisher.
Even a simple HTML file, renamed to the .hta
extension, has the same problem.
When I try Open With in the context menu, the mshta.exe
executable no longer appears in the context menu (like it used to). When I browse to it (either the 32-bit or 64-bit version) I get the following:
The program you have selected cannot be associated with this file type. Please choose another program.
I get the same message whether or not I've checked the Always use this app to open '.hta' files checkbox.
When I try calling mhsta.exe
from the command line and passing in the name of the HTA as an argument, the HTA doesn't open, but there are no additional errors.
Are HTAs now deprecated / disabled? How can I resolve this?
I am running:
Windows 10 Pro
Version 1709
OS Build 16299.431
64-bit architecture and OS
.hta
files