Remove Oracle manually

Have you ever had the challenge of trying to remove Oracle using the universal installer with no success? Well, try removing Oracle manually.

Removing Oracle Keys from the Microsoft Registry Editor

Oracle Universal Installer creates Windows services for Oracle components during installation but it does not delete all the services created by Oracle Net Configuration Assistant and Oracle Database Configuration Assistant during deinstallation. In addition, Oracle Universal Installer does not delete several other registry editor keys. You need to remove any existing registry keys manually by following the instructions in one of the following sections:

Removing the Oracle Net Service Registry Key Removing All Oracle Registry Keys Caution: Use Microsoft Registry Editor at your own risk. Incorrectly using the Registry Editor can cause serious problems and may require reinstallation of your operating system.

Removing the Oracle Net Service Registry Key To remove only the Oracle Net Service registry entry (if it exists): Log in as a member of the Administrators group. Make sure that you have stopped Oracle services by following the instructions in the "Stopping Oracle Services" section. From a command prompt, enter the following command: SYSTEM_DRIVE:\> regedit Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services and delete the OracleHOME_NAMETNSListener registry entry. Oracle Universal Installer automatically deletes all other Oracle Net services. Exit the registry editor. Restart your computer.

Removing All Oracle Registry Keys Caution: These instructions remove all Oracle components, services, and registry entries from your computer. Use extreme care when removing registry entries. Removing incorrect entries can break your system. Do not delete any database files under ORACLE_BASE\ORACLE_HOME\DB_NAME until you have completed these instructions. To remove all Oracle registry keys from a computer:Log in as a member of the Administrators group. Make sure that you have stopped Oracle services by following the instructions in the "Stopping Oracle Services" section. Start the registry editor at the command prompt: SYSTEM_DRIVE:\> regedit

Go to HKEY_CLASSES_ROOT. Delete keys that begin with Ora, Oracle, Orcl, or EnumOra. This collection of keys includes those that begin with the following:

  1. EnumOraHomes
  2. OracleConfig
  3. OracleDatabase
  4. OracleHome
  5. OracleInProcServer
  6. OracleProcess
  7. ORADC
  8. ORAMMCCFG10
  9. ORAMMCPMON10
  10. OraOLEDB
  11. OraPerfMon
  12. ORCLMMC
  13. ORCLSSO

Go to HKEY_CURRENT_USER. Delete the ORACLE key. Go to HKEY_CURRENT_USER\Software. Delete all Oracle keys, including Oracle-HOME_NAME entries under: Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start Menu\Programs. Go to HKEY_LOCAL_MACHINE\SOFTWARE and search for the ORACLE group key. Select ORACLE and note the value of the inst_loc key. This is the location of Oracle Universal Installer. The default location is c:\Program Files\Oracle\Inventory. If this value is different, make a note of it so that you can delete it later. Delete the ORACLE Group key.

Go to HKEY_LOCAL_MACHINE\SOFTWARE\ODBC. Expand all the subkeys under ODBC and remove any Oracle-related ODBC driver keys, except for the Microsoft ODBC for Oracle key. For example, the ODBC\ODBCINST.INI directory lists keys for each Oracle home. Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services. Delete all keys under this branch that begin with Oracle or OraWeb. Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ Eventlog\Application. Delete all keys under this branch that begin with Oracle. Exit the registry editor. Restart your computer.

updating the System Variable Path Check the Path environmental variable and remove any Oracle entries. Open System from the Control Panel. In the System Properties dialog box, click the Advanced tab, then click the Environment Variables button. Select the system variable Path and edit the Path variable to remove any Oracle entries. For example, remove Oracle entries that contain ORACLE_BASE\ORACLE_HOME in the Path variable. You may see a Path variable that contains entries similar to the following: C:\oracle\products\10.2.0\db_1\bin;C:\oracle\products\10.2.0\db_1\jre\1.4.2\bin\client;C:\oracle\products\10.2.0\db_1\jre\1.4.2\bin

If the JRE path was installed by Oracle, remove it. If there is a CLASSPATH variable that was set for Oracle, delete it. If there are any other Oracle variables set, remove them: ORACLE_HOME, ORACLE_SID, TNS_ADMIN, JSERV, or WV_GATEWAY_CFG. Save your changes and then exit the Control Panel.

Removing Oracle from the Start Menu Check the Start menu for any Oracle entries and remove them. Follow these steps: Select Start, then Programs, and then Oracle - HOME_NAME. Right-click Oracle - HOME_NAME, and from the menu, select Delete. You can also remove Oracle menu entries by using the following method: Right-click the Start button to display the pop-up menu. Select the Explore All Users option. Under Documents and Settings, expand the \Start Menu\Programs folder. Right-click and delete the Oracle - HOME_NAME folder.

Removing Oracle Directories After removing all Oracle registry keys and restarting the computer, delete any existing Oracle directories and files. Use My Computer or Windows Explorer to delete the following directories: Delete the SYSTEM_DRIVE:\Program Files\Oracle directory. Delete all ORACLE_BASE directories on your hard drive.If Oracle Universal Installer was installed in a location other than the default, delete this directory. Remove any Oracle temporary directory files from SYSTEM_DRIVE:\Documents and Settings\user_name\Local Settings\Temp.

Comments

Popular posts from this blog

Decompiling Delphi - 3

Decompiling Delphi - 2

Artificial Intelligence, Oxymoron and Natural Intelligence