I wrote an AutoIt v3 script to do this, see www.autoitscript.com. You can compile the wh.au3 into a stand-alone .exe file. -John ; ; wh.au3 -- winhide ; -John Taylor ; Oct-12-2006 ; ; I use this to hide svchost cmd windows that are ; launched from a Scheduled Task ; ; 1st cmd-line arg : partial window title ; 2nd cmd-line arg : optional, always should be "1", shows a windows ; instead of hiding one ; #notrayicon Opt("MustDeclareVars", 1) Opt("WinTitleMatchMode", 2) Const $max = 4 Dim $rv, $i if 0 == $CmdLine[0] then MsgBox(16, "Error", "You must give a partial window title on the command-line.") exit endif if 1 == $CmdLine[0] then for $i=1 to $max $rv = WinSetState ( $CmdLine[1], "", @SW_HIDE ) next endif if 2 == $CmdLine[0] then if "1" == $CmdLine[2] then for $i=1 to $max $rv = WinSetState ( $CmdLine[1], "", @SW_SHOW ) next endif endif ; ; end of script