You didn't mention the OS. If XP, you boot from the disk and do a repair installation. If done properly, it won't remove your programs or data but will replace corrupt system files and rebuild/repair the registry. Just to be sure that nothing gets lost, however, you might be well off to attach the drive to another PC and copy out your important data.