12.5.4.2 Running the Deinstallation Tool Interactively From the Installer
You can run the deinstallation tool from an Oracle home or from the software installation media.
Example 12-2 Running the Deinstallation Tool from the Software Installation Media
If you run the deinstallation tool from the installer in the installation media, then when the deinstall.bat
command runs, it uses the information you provide to determine the system configuration and then provides default values at each prompt. You can either accept the default value, or override it with a different value. If the software in the specified Oracle home is not running (for example, after an unsuccessful install attempt), then the deinstallation tool cannot determine the configuration, and you must provide all the configuration details either interactively or in a response file.
In this example, the setup.exe
command is in the path /directory_path
, where directory_path
is the path to the database directory on the installation media, and C:\app\12.2.0\grid
is the path to the Grid home that you want to remove.
Use the following command while logged in as a member of the Administrators group to remove the Oracle Grid Infrastructure installation from your cluster:
C:\> cd directory_path
C:\..database> setup.exe -deinstall -home C:\app\12.2.0\grid
Provide additional information as prompted.
Note:
When using the deinstallation tool from a location other than within the Oracle home being removed, you must specify the-home
option on the command line.