Solved

SCCM HTA appears behind task sequence during Vista PE OSD deployment

Posted on 2009-05-08
2
1,714 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

Edgartown IT Case Study

Learn about Edgartown's quest to ensure the safety and security of the entire town's employee and citizen data. Read the case study!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Boolean 13 49
Need advice on an App idea......but who do I ask? 2 69
Expanding/Collapsing Tree on SharePoint List 29 63
iframe stay to the left of page 5 30
Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

734 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