>How can I close an existing window that was open during startup using vbscript
>
Depending on the application that opened the Window, using the Wscript.Shell's AppActivate and SendKeys, mechanism, or manipulation via the Shell.Application's Windows collection may both work.