When setting up a Software Delivery task to run a .HTA file using MSHTA.EXE, nothing appears on the screen and the process never ends. Why is that?
Answer Running a .HTA file through MSHTA.EXE requires a direct path to the file you are running. If the command line is:
Then the mshta process will start but nothing will appear on the screen. The best way to call mshta to get the item to appear on the screen would be to set up Software Delivery with a alternate download path (such as C:\temp) and run the command as follows:
This will cause the file to display properly. The same results can be seen when attempting to run the file through a Command Prompt.
Imported Document ID: HOWTO9567
Subscribing will provide email updates when this Article is updated. Login is required.