Home > Oracle Tips > Oracle Database Administrator > How to uninstall Oracle
Oracle Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

ORACLE DATABASE ADMINISTRATOR

How to uninstall Oracle


Elisa Gabbert, Associate Editor
07.12.2007
Rating: -3.79- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


Part of our "How do I do that in Oracle?" series, this tip explains in detail how to uninstall Oracle software (8i, 9i or 10g) from your system. This tip is compiled largely of advice from our expert Oracle DBAs including installation expert Maria Anderson and database design and backup and recovery expert Brian Peasland.

From "Uninstalling Oracle 8":

To remove Oracle components from a Windows machine, first take a full system backup of your server! You could try uninstalling Oracle via the Installer but if this does not work, follow this manual procedure:

  • Ensure you are logged in as a user with Administrator privileges.
  • Stop all Oracle services (if any are running).
  • Remove the Oracle entries in the Windows registry.
  • Clean up the environment settings.
  • Delete the software and icons.
  • Empty the recycle bin.
  • Reboot your computer.
  • Optionally, if you are on Windows 2000 or XP run the System Defragmenter.

Detailed steps can be found in the Oracle Installation Guide for Windows on Oracle's Technology Network.

From "Uninstalling Oracle9i":

To uninstall Oracle, follow these steps:

  1. Go to Services and make sure that all Oracle services are stopped.
  2. Invoke the Oracle Universal Installer (OUI) to uninstall the software.
  3. Go to Start->Run and type 'regedit' to invoke the registry editor.
  4. Navigate to HKEY_LOCAL_MACHINESoftware and delete the Oracle folder.
  5. Right click on My Computer and select Properties. Click to access the Environment Variables. Find the PATH environment variable and edit it to remove any occurences of Oracle directories.
  6. Using Explorer, remove any remaining Oracle directories, notably the ORACLE_HOME and C:Program FilesOracle. If there are files you cannot remove, reboot your machine and retry the delete operation.

You should now have a clean machine that you can reinstall Oracle on.

From "Removing Oracle9i and reinstalling it": A user wrote, "I want to completely remove Oracle 9i from my computer and install it again. How to remove it from the REGEDIT?" Maria Anderson responded:

Did you uninstall the Oracle software using the Oracle Universal Installer? When using the OUI, it will generally clean up all required registry entries for you. If you want to remove the Oracle software manually, there is a very good article on Metalink (Doc ID #124353.1) which describes in detail how to manually remove Oracle components on the Windows platform. At a high level, the steps you need to take to uninstall Oracle are as follows:

  • Ensure you are logged in as a user with Administrator privileges.
  • Stop all Oracle services (if any are running).
  • If possible, remove the Oracle software by invoking the Oracle Universal Installer (OUI) and remove the software.
  • Remove the entries in the Windows registry.
  • Clean up environment settings.
  • If you could not use the OUI to uninstall the software, delete the software and icons at this point.
  • Empty the recycle bin.

One word of caution is to be very careful editing registry entries.

If, after de-installation, Oracle services are still showing up in the administrative tasks, follow this advice (from "Uninstalled services still showing up in Win2000"):

You'll have to edit the registry to delete all existing ORACLE services. First make sure all services are stopped, then use the Registry Editor (REGEDIT) and remove any folders in the locations listed below that have the service name you wish to remove.

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServices                  
HKEY_LOCAL_MACHINESYSTEMControlSet00XServices   

There are typically two control sets, ControlSet001 and ControlSet002. But, your environment may be different. Therefore, check all of your control sets, signified by the X, that exist in your registry. Delete any folders in the above locations with the name OracleXXX.

Did you erase more registry keys than necessary? The best way to uninstall Oracle is to use the Oracle Universal Installer (OUI) because it clears out relevant registry entries, along with the inventory and operating system files. Start the OUI and uninstall all Oracle products, then try the installation again. (From "Erased too many registry keys with deinstall")

Return to "How do I do that in Oracle?"

Rate this Tip
To rate tips, you must be a member of SearchOracle.com.
Register now to start rating these tips. Log in if you are already a member.


Submit a Tip




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED CONTENT
Oracle Database Administrator
What is the difference between a database engineer, architect and administrator?
Import on one table from dump file
Error during RMAN backup
Can I drop a column in SYS schema?
STATSPACK tool: transaction vs. execution measurement
Should I port from Microsoft Access?
Installing multiple Oracle homes
How can I find statistics on total memory usage and database connections?
Modifying SYS password in a RAC environment
How to create Datafiles in a Data Guard (10g) environment

Oracle database installation, upgrades and patches
Intermap details its Oracle database 11g upgrade
Oracle OpenWorld 2008 Special Report
Oracle extends Real Application Testing to 10g, 9i
Third-party Oracle database tools remain an attractive option
Enterprise search a key component of Oracle portal project
Oracle Enterprise Manager leverages multiple environments for pharmaceutical giant
Oracle 11g upgrade veteran offers step-by-step advice
Oracle Database 11g gets early use at Burlington Coat Factory
Oracle database upgrades require soul searching
With software upgrades, pain leads to gain

Oracle tutorials, tips and FAQs
How to create a database link in Oracle
Most clicked stories of 2007
How do I do that in Oracle?
Counting a row's NULL columns
How many redo log files?
How to start multiple instances in Oracle 10g
Is it possible to assign a role to a profile?
Difference between RECYCLEBIN and 'DROPPED' column
How to find transactions being committed to Oracle database
How to create a database schema in Oracle?
Oracle tutorials, tips and FAQs Research

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
10g  (SearchOracle.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.

HomeNewsTopicsTipsAsk the ExpertsMultimediaWhite PapersProductsBlogs
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2003 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts