Monday, January 24, 2011

Uninstall oracle 10g


Oracle uninstallation is not just uninstalling from Oracle Universal Installer. There are some more files to remove from different locations. Although you de-install the software from OUI still related files remain in your computer.
You first use oracle universal installer to de-install Oracle.


Click on the De-install Products button.




Now you can see it has been removed from program list.
Go to registers by typing ‘regedit’ in the run in the start menu.
Delete HKEY_LOCAL_MACHINE/SOFTWARE/ORACLE key.  This contains registry entries for all oracle product details.

Delete any reference to oracle in following paths in the registry.

HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/Ora*
HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/Application/Ora*
HKEY_CURRENT_USER/SOFTWARE/oracle


Control panel services still may show old services until you restart.            
Delete oracle home directory.   D:\oracle
Delete oracle directory from program files.    C:\Program Files\Oracle

Delete any reference to oracle in following path
Start->Settings->Control Panel->System->Advanced->Environment Variables

Now oracle has been totally removed from your system.