First, make sure you have checked for and removed all viruses.
Second, boot to the W7 DVD and run "startup repair"
Third, make sure you are running Windows 7, Service Pack 1
If none of those things solve the issue then I would probably try restoring to restore point prior to the problem. And if that doesn't work then I would probably just reinstall Windows 7.