Can't Delete Registry Key

JackPalmBay

New Member
I have a problem with Adobe Premier Elements. It can only support one DVD burner. I have two on my computer. I worked with them to determine what we think is the cause of the problem. I disconnected the second burner, but the key still exists in the registry. I used this forum to figure out how to set permissions but when I try to delete

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\IDE\CdRom.......

I get an error "Cannot delete CdRom.... :Error while deleting key."

It is strange that I get a couple of ______________ in the drive name in the error message. Any ideas would be appreciated!

Thanks,

Jack
 

My Computer

mansrm81

Vista Guru
You need to uninstall the drivers for it cause the drivers are still on the computer. Also you need the drive hooked backup to the computer to do it. Just find the the drive in the device manager and right click and uninstall.
 

My Computer

System One

  • Manufacturer/Model
    HP Compaq Presario/SR5113WM
    CPU
    AMD Athlon 64 X2 3600+ 1.9Ghz
    Motherboard
    Asus M2N68-LA
    Memory
    PNY Optima Memory DDR2 2GB 2x1 kit
    Graphics Card(s)
    PNY Nvidia 8400 GS 256MB
    Sound Card
    On board RealTek
    Monitor(s) Displays
    Acer X163W LCD
    Screen Resolution
    1366x768
    Hard Drives
    Western Digital 160 GB SATA 3G (3.0Gb/sec)
    7200 rpm
    Western Digital 160 GB IDE
    PSU
    Dynex 400w
    Case
    Nothin Special
    Cooling
    Stock
    Mouse
    Wireless Logitech LX7
    Keyboard
    Standard 102 key with volume and sleep buttons
    Internet Speed
    Comcrap 10mb cable
    Other Info
    Insignia 2.1 speakers, wireless Xbox 360 controller w/plug n play charger, Belkin wireless G + mimo usb network adapter.

JackPalmBay

New Member
Hooked drive back up, uninstalled it. Shut down, disconnected it, started up. Still could not delete from the registry.

Any other suggestions?
 

My Computer

mansrm81

Vista Guru
Try running regedit as run as admin.
 

My Computer

System One

  • Manufacturer/Model
    HP Compaq Presario/SR5113WM
    CPU
    AMD Athlon 64 X2 3600+ 1.9Ghz
    Motherboard
    Asus M2N68-LA
    Memory
    PNY Optima Memory DDR2 2GB 2x1 kit
    Graphics Card(s)
    PNY Nvidia 8400 GS 256MB
    Sound Card
    On board RealTek
    Monitor(s) Displays
    Acer X163W LCD
    Screen Resolution
    1366x768
    Hard Drives
    Western Digital 160 GB SATA 3G (3.0Gb/sec)
    7200 rpm
    Western Digital 160 GB IDE
    PSU
    Dynex 400w
    Case
    Nothin Special
    Cooling
    Stock
    Mouse
    Wireless Logitech LX7
    Keyboard
    Standard 102 key with volume and sleep buttons
    Internet Speed
    Comcrap 10mb cable
    Other Info
    Insignia 2.1 speakers, wireless Xbox 360 controller w/plug n play charger, Belkin wireless G + mimo usb network adapter.

mansrm81

Vista Guru
Try deleting the key in safe mode.
 

My Computer

System One

  • Manufacturer/Model
    HP Compaq Presario/SR5113WM
    CPU
    AMD Athlon 64 X2 3600+ 1.9Ghz
    Motherboard
    Asus M2N68-LA
    Memory
    PNY Optima Memory DDR2 2GB 2x1 kit
    Graphics Card(s)
    PNY Nvidia 8400 GS 256MB
    Sound Card
    On board RealTek
    Monitor(s) Displays
    Acer X163W LCD
    Screen Resolution
    1366x768
    Hard Drives
    Western Digital 160 GB SATA 3G (3.0Gb/sec)
    7200 rpm
    Western Digital 160 GB IDE
    PSU
    Dynex 400w
    Case
    Nothin Special
    Cooling
    Stock
    Mouse
    Wireless Logitech LX7
    Keyboard
    Standard 102 key with volume and sleep buttons
    Internet Speed
    Comcrap 10mb cable
    Other Info
    Insignia 2.1 speakers, wireless Xbox 360 controller w/plug n play charger, Belkin wireless G + mimo usb network adapter.

ThetaSigma

New Member
You will need to take ownership of the key before Vista will allow you delete it. The ownership of registry keys work exactly as they do with files and directories...

