How to uninstall Oracle Database XE 18c in Windows OS

SuperChai
1 min readSep 26, 2020

References:

o Step #01: Delete environment variable

— Open Environment Variables

— ORACLE_HOME/bin in PATH environment

o Step #02: Delete registry of Oracle 18c

— In the Search box, type “regedit”  Press Enter

— Two types of registry to be deleted.

· (1) For Oracle Database 18c Software

· (2) For Oracle Database 18c Background Services

— Delete registry entries

· HKEY_LOCAL_MACHINE  SYSTEM  CurrentControlSet  Services

— Delete all nodes with “Oracle” prefix such as

§ OracleSchedulerORCL

§ OracleOraDBHome1MTSRecoveryServices

§ OracleOraDBHome1TNSListener

§ OraRemExecServiceV2

§ OracleServiceORCL

§ OracleVssWriterORCL

· HKEY_LOCAL_MACHINE  SOFTWARE  ORACLE

— Delete the whole ORACLE node which contains 4 child nodes

§ KEY_OraDB18Home1

§ ODP.NET

§ ODP.NET.Managed

§ OracleMTSRecoveryServices

o Step #03: Restart the system

o Step #04: Delete the Oracle Home User and Groups

§ In the Search box, type “lusrmgr.msc”

§ On the lusrmgr window, select “Local Users and Group (Local)” top node

§ Click “Users” child node  Delete any user that is associated with Oracle

§ Click “Group” child node  Delete all groups prefixed by “ORA_”

o Step #05: Delete all related DB_HOME folders.

--

--