run .hta as adminstrator

HTA (HTML Applications) should be associated with the Microsoft HTML Application Host (mshta.exe) program. Normally when you double-click the file through the Windows Explorer it automatically makes this association for you. When you are launching it from the command line you should do something like this:

runas /user:<user name> "mshta.exe <full path to HTA file>"

You can make a commandlet.

Create a new text file

type into the text file (you may have to use quotes if the path to the .hta has spaces) %WINDIR%\system32\mshta.exe "FULLPATH_OF_HTA\FILENAME.hta"

save the text file change the extention from .txt to .cmd now you can right click and run as admin or shift right click to run as other user. you can also create shortcuts or change the icon to make it less generic looking.