Start RegEdit -> Right-click -> 'Permissions' -> 'Advanced' button -> 'Owner' tab -> click your user name -> check the box 'Replace owner on sub-containers and objects' -> click 'Apply' -> close the open window -> and in the smaller window, give 'Full Control' to the 'Users' group -> click Apply -> close the Permissions window and delete the key

You can delete just about any key in the registry using this method, regardless of whether or not it is in use...but be extremely careful of which keys you take ownership of.
 
Last edited:

My Computer

System One

  • CPU
    Intel Core 2 Quad Extreme QX9770 Yorkfield 3.2GHz @ 4.3GHz
    Motherboard
    ASUS Striker II Extreme 790i Ultra SLI
    Memory
    8GB (4x 2GB) Corsair Dominator DDR3 2000
    Graphics Card(s)
    3x EVGA GeForce GTX 280 SSC
    Sound Card
    ADI 1988B 8-Channel HD Audio Integrated
    Monitor(s) Displays
    2x Acer 24" LCD
    Screen Resolution
    1920x1200
    Hard Drives
    3x 300GB Western Digital VelociRaptors RAID5 --
    3x 1TB Samsung Spinpoint F1 RAID5
    PSU
    Cooler Master Real Power Pro 1250W
    Case
    Cooler Master Stacker 830 Evolution Full Tower
    Cooling
    HWLabs Black Ice Extreme II water cooling
    Mouse
    Logitech MX518 8-button Optical Gaming Mouse
    Keyboard
    Logitech G15 Gaming Keyboard v2
    Internet Speed
    Cable 16Mb/s (12Mb/s advertised)

Dwarf

The Contemplator
Vista Guru
Gold Member
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 ("").
 

My Computer

System One

  • Manufacturer/Model
    Dwarf Dwf/11/2012 r09/2013
    CPU
    Intel Core-i5-3570K 4-core @ 3.4GHz (Ivy Bridge) (OC 4.2GHz)
    Motherboard
    ASRock Z77 Extreme4-M
    Memory
    4 x 4GB DDR3-1600 Corsair Vengeance CMZ8GX3M2A1600C9B (16GB)
    Graphics Card(s)
    MSI GeForce GTX770 Gaming OC 2GB
    Sound Card
    Realtek High Definition on board solution (ALC 898)
    Monitor(s) Displays
    ViewSonic VA1912w Widescreen
    Screen Resolution
    1440x900
    Hard Drives
    OCZ Agility 3 120GB SATA III x2 (RAID 0)
    Samsung HD501LJ 500GB SATA II x2
    Hitachi HDS721010CLA332 1TB SATA II
    Iomega 1.5TB Ext USB 2.0
    WD 2.0TB Ext USB 3.0
    PSU
    XFX Pro Series 850W Semi-Modular
    Case
    Gigabyte IF233
    Cooling
    1 x 120mm Front Inlet 1 x 120mm Rear Exhaust
    Mouse
    Microsoft Comfort Mouse 3000 for Business (USB)
    Keyboard
    Microsoft Comfort Curve Keyboard 3000 (USB)
    Internet Speed
    NetGear DG834Gv3 ADSL Modem/Router (Ethernet) ~4.0 Mb/s (O2)
    Other Info
    Optical Drive: HL-DT-ST BD-RE BH10LS30 SATA Bluray
    Lexmark S305 Printer/Scanner/Copier (USB)
    WEI Score: 8.1/8.1/8.5/8.5/8.25
    Asus Eee PC 1011PX Netbook (Windows 7 x86 Starter)

Flavius

Expelled
@JackPalmBay

I think you have trouble with permissions but there aren't normall missing permissions which usually happens.For example if trying to open this key in regedit (of course running with administrative previlliges)



regedit return this error,I can't even to display properties tab!When I try to remove a higher key,regedit return me the same errors what you have.But there is way to resolve it.

Download PsTools: PsTools
and unpack file psexec.exe and place it in C:\Windows\System32

Run cmd.exe with administrative previlliges (right click on it as a administrator if you are using UAC) ,then in cmd.exe type:

psexec -s -i -d regedit.exe

Above command allow you to run regedit from a SYSTEM account,navigate to key which was problem:





Now I have no problem to open key,displaying properties,permisions and of course with removing if you want,but remember:because regedit work now on a SYSTEM account,neccesary to remove any keys are:the owner of this key and subkeys should be SYSTEM (not you or Administrators group) and full control for SYSTEM account for this key and his subkeys.Probably you have it (it is natural permissions for these subkeys in this part of registry) but make sure if really is.
 

My Computer

JackPalmBay

