PC stopped recognising both my DVDand CD Drives.Try This

Thanks Mate,

I had tried all the other suggestions and had bought a new drive and it gave the same error.
I was just about to buy a new desktop, as replacement of the motherboard would not have been cost effective with this machine.
Then I tried your Regedit suggestions and it worked immediately.

Thanks again