G
Guest
Hi,
does anyone knows how to run an HTA file as administrator with UAC enabled ?
HTA doensn't have the "Run as administrator" in the context menu, doesn't
have the compatibility tab in the properties and seems to completely ignore
a myapp.hta.manifest file. The runas command with /trustlevel:unrestricted
doesn't work. I cannot runas built-in administrator because this is disabled
by default (and it's better to leave disabled)
I even tryed to run cmd as administrator and run the HTA from there, but it
still don't have administrative rights (I think it creates a new context
with lower trustlevel).
I've the same problem with WSH scripts (i.e. VBS).
I'm not in a domain, so I cannot use group policy.
Thanks for any help.
Massimo.
does anyone knows how to run an HTA file as administrator with UAC enabled ?
HTA doensn't have the "Run as administrator" in the context menu, doesn't
have the compatibility tab in the properties and seems to completely ignore
a myapp.hta.manifest file. The runas command with /trustlevel:unrestricted
doesn't work. I cannot runas built-in administrator because this is disabled
by default (and it's better to leave disabled)
I even tryed to run cmd as administrator and run the HTA from there, but it
still don't have administrative rights (I think it creates a new context
with lower trustlevel).
I've the same problem with WSH scripts (i.e. VBS).
I'm not in a domain, so I cannot use group policy.
Thanks for any help.
Massimo.