9 Deinstalling Oracle Database Free

If you want to save your data files but remove the Oracle Database Free software and database, then first export the data before you deinstall.

Caution:

When you deinstall Oracle Database Free, all components, including data files, the database, and the software, are removed.

Because the deinstallation process removes all files from the directory in which Oracle Database Free is installed, back up any files from the directory (if needed) before you deinstall. The database will no longer be operational after deinstallation.

You can deinstall Oracle Database Free using one of the following methods:
  • Deinstalling Using User Interface
  • Deinstalling Using Silent Mode

Note:

Oracle recommends that you follow the deinstall procedure described in the deinstall section. If you have deinstalled Oracle Database Free using ORACLE_HOME\deinstall\deinstall.bat utility, run the following command to remove Oracle Database Free completely: msiexec /qn /x {C220B7FD-3095-47FC-A0C0-AE49DE6E320A}

Deinstalling Using User Interface

Use Add or Remove Programs to deinstall Oracle Database Free:

  1. In the Windows Control Panel, select Add or Remove Programs.

  2. Select Oracle Database 23ai Free.

  3. Click Uninstall.

  4. Follow the prompts to deinstall Oracle Database 23ai Free. After few minutes, the window will close and the deinstallation will be complete.

Alternatively, you can use following msiexec command to perform the deinstall:
msiexec /x {C220B7FD-3095-47FC-A0C0-AE49DE6E320A}

Deinstalling Using Silent Mode

If the downloaded software is available, you can use setup.exe to deinstall Oracle Database Free.

For example, if you downloaded and extracted the files to a directory called free_temp, enter the following command to deinstall Oracle Database Free:
c:\free_temp> setup.exe /s /x /v"/qn /Lv c:\test1.log"
If you do not have the downloaded software (setup.exe) you can deinstall using:
msiexec /qn /x {C220B7FD-3095-47FC-A0C0-AE49DE6E320A}

You can replace /qn with /qb to display the progress bar.

Note:

  • Silent deinstall runs asynchronously; you can check the log file for the completion status.

  • After the deinstall is successfully completed, the following message is available in the log file: MSI (s) (8C:C4) [Timestamp]: Windows Installer removed the product. Product Name: Oracle Database 23ai Free Release. Product Version: 23.0.0.0.0. Product Language: [Current Language ID]. Manufacturer: Oracle Corporation. Removal success or error status: 0.