Check what is trying to open at Start Up.
XP: Start - Run Type 'msconfig'
Vista: Start Type 'msconfig' in the Search box.
Once open click on Start Up and look for spurious entries.
You could even try 'Disable All'.
If this causes further problems just go back into it and enable them one at a time.