cancel
Showing results for 
Search instead for 
Did you mean: 

How to completely uninstall oracle software?

Former Member
0 Kudos

Dear all,

I have followed the installation guide to delete the oracle software after i removing the CI and DB instance.

There was 2 parts where i unsure whether i did it correctly.

-


3. Edit the Oracle Registry entries as follows:

a. Choose Start → Run and enter REGEDIT

b. Delete the key HKEY_LOCAL_MACHINE → SOFTWARE → ORACLE

c. Delete all Oracle references under HKEY_LOCAL_MACHINE → SYSTEM→CURRENTCONTROLSET → SERVICES

4. Delete all Oracle references from the Windows user and system environment:

a. Choose Start → Programs → System.

b. Choose the Advanced tab and then click Environment Variables.

c. For example, delete the variables:

TNS_ADMIN, NLS_LANG, ORACLE_HOME

d. Also delete Oracle from the PATH variable

-


I was unsure because there are so many Sap system installed in the same host. I deleted everything with the <sapid> in the above place.

After i done with the deletion, i start to reinstall a new oracle software, whenever i start the OUI, the old oracle software keep generate out(i deleted manually and trying to install a new oracle software with the same name).

In the end, i gave up and use another name. why is this happening? maybe i didn't delete it clearly enough?

hope some one can explain on this, thanks in advanced

regards,

Jerry

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

you have to delete the folder C:\program files\Oracle.

The folder inventory keeps a trace of all installations done on the server.

Regards,

Answers (2)

Answers (2)

Former Member
0 Kudos

hi,

Uninstall all the softwares in the all folders related to that software.

Also delete the all Oracle Services related to that software,reinstall it.

I think then it will move smooth..

Arun

Former Member
0 Kudos

"Also delete the all Oracle Services related to that software,reinstall it."

I interested in how to uninstall the services?

by running sapstartsrv.exe?

JPReyes
Active Contributor
0 Kudos

Hi Jerry,

Why don't you use the Oracle Universal Installer to remove the software? then if anything left you can remove manually.

Regards

Juan

Former Member
0 Kudos

Hi juan,

i already did that, but the old oracle software folder still keep auto generated whenever i run the OUI.

regards,

Jerry

Former Member
0 Kudos

The only way is :

- delete every folders containing Oracle binaries (if you installed Oracle on a dedicated hard drive, just format it.)

- delete every registry entries containing "oracle"

After that make sure that there's nothing concerning oracle in your environment variables.

This is the only way to uninstall properly oracle.

Regards,

Former Member
0 Kudos

This is where my problem comes. I have multiple SAP instances that are installed in the same host.

I deleted ALL the registry enteries and environment variables that contain the <sid> that i wanted to delete. Then i have problem starting back my other SAP instance(we have to close all the services and sqlplus when deleting the oracle software). I couldn't start the services back with error 6: invalid handler. I could not see any sap system from MMC.

I believe it have to do with the environment variable and registry entries i deleted. Any idea how to recover back or tell me what is the standard environment variable that is needed for multiple sap and oracle to run?

p/s: we have multiple oracle software and multiple sap instance/DB instance installed in the same machine.