How do I completely remove Oracle 11g?
Solution 1
First, use Start -> Run -> Services.msc, locate all Ora* services and stop them.
The rest, from Manual and Clean Uninstall Oracle for Windows :
- Uninstall all Oracle components using the Oracle Universal Installer (OUI).
- Delete the
HKEY_LOCAL_MACHINE/SOFTWARE/ORACLE
(andHKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ORACLE
on 64bit) key which contains registry entries for all Oracle products by using regedit.- 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.- Reboot the workstation.
- Delete the ORACLE_BASE directory. (i.e C:\Oracle)
- Delete the directory
C:\Program Files\Oracle
.- Empty the temp directory.
- Empty the recycle bin.
Solution 2
- Remove any oracle entries in the PATH variable under Computer =>Properties => Advanced System Settings => Environment Variaiable => PATH
- In the same place remove the ORACLE_HOME entry
Solution 3
Steps: Stop all Oracle services first.
- START -> RUN -> Services.msc
- Locate all Ora* services & click on STOP
- Start -> RUN -> Regedit
- Locate HKEY_LOCAL_MACHINE folder in the registry
- Open Software folder
- Delete the Oracle folder under Software
- Open System folder in HKEY_LOCAL_MACHINE
- Open CurrentControlSet folder within the System folder
- Open Services
- Delete all keys related to Oracle. Every key starts with “ORA..”
- Close the regedit
- Delete ORACLE_HOME folder
- Delete the Oracle folder in Program Files
- Reboot
Solution 4
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"
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.
Click [Remove], confirm the warning and proceed with the setup. It worked for me.
Related videos on Youtube
Jason
Updated on September 17, 2022Comments
-
Jason almost 2 years
I'm copying some folders with grunt-contrib-copy. I'm trying to exclude a subdirectory in the root. I can prevent the contents of the _sprites folder from being copied, but inevitably the sprites copy is always copied. How do I prevent the folder from being copied? Here is what I have:
... copy: { deploy: { cwd: "src/", expand: true, src: [ "**/*", "!**/_sprites/**/*" ], dest: "deploy/" } }, ...
I've attempted
!_sprites
,!_sprites/
and others, but none appear to yield the results I want.-
user1696603 over 7 years
-
Wernfried Domscheit over 6 yearsTry to delete folder
%TEMP%\CVU*%USERNAME%
. After that my deinstall.bat worked fine.
-
-
Richard Ev almost 11 yearsThat link no longer works...
-
harrymc almost 11 years@RichardEv: I fixed the link, but it doesn't contain much more info than the above.
-
Dao Minh Thu about 9 yearsI have a tip: press Ctrl + R, press:
SystemPropertiesAdvanced
to open dialog, preparing for edit environment variables. Remember delete more:ORACLE_UID
. Look for all keywordOracle
in Registry. -
user1696603 about 9 years+1 for the stop Ora* services ramoh, but everything else is covered by earlier answer from @harrymc.
-
user1696603 about 9 years@DoNhuVy means [winkey]+[R], to open the "Run" dialog
-
Dao Minh Thu about 9 yearsyes, I have a mistake.