Tagged: Task Sequence

Kill the task sequence window

There are a few blogposts about moving the task sequence status window.

An easy way is to simply kill it. 🙂

A short VBScript-hack:

killProcess "TSprogressUI.exe"

Sub killProcess(sProcessToKill)
	Dim oProcesses, oProcess, oWMIService

	Set oWMIService = GetObject("winmgmts:\\.\root\CIMV2")
	Set oProcesses = oWMIService.ExecQuery("Select * from Win32_Process Where Name = '" & sProcessToKill & "'")
	For Each oProcess in oProcesses
		oProcess.Terminate()
	Next	
End Sub

Some other ways:
http://blogs.technet.com/deploymentguys/archive/2008/10/09/placing-your-window-on-top-during-the-windowspe-stage.aspx

http://blogs.technet.com/deploymentguys/archive/2008/03/19/useful-script-number-2-move-the-task-sequence-window.aspx