close

Privacy guaranteed - Your email is not shared with anyone.

Can't delete registry key. Help!!

Discussion in 'Tech Talk' started by woodasptim, Dec 15, 2008.

  1. woodasptim

    woodasptim

    Joined:
    Feb 7, 2007
    Messages:
    2,296
    Likes Received:
    66
    Location:
    NE Arkansas
    We've got a corrupt registry key on a Windows 2000 Server. It's happened in the past and regdelnull has always killed it. Well not this time. I've even taken ownership in regedt32 and tried to kill it with regassassin. It just won't die!!!

    Here is the offending key:
    hkey_local_machine\software\microsoft\windows nt\currentversion\print\printers\windshield sticker printer/hoodman2/session 280

    I have to keep the print spooler turned off until I can kill this key, otherwise it just sits there trying over and over to delete it and ties up the whole system. I'll have to come up with something very soon or start formatting this pos for a reinstall which I really don't want to have to do tonight.

    Thanks in advance.
     
  2. CRANKLIN

    CRANKLIN

    Joined:
    Jun 8, 2001
    Messages:
    58
    Likes Received:
    0
    Location:
    North Hollywood, CA
    stupid windows....

    restart your server in safe mode before attempting to delete that registry entry.
    Also look for another registry entry that runs the software that replaces that registry key. Those things come in pairs.
     

  3. woodasptim

    woodasptim

    Joined:
    Feb 7, 2007
    Messages:
    2,296
    Likes Received:
    66
    Location:
    NE Arkansas
    Safe Mode didn't help. If I drill down, I find the part that won't die. I can't even view it. I get "Cannot open 0x0006-: Error while opening key." It's not regenerating, I just can't delete it.
     
  4. srhoades

    srhoades

    Joined:
    Jul 14, 2000
    Messages:
    2,808
    Likes Received:
    17
    Check the special permissions on the key for deny entries. Remember, deny permissions supercede allow even if you are the administrtor.
     
  5. woodasptim

    woodasptim

    Joined:
    Feb 7, 2007
    Messages:
    2,296
    Likes Received:
    66
    Location:
    NE Arkansas
    I double checked. There aren't any deny entries.

    Keep the suggestions coming. Thanks everyone.
     
  6. srhoades

    srhoades

    Joined:
    Jul 14, 2000
    Messages:
    2,808
    Likes Received:
    17
    You may have to check the parent permissions of the keys above it as well for some sort of oddball inheirited permission.
     
  7. Keoking

    Keoking

    Joined:
    Jan 4, 2005
    Messages:
    1,251
    Likes Received:
    1
    Location:
    Rowlett, TX
    Spill a beer on the server and see if you can exchange it.
     
  8. woodasptim

    woodasptim

    Joined:
    Feb 7, 2007
    Messages:
    2,296
    Likes Received:
    66
    Location:
    NE Arkansas
    I tried, but they wouldn't take it. Maybe if I tried a different brand of beer? :supergrin:
     
  9. Keoking

    Keoking

    Joined:
    Jan 4, 2005
    Messages:
    1,251
    Likes Received:
    1
    Location:
    Rowlett, TX
    I'd like to be the first to say "you should have gotten a Mac."

    I'm just fooling. I don't like Macs. Their OS is too girly.
     
  10. woodasptim

    woodasptim

    Joined:
    Feb 7, 2007
    Messages:
    2,296
    Likes Received:
    66
    Location:
    NE Arkansas
    Any good registry editors out there that might help? I've tried regedit, regedt32, regassassin, and regdelnull. ???????? - Googling registry editor is a veritable cornucopia of uselessness.
     
  11. woodasptim

    woodasptim

    Joined:
    Feb 7, 2007
    Messages:
    2,296
    Likes Received:
    66
    Location:
    NE Arkansas
    Registry Workshop and Registry Explorer both rock, but neither got the job done.
     
  12. fgutie35

    fgutie35

    Joined:
    Jul 23, 2007
    Messages:
    2,955
    Likes Received:
    348
    Location:
    deep southeast Texas
    This is what I would do. Install the same software on another system similar to the one you have and go to the registry and copy the parent folder on a pendrive then go to your server and delete the whole parent folder and replace it with the one from the other system. I did that once with a registry entry that was sharing two antivirus softwares (same stubborness) on a client PC.
     
  13. Furant

    Furant Millennium Member

    Joined:
    Oct 14, 1999
    Messages:
    441
    Likes Received:
    0
    Location:
    Roswell, GA
    Download and use IceSword to edit the registry. It's a piece of Chinese software that's very powerful in helping to identify and remove RootKits. It also is one of the most powerful registry editors I've ever used... and it's helped me remove registry keys that couldn't be deleted despite permission changes.

    Good luck and let me know if it works.

    Joey
     
  14. woodasptim

    woodasptim

    Joined:
    Feb 7, 2007
    Messages:
    2,296
    Likes Received:
    66
    Location:
    NE Arkansas
    It looked like it was going to work, but the key didn't go away. :(
    Thank you for the suggestion though.
     
  15. gwalchmai

    gwalchmai Lucky Member

    Joined:
    Jan 9, 2002
    Messages:
    25,683
    Likes Received:
    3,069
    Location:
    Outside the perimeter
    That only works for Exchange Servers...