1
Try a system restore using this method, that will undo any changes you made in the registry.
Start your PC, just as Windows attempts to load (spinning dots), press and hold Power Button for 5 - 10 seconds to perform a Hard Shut Down
Do this twice
On the third start Windows will boot into the Recovery Environment and from there you can access System Repair, Safe Mode, Command Prompt... etc.
Go to Troubleshoot - Advanced Option - System Restore
Check to see if you have a restore point you can go back to.
2
If the System Restore option is unavailable or does not resolve the problem, you indicate you have data on the D drive, that drive would be unaffected by performing a Windows reset, do you also have data on the C drive that is not backed up that you need to keep.