23

How do I completely remove the Oracle 11g client from my computer? I am running Windows 7, 64-bit.

I have tried running deinstall.bat, but this doesn't work.

32

First, use Start -> Run -> Services.msc, locate all Ora* services and stop them.

The rest, from Manual and Clean Uninstall Oracle for Windows :

  1. Uninstall all Oracle components using the Oracle Universal Installer (OUI).
  2. Delete the HKEY_LOCAL_MACHINE/SOFTWARE/ORACLE (and HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ORACLE on 64bit) key which contains registry entries for all Oracle products by using regedit.
  3. Delete any references to Oracle services/components in the following registry location: HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/. Looks for key entries that starts with “Ora” which are obviously related to Oracle.
  4. Reboot the workstation.
  5. Delete the ORACLE_BASE directory. (i.e C:\Oracle)
  6. Delete the directory C:\Program Files\Oracle.
  7. Empty the temp directory.
  8. Empty the recycle bin.
  • That link no longer works... – Richard Ev Sep 5 '13 at 14:56
  • 2
    @RichardEv: I fixed the link, but it doesn't contain much more info than the above. – harrymc Sep 5 '13 at 17:30
7
  1. Remove any oracle entries in the PATH variable under Computer =>Properties => Advanced System Settings => Environment Variaiable => PATH
  2. In the same place remove the ORACLE_HOME entry
  • I have a tip: press Ctrl + R, press: SystemPropertiesAdvanced to open dialog, preparing for edit environment variables. Remember delete more: ORACLE_UID. Look for all keyword Oracle in Registry. – Do Nhu Vy May 14 '15 at 13:51
  • 1
    @DoNhuVy means [winkey]+[R], to open the "Run" dialog – matt wilkie Jun 4 '15 at 16:53
  • yes, I have a mistake. – Do Nhu Vy Jun 5 '15 at 15:30
6

Steps: Stop all Oracle services first.

  1. START -> RUN -> Services.msc
  2. Locate all Ora* services & click on STOP
  3. Start -> RUN -> Regedit
  4. Locate HKEY_LOCAL_MACHINE folder in the registry
  5. Open Software folder
  6. Delete the Oracle folder under Software
  7. Open System folder in HKEY_LOCAL_MACHINE
  8. Open CurrentControlSet folder within the System folder
  9. Open Services
  10. Delete all keys related to Oracle. Every key starts with “ORA..”
  11. Close the regedit
  12. Delete ORACLE_HOME folder
  13. Delete the Oracle folder in Program Files
  14. Reboot
  • +1 for the stop Ora* services ramoh, but everything else is covered by earlier answer from @harrymc. – matt wilkie Jun 4 '15 at 16:33
1

I came here because of this message when trying to install Oracle 11g XE, after a previously failed attempt:

"Installer has detected an already existing XE instance on this system. Installation cannot proceed"

error message

Of course I cleaned all according to various sources, including this one, but it kept complaining. It also did not show up in the list of installed programs.

I remembered a very old utility, that was shipped once with Office 2000 I guess. It is called "Windows Installer Clean up utility" (the original download is called msicuu2.exe). Download it from a trusted source, run it with admin privileges, and you'll probably find an orphaned record for Oracle in the list.

enter image description here

Click [Remove], confirm the warning and proceed with the setup. It worked for me.

0

Use the Universal installer. If you try to uninstall everything at once it will not let you. So first uninstall the program. MAKE CERTAIN TO LEAVE THE UNIVERSAL INSTALLER OPEN. Then go back and uninstall the Home.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.