Announcement

Collapse
No announcement yet.

Delete LEGACY_.... keys in Registry ?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Delete LEGACY_.... keys in Registry ?

    Hi,
    I installed Oracle (9i) and then removed it. Now I want to install again but it did not allow me to use certain name for database name because it says that name already exists.
    After searching through Registry, I've found 3 keys that I can't delete:
    -LEGACY_ORACLESERVICEDESC495
    -LEGACY_ORACLESERVICED495
    -LEGACY_ORACLEORAHOME90TNSLISTENER

    Is there any way to remove these keys (as well as other LEGACY_... keys) ??

    I'm using Windows XP Pro.
    Thanks.

    SuRGV
    MSI K8N Neo 2 Platinum
    AMD Athlon 64 3200
    1024 MB PC3200 RAM
    WD 160 GB HDD
    2 x 80 GB Maxtor HDDs in RAID 1
    ATI 9500 64 Videocard
    Pioneer 108 DVD-RW
    Pioneer 117 DVD-ROM
    Windows XP Professional SP2

  • #2
    LEGACY keys cannot be (easily) deleted. They are created everytime a service starts at bootup. One for the current profile and typically one set created for LKGC. If you remove the services and reboot you SHOULD be able to recreate those databases. If by some chance you can't, there is one other thing you can try:

    1) Start -> Run: regedt32 -> OK (make sure you are logged on as an administrator)

    2) Go to the HKLM sub-window and find the key you want deleted. Highlight it.

    3) In the Regedt32 window menu select Security -> Permissions.

    4) Change the access permissions for Everyone and/or Administrators to Full Control. Apply the settings.

    5) Repeat 1-4 for all keys you need deleted.

    6)Close Regedt32 and open Regedit. Delete the keys you don't want anymore.

    Unlike files, the administrator does not have automatic full control over the registry. There are certain keys that only SYSTEM can touch unless an admin changes the permissions.

    EDIT: One minor correction, caught by Greebe. Windows XP has finally killed Regedt32. The permissions settings are in Regedit, under Edit -> Permissions. Do the same steps, but do it all in Regedit. The above works for Win2k and below.

    Jammrock
    Last edited by Jammrock; 7 March 2002, 13:10.
    “Inside every sane person there’s a madman struggling to get out”
    –The Light Fantastic, Terry Pratchett

    Comment


    • #3
      Jammrock,
      Thanks so much.
      SuRGV
      MSI K8N Neo 2 Platinum
      AMD Athlon 64 3200
      1024 MB PC3200 RAM
      WD 160 GB HDD
      2 x 80 GB Maxtor HDDs in RAID 1
      ATI 9500 64 Videocard
      Pioneer 108 DVD-RW
      Pioneer 117 DVD-ROM
      Windows XP Professional SP2

      Comment


      • #4
        "Be who you are and say what you feel, because those who mind don't matter, and those who matter don't mind." -- Dr. Seuss

        "Always do good. It will gratify some and astonish the rest." ~Mark Twain

        Comment


        • #5
          Windows XP has finally killed Regedt32.
          The vileness never ends..

          I swear, when w2k support ends, I'm buying a MAC!

          Comment


          • #6
            and you too, Greebe

            SuRGV
            MSI K8N Neo 2 Platinum
            AMD Athlon 64 3200
            1024 MB PC3200 RAM
            WD 160 GB HDD
            2 x 80 GB Maxtor HDDs in RAID 1
            ATI 9500 64 Videocard
            Pioneer 108 DVD-RW
            Pioneer 117 DVD-ROM
            Windows XP Professional SP2

            Comment

            Working...
            X