All the logical fixes didn’t work. Reinstall, removed ide drivers, reinstalled again, no worky.
I was getting an Error code 39 (and 37 on another machine), and the DVD/CD drives would not show up in Windows.
“Windows cannot initialize the device driver for this hardware. (Code 37)”
The problem seems to be caused by CD Burner software that is not loading or installed properly. It’s odd because I’ve found this on several machines lately. It occurred to me that there are a lot of programs now that can burn CD or DVD. Itunes, or other music programs for one, they are very common now. But there’s other things, like some accounting software that can backup to CD. You have to watch for any of them that might install their own burning capability.
The solution was to remove the upperfilters and lowerfilters in the registry key below:
Find "UpperFilters" and "LowerFilters" values in this key and delete them: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E965-E325-11CE-BFC1-08002BE10318}
After that, I uninstalled the device in Device Manager, and scanned for new hardware. The drive came right back up!
More details on this page: