There are a lot of valid reasons when you may need to uninstall SES. Some of the common examples include situations when there are issues with the first time install of Oracle SES and also there may be cases when applying patches or doing upgrades would have deemed SES unusable. In many of such and similar cases, uninstalling seems easier to accomplish rather than having to identify and resolve the issues related to it.
Many a times, uninstallation of Oracle products leaves traces related to previous installtion like registry entries, which conflict with the new install. Hence, it is important to understand the uninstallation or deinstall process and do it in a clean manner. Let’s visit the scenarios and how to uninstall SES.
How to Uninstall SES
SES deinstalltion steps depend on installation mode selected during the installation. These steps will walk you through the steps to uninstall or deinstall SES for the installation mode 1 (Oracle SES installed along with Oracle Database and Weblogic Server).
1. If the SES Admin GUI console is available, login to the console and make sure that all the scheduled crawling has been stopped. Also, make sure that the index optimizer is stopped. We do not want these activities to interfere with our deinstall process. You can stop crawler schedulers from
a) Crawler Schedule: Home -> Schedule -> Select each schedule and click Stop.
b) Index Optimizer Schedule: Global Settings -> Index Optimization -> Stop Index Optimizer
2. Go to command prompt and navigate to the ses_home/bin and run the command searchctl stopall
3. Go to ses_home/deinstall and run the deinstall script
You will be prompted if you want to drop all the schema – say Yes. Say Yes for shutdown of the database as well.
4. Go to oracle_home/deinstall and run the deinstall script
5. Remove the MiddleTier and Oracle database directories
6. Delete any SES or Oracle services listed in services.msc
7. Remove Environment variable ORACLE_HOME and also update the PATH variable to delete the references to Oracle_Home and SES_Home.
8. Go to Regedit and remove the collection of keys, which begin with Ora, Oracle, Orcl or EnumOra. These keys include the following:
9. Remove the Oracle or OraWeb keys under HKEY_CURRENT_USER\Software or HKEY_LOCAL_MACHINE\SOFTWARE or HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node or HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
13. Delete the Oracle folder in Program Files
14. Restart the computer and your Oracle SES has been uninstalled.