you will need to do a repair install of windows using the windows xp cd

do you know if sp2 is installed?

this website will give you info on how to repair windowsxp
http://www.webtree.ca/windowsxp/repair_xp.htm