Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista General

Vista - Vista and HTAs

Reply
 
Old 05-02-2006   #1 (permalink)
Tom Ker


 
 

Vista and HTAs

I have a series of HTAs I use to do initial system configuration under the
local administrator's ID. They work well on XP, but they fail on Vista
(5308). They're not throwing any error messages, but I'm seeing failure at
a couple points. First, an initial HTA launches when you log on as the
built-in administrator to get the tech's credentials and connect to a
network share to launch another HTA that actually does the work. The first
script (local) does run and does call the second script (from the server),
but the second does not appear. NET USE shows that the share is mounted and
Task Mgr shows that mshta is running, but the GUI is not visible. The
second failure point occurs if I actually launch the server-based HTA.
There's logic in it to unload and reload the HTA with different data if
requested by mouse click. Initially the HTA runs, accepts input, and it
appears that the unload and reload happens, but again the GUI is not
visible. In this case too Task Mgr shows that mshta is running.

Obviously Vista is handling these HTAs differently than XP. And I'm seeing
more security warning messages ("are you sure you want to run this" type
messages) when I launch the HTA in the first place. These are annoying, but
less of a concern because you can actually navigate through them to allow
the script to run.

Can anyone point me to some documentation that explains how Vista handles
HTAs (and VBS scripts) differently from XP? Or even explain it to me
directly?

Thanks,

Tom



My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
demo RunAs for HTAs (and other filetypes) on Win7/Vista - feedback requested VB Script


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46