I had that problem, do you have your original windows install disc or did you make a system repair disc, because when i had that problem I booted it up and ran that disc and it repaired the problem. Another thing that once worked for me was starting up the computer in safe mode and then restarting it in normal mode.
Hope you get your computer fixed soon.