7.3.3.1 Running the Deinstallation Tool From an Oracle Home
You can run the deinstallation tool from an Oracle home or from the software installation media.
Example 7-1 Running deinstall.bat
From Within the Oracle Home
The most common method of running the deinstallation tool is to use the version installed in the Oracle home being removed. The deinstallation tool determines the software configuration for the local Oracle home, 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 Oracle home is not running (for example, after an unsuccessful installation), then the deinstallation tool cannot determine the configuration, and you must provide all the configuration details either interactively or in a response file. To use the deinstallation tool located in the current Oracle home directory, issue the following commands while logged in as a member of the Administrators group:
C:\> app\oracle\product\12.2.0\dbhome_1\deinstall\deinstall.bat
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.