Solved

SCCM HTA appears behind task sequence during Vista PE OSD deployment

Posted on 2009-05-08
2
1,724 Views
Last Modified: 2013-11-21
I have a HTA form that prompts for user input at the start of a SCCM 2007 RC2 tasks sequence.

When it launches (under windows Vista PE), the HTA appears behind the task sequence dialogue.

How do I make the HTA appear in front of the task sequence dialogue so it is ready for user input?

Is there a VBS command I can use to make the HTA form come to the foreground onload?

ie: in the "Sub Window_OnLoad"  section


0
Comment
Question by:alliedfusion
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 17

Expert Comment

by:Jared Luker
ID: 24336719
If you are using wshshell.run, you can use the intWindowsStyle option to play with how the window displays.  My guess is that you'd want 1 or 3.

http://www.devguru.com/technologies/WSH/17419.asp
0
 

Accepted Solution

by:
alliedfusion earned 0 total points
ID: 24352768
I ended up finding a *.exe to perform this function

http://www.commandline.co.uk/cmdow/

and added a SUB Routine to the Sub Window_OnLoad

 Sub Bring_HTA_to_Font_Most_Window
         Set objShell = CreateObject("Wscript.Shell")
         objShell.Run "..\HTA\POPHTA.CMD"
 End Sub


COMMAND FILE "POPHTA.CMD
"cmdow.exe" "Workstation Naming" /TOP /ACT

0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
Suggested Courses

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question