winlogon.exe encountered problem & needs to close

When I start my PC I get a message saying "winlogon.exe encountered a problem and needed to close" I had a virus and various spyware which I have removed, so I think that it has damaged the winlogon.exe file. The PC works fine apart from a window is on the screen saying "winlogon.exe encountered a problem and needed to close". Is there anyway of repairing or been able to put a fresh copy of the file to the PC and such repair the problem. I have Windows XP service pack 2.

Launch Ewido by double clicking the icon on your desktop. The program will now go to the main screen. You will need to update Ewido to the latest definition files. On the left hand side of the main screen click update then click on Start Update.

Then select 'Settings'. Under the bottom section 'What to Scan?' make sure 'Scan every file' is ticked. Select 'OK' and you will return to scanning options. Click on Complete System Scan and the scan will begin. This scan can take quite a while to run.

While the scan is in progress, you will be prompted to clean the first infected file it finds. Choose 'Clean' (or 'Delete' if 'Clean' is not an option). Then put a tick next to 'Perform action on all infections'. Doing this enables the scan to proceed automatically until its completion. Click OK.

Thanks for all your help. Strange thing is now though, the window that was appearing saying "winlogon.exe encountered a problem and needed to close" is no longer appearing now, but ill see how it goes and ill let you know if anything else happens.

The window that was appearing saying "winlogon.exe encountered a problem and needed to close" has not appeared since (strange things PC's can be) I have not done anything to try to fix it it has just not appeared since.