Set shell = wscript.CreateObject("Shell.Application") Shell.MinimizeAll()