Tools/Options/Player - tick 'download codecs automatically'
Tools/Options/Filetypes - tick 'Windows video file (avi)'
You can format and reinstall or repair.
I do understand that when a codec is missing, it wont shut the player down, but will give an error
different from your posted pictures.
If you have run the system file checker and it has finished without replacing any files, you have to
consider the other options.
These are various links:
How to partition and format a hard disk by using Windows XP Setup programhttp://support.microsoft.com/kb/313348
How to perform a repair installation of Windows XP http://support.microsoft.com/kb/917964
How to perform an in-place upgrade (reinstallation) of Windows XPhttp://support.microsoft.com/kb/978788
That's just for your information and you will see that there are many steps involved.
I have never had to do any of the above, so if you decide to go that route and need help, I would suggest
that you post a request for advice on the best method to proceed in the main 'Operating Systems -
Windows XP Home and Professional' Forum; your post will most likely be read by many more
people, who can guide you better.
Head the topic along the lines - 'Do I need to format and reinstall or repair XP to fix problems'
'Problem not resolved through Audio and Video forum'
' I have tried to fix my computer in the other BC Forum, so far unsuccessfully - topic here:http://www.bleepingcomputer.com/forums/t/302754/windows-media-player-shutdown-on-its-own/
Can anyone help, please. '
The intention is to keep the topic in the XP forum, rather than have it moved
back to Audio and Video; the XP forum is far more active.
There may be other suggestions / solutions, which I have overlooked.
There are many members who have far more experience, who can pitch in.