Hi Jack,
If you have more than one optical drive in your system (and I see from your first post that you have), there will be multiple keys under the key you specified. You need to select the individual key you require. For example, on my system if I wanted to delete the registry entries for my slave optical drive (both drives on my system are identical), the key that I would need to delete would be as follows (key copied directly from registry using the right-click and selecting 'Copy Key Name' function on the key in question):
Code:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\IDE\CdRomLITE-ON_DVDRW_LH-20A1P__________________KL0G____\5&2d5e04ee&0&0.1.0
You can use a command line function, 'REG DELETE', to delete this key as shown below. Please note that this example is for the key value shown above. You will, of course, have to substitute the correct value you obtain from your own registry.
Code:
REG DELETE "HKLM\SYSTEM\CurrentControlSet\Enum\IDE\CdRomLITE-ON_DVDRW_LH-20A1P__________________KL0G____\5&2d5e04ee&0&0.1.0" /f
In order to eliminate possible errors when using this command, I strongly recommend that you use the above method for copying the key name. Also, notice how the initial part of the key name, 'HKEY_LOCAL_MACHINE', is replaced by 'HKLM' and how all of the key name is enclosed in quotes ("").