Do you have the same problem when you start the script from the command-line? If it isn't then try to start this part of your loginscript from the registry (HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run or Runonce)
_________________________
Co