I'd just reinstall, because even if he gets it working again, it'll probably be in shite condition.
So:
(btw i know it's ur friend's comp, but i'll say it as if i'm talking to you)
Hopefully you're using a Windows version with a bootable CD. If so, just stick it in there and choose to...