deinstall.bat command stops Oracle software, and removes Oracle software and configuration files on the operating system.
deinstall command is available in Oracle home directories after installation. It is located in the
deinstall creates a response file by using information in the Oracle home and using the information you provide. You can use a response file that you generated previously by running the
deinstall command using the
-checkonly option. You can also edit the response file template.
You must run the
deinstallcommand from the same release to remove Oracle software. Do not run the
deinstallcommand from a later release to remove Oracle software from an earlier release. For example, do not run the
deinstallcommand from the 18c Oracle home to remove Oracle software from an existing 220.127.116.11 Oracle home.
Starting with Oracle Database 12c Release 1 (18.104.22.168), the
roothas.batscript replaces the
roothas.plscript in the Oracle Grid Infrastructure home for Oracle Restart, and the
rootcrs.batscript replaces the
rootcrs.plscript in the Grid home for Oracle Grid Infrastructure for a cluster.
If the software in the Oracle home is not running (for example, after an unsuccessful installation), then the
deinstall cannot determine the configuration and you must provide all the configuration details either interactively or in a response file.