If that does not work, use SCANREG /RESTORE as noted at http://support.microsoft.com/kb/q221512/
This will only undo common software/driver changes. It will not fix hardware errors.
My D and E drives are not listed and I cannot use any cd's. I don't know how to get them back.