This is rather a strange problem.
One can only guess that Windows system (?) file(s) might have been corrupted or missing due to failing HD, Windows, or virus.
I recommend the following in sequence.
1. Scan for virus.
Make sure your current antivirus definition got updated before you run. Additional scan by online may be a good idea. http://tinyurl.com/5pzi
http://tinyurl.com/2xis
http://tinyurl.com/bdvsv
http://tinyurl.com/aauh5
2. Do a HD diagnostic test.
Download a diagnostic utility program from the HD manufacturer?s website.
3. Do CHKDSK.
From Command Prompt, type CHKDSK /R. It will run the next boot.
4. Do System File Check.
Start > Run and type SFC /SCANNOW. You have to out your Windows CD in the CD-ROM.
5. Do System Restore.
Go back to a date when you did not have the problem.
6. Reinstall Windows.
This is also called repair installation or in-place upgrade.
If you need more info, please add a comment.