Tuesday, September 30, 2008

Uninstalling Oracle 10g Manually from Windows XP/Windows 2003 Server

Uninstalling Oracle 10g Manually from Windows XP/Windows 2003 Server

I have uninstalled Oracle 10g manually for my Windows XP and Windows 2003 server. Here are the steps bellow:

Step 1:
Use Oracle Universal installer to deinstall Oracle.
Follow the steps and select correct oracle home to remove it.

Step 2:

After running the supplied Oracle uninstallation utility (which may or may not do some or all of the following):
• Stop any Oracle services that have been left running.
Start->Settings->Control Panel->Services
Look for any services with names starting with 'Oracle' and stop them.

Step 3:
Take the backup of your registry in case you accidentally delete other thing (wrongly delete any entry in registry might let to reinstall whole server.)

In DOS command prompt type regedit
Move the icon in my computer then file-export

Step 4:
• Run regedit and delete the following keys (some may have slightly different names in your registry):
HKEY_CURRENT_USER\SOFTWARE\ORACLE
HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\Application\Oracle.oracle
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleDBConsole
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Oracle10g_home
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OraclService

Step 5:

Reboot the system.

• Delete the Oracle home directory
C:\Oracle
• Delete the Oracle Program Files directory:
C:\Program Files\Oracle
• Delete the Oracle Start Menu shortcuts directory:
C:\Documents and Settings\All Users\Start Menu\Programs\Oracle*
Where * indicates the name of your install. Look for and remove all Oracle directories from that location.

Step 6:
• Remove Oracle refereces from the path. To edit your path go to:

Start->Settings->Control Panel->System->Advanced->Environment Variables

Edit both of the environment variables user PATH and system PATH. Remove any Oracle references in them.

• Remove Oracle.DataAccess and any Polic.Oracle files from the GAC which is at:
C:\Windows\assembly\


Now you can install Oracle 10g.

2 comments:

Saikrishna said...

Great ..... thank you
this is the write process to uninstall oracle software.

i got it

thank you once again.

anil said...

I am not able to delete HKEY_LOCAL_MACHINE/ SOFTWARE/ORACLE
keys. when i try to install oracle 10g again i was getting getting error saying "credentials retriving failed". Can anybody help me on this.