New Member
Thank you for all of your help, but still no success.

I have tried safe mode
Running regedit as administrator
Deleting from the command line
Using Psexec.exe

I have taken ownership of permissions starting at HKLM and going down through the entire tree to the drive.

Nothing works for me!
 

My Computer

Dwarf

The Contemplator
Vista Guru
Gold Member
Hi Jack,

Can you post a screen shot of your registry, showing the exact key that you are trying to delete?
 

My Computer

System One

  • Manufacturer/Model
    Dwarf Dwf/11/2012 r09/2013
    CPU
    Intel Core-i5-3570K 4-core @ 3.4GHz (Ivy Bridge) (OC 4.2GHz)
    Motherboard
    ASRock Z77 Extreme4-M
    Memory
    4 x 4GB DDR3-1600 Corsair Vengeance CMZ8GX3M2A1600C9B (16GB)
    Graphics Card(s)
    MSI GeForce GTX770 Gaming OC 2GB
    Sound Card
    Realtek High Definition on board solution (ALC 898)
    Monitor(s) Displays
    ViewSonic VA1912w Widescreen
    Screen Resolution
    1440x900
    Hard Drives
    OCZ Agility 3 120GB SATA III x2 (RAID 0)
    Samsung HD501LJ 500GB SATA II x2
    Hitachi HDS721010CLA332 1TB SATA II
    Iomega 1.5TB Ext USB 2.0
    WD 2.0TB Ext USB 3.0
    PSU
    XFX Pro Series 850W Semi-Modular
    Case
    Gigabyte IF233
    Cooling
    1 x 120mm Front Inlet 1 x 120mm Rear Exhaust
    Mouse
    Microsoft Comfort Mouse 3000 for Business (USB)
    Keyboard
    Microsoft Comfort Curve Keyboard 3000 (USB)
    Internet Speed
    NetGear DG834Gv3 ADSL Modem/Router (Ethernet) ~4.0 Mb/s (O2)
    Other Info
    Optical Drive: HL-DT-ST BD-RE BH10LS30 SATA Bluray
    Lexmark S305 Printer/Scanner/Copier (USB)
    WEI Score: 8.1/8.1/8.5/8.5/8.25
    Asus Eee PC 1011PX Netbook (Windows 7 x86 Starter)

Dwarf

The Contemplator
Vista Guru
Gold Member
Hi Jack,

After uninstalling the drive in device manager, disconnect the interface cable and power supply cable from the drive in question (do this with your machine switched off and disconnected from the mains).
Having done that, I don't see why my method wouldn't work, other than you might need to be using a command prompt with administrative credentials: http://www.vistax64.com/tutorials/181765-elevated-command-prompt.html
As mentioned in my earlier post, highlight the key that you want to delete and select 'Copy Key Name'. Remember to change 'HKEY_LOCAL_MACHINE' to 'HKLM'.
Before you delete this key, check to make sure that it is the one that you need to delete and not one of the others.
 

My Computer

System One

  • Manufacturer/Model
    Dwarf Dwf/11/2012 r09/2013
    CPU
    Intel Core-i5-3570K 4-core @ 3.4GHz (Ivy Bridge) (OC 4.2GHz)
    Motherboard
    ASRock Z77 Extreme4-M
    Memory
    4 x 4GB DDR3-1600 Corsair Vengeance CMZ8GX3M2A1600C9B (16GB)
    Graphics Card(s)
    MSI GeForce GTX770 Gaming OC 2GB
    Sound Card
    Realtek High Definition on board solution (ALC 898)
    Monitor(s) Displays
    ViewSonic VA1912w Widescreen
    Screen Resolution
    1440x900
    Hard Drives
    OCZ Agility 3 120GB SATA III x2 (RAID 0)
    Samsung HD501LJ 500GB SATA II x2
    Hitachi HDS721010CLA332 1TB SATA II
    Iomega 1.5TB Ext USB 2.0
    WD 2.0TB Ext USB 3.0
    PSU
    XFX Pro Series 850W Semi-Modular
    Case
    Gigabyte IF233
    Cooling
    1 x 120mm Front Inlet 1 x 120mm Rear Exhaust
    Mouse
    Microsoft Comfort Mouse 3000 for Business (USB)
    Keyboard
    Microsoft Comfort Curve Keyboard 3000 (USB)
    Internet Speed
    NetGear DG834Gv3 ADSL Modem/Router (Ethernet) ~4.0 Mb/s (O2)
    Other Info
    Optical Drive: HL-DT-ST BD-RE BH10LS30 SATA Bluray
    Lexmark S305 Printer/Scanner/Copier (USB)
    WEI Score: 8.1/8.1/8.5/8.5/8.25
    Asus Eee PC 1011PX Netbook (Windows 7 x86 Starter)

Dwarf

The Contemplator
Vista Guru
Gold Member
Hi Jack,

Have you tried the same method, this time adding the '/f' switch as shown in my earlier example? That switch forces the command to be carried out without further prompts.
 

My Computer

System One

  • Manufacturer/Model
    Dwarf Dwf/11/2012 r09/2013
    CPU
    Intel Core-i5-3570K 4-core @ 3.4GHz (Ivy Bridge) (OC 4.2GHz)
    Motherboard
    ASRock Z77 Extreme4-M
    Memory
    4 x 4GB DDR3-1600 Corsair Vengeance CMZ8GX3M2A1600C9B (16GB)
    Graphics Card(s)
    MSI GeForce GTX770 Gaming OC 2GB
    Sound Card
    Realtek High Definition on board solution (ALC 898)
    Monitor(s) Displays
    ViewSonic VA1912w Widescreen
    Screen Resolution
    1440x900
    Hard Drives
    OCZ Agility 3 120GB SATA III x2 (RAID 0)
    Samsung HD501LJ 500GB SATA II x2
    Hitachi HDS721010CLA332 1TB SATA II
    Iomega 1.5TB Ext USB 2.0
    WD 2.0TB Ext USB 3.0
    PSU
    XFX Pro Series 850W Semi-Modular
    Case
    Gigabyte IF233
    Cooling
    1 x 120mm Front Inlet 1 x 120mm Rear Exhaust
    Mouse
    Microsoft Comfort Mouse 3000 for Business (USB)
    Keyboard
    Microsoft Comfort Curve Keyboard 3000 (USB)
    Internet Speed
    NetGear DG834Gv3 ADSL Modem/Router (Ethernet) ~4.0 Mb/s (O2)
    Other Info
    Optical Drive: HL-DT-ST BD-RE BH10LS30 SATA Bluray
    Lexmark S305 Printer/Scanner/Copier (USB)
    WEI Score: 8.1/8.1/8.5/8.5/8.25
    Asus Eee PC 1011PX Netbook (Windows 7 x86 Starter)

Flavius

Expelled
Try delete these keys remotly see:Load a hive into the registry: Core Services

Boot DVD Vista>>Choose language>>Repair Computer>>Command Prompt



Hives you can see now only comes from your DVD not from hard disk.Click on HKLM hive or HKU hive...

and will be active option load hive



Go to C:\Windows\System32\config to load SYSTEM

,load this hive as example REM_SYSTEM to HKLM hive

so your key you can see locally as HKLM\SYSTEM\CurrentControlSet\Control...
will be see remotly as HKLM\REM_SYSTEM\ControlSet00X\Control...

edit key for all X (yo can have few,CurrentControlSet normally iseeing as one of ControlSet00X,mostly for X=1 but not always,edit keys for all ControlSet00X which you have
 
Last edited:

My Computer

JackPalmBay

New Member
Thanks Flavius. I will give the solution a try. I like to know what I am doing before I try it and I have never seen the term "hive" before. I am not sure what a "hive" is but will give it a try and let you know.

Jack
 

My Computer

JackPalmBay

New Member
Flavius,

I tried to procedure you outlined. When I booted from the Vista DVD, I could not see the drive I wanted to remove. When I went back and booted from the hard drive, it appeared again.

Jack
 

My Computer

Flavius

Expelled
I tried to procedure you outlined. When I booted from the Vista DVD, I could not see the drive I wanted to remove. When I went back and booted from the hard drive, it appeared again.
Probably due to my bit mistake in path in registry.I was hurry when I wrote my post 17-from this my mistake.I've just corrected my post 17 + additional figure:



When you load SYSTEM file (from C: )under HKLM as name REM_SYSTEM
of course hive which is seeing locally as a HKLM\SYSTEM remotly will be seeing of course as a HKLM\REM_SYSTEM

so your wanted key will be seieing as

HKLM\REM_SYSTEM\ControlSet00X\Enum\IDE...

if you want to navigate HKLM\REM_SYSTEM\Select which show you exactly which subkey is loaded by the system as a CurrentControlSet,for example if you have phrase Default set to 1 this means ControlSet001 is loaded as a CurrentControlSet if Default set to 2 ->ControlSet002 is loaded as a CurrentControlSet and so later,but of course I suggest do it for all ControlSet00X
 

My Computer

Top