I gave up and just reinstalled windows xp.
Thanks for the advice