/build/static/layout/Breadcrumb_cap_w.png

HTA application to show on top of other windows

I am going to deploy a message to all users to reboot their system using HTA. However the HTA message runs behind other windows. Can we make to show always on top. I cannot user vbs as we dont have an option to rename buttons in msgbox.

What is the command to show the window always on top?

I have used AppActivate and self.focus() but they dont work.


0 Comments   [ + ] Show comments

Answers (1)

Answer Summary:
Posted by: SMal.tmcc 10 years ago
Red Belt
2

http://social.technet.microsoft.com/Forums/scriptcenter/en-US/d1948ca9-5066-481b-822f-145664890437/hta-always-on-top?forum=ITCG


Comments:
  • Awesome... that link helped a lot. I used nircmd.exe and it worked.. Bingo :) .. Thanks SMal.tmcc :0 - Hariharan 10 years ago
    • I'd imagine you ran into this by now, but nircmd.exe can be flagged as a suspicious or malicious file by some security software suites. Just something to keep in mind as you may have to selectively whitelist, if you want to utilize that tool - drose23 10 years ago
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