I haven't used Windows XP for a long time and never had to undergo this exercise with it, so I'm not sure if it has a repair option like the later Windows OS versions. If it does, you might try that; otherwise, if came with a recovery partition or media, reinstall using that.
In the absence of recovery partition or media, you'll need to locate all the required mainboard/video drivers and the like so you can reinstall them yourself. Reinstalling the OS that way is much more complicated - I had to do that recently when an unwanted Windows 10 upgrade was foisted on me and it trashed my system so badly I couldn't even access the recovery partition and my recovery media weren't recognised...
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|