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:
Please log in to answer
Posted by:
SMal.tmcc
11 years ago
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 11 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 11 years ago