Yesterday I was using my computer when the power suddenly disconnected. Upon restarting and logging back in I was prompted with an error titled "winlogon.exe - Application error". The prompt gave me two options, debug or terminate. I tried to select one of those options, but I couldn't because everything was frozen. I restarted numerous times, and continued to get that error. Some times it would load a few programs, then give me that error. I also occasionally got "svchost.exe - Application error" in addition to the winlogon.exe error. After my computer freezes I get a blue screen that says "Unknown Hard Error" and some numbers I am able to boot in safe mode, and I tried a system restore that didn't work. In safe mode I haven't had any of the two above application errors, but I just received a "vsmon.exe - Application error".
I am currently running Windows XP SP2 on a Dell XPS M170.