I control what applications are available and what applications run through group policy and logon scripts. I have an application that I start when someone logs in that sits in the system tray. The problem is that if the logon script tries to kick off that application before the taskbar appears, that application errors. Is there a way I can determine, using vbscript, if the taskbar is visible? I could then pause the script execution if necessary. Is there a way to return the handle of the Shell_TrayWnd window to the script? Are there programs I can run from within the script that could help me?