DEINSTALL ORACLE DATABASE SOFTWARE IN WINDOWS

Invoke deinstall script from oracle home directory

E:\app\product\11.2.0\dbhome_2\deinstall>deinstall.bat
Checking for required files and bootstrapping ...
Please wait ...
        1 file(s) copied.
        1 file(s) copied.
Location of logs C:\Program Files\Oracle\Inventory\logs\

############ ORACLE DEINSTALL & DECONFIG TOOL START ############


######################### CHECK OPERATION START #########################
## [START] Install check configuration ##


Checking for existence of the Oracle home location E:\app\product\11.2.0\dbhome_2
Oracle Home type selected for deinstall is: Oracle Single Instance Database
Oracle Base selected for deinstall is: E:\app
Checking for existence of central inventory location C:\Program Files\Oracle\Inventory

## [END] Install check configuration ##

## [START] Checking Windows and .NET products configuration ##


The following Windows and .NET products will be deconfigured from the Oracle home : asp.net,ode.net,odp.net,ntoledb,oramts

## [END] Checking Windows and .NET products configuration ##


Network Configuration check config START

Network de-configuration trace file location: C:\Program Files\Oracle\Inventory\logs\netdc_check2021-07-08_11-18-23-PM.log

Specify all Single Instance listeners that are to be de-configured [LISTENER3,LISTENER2]:

Network Configuration check config END

Database Check Configuration START

Database de-configuration trace file location: C:\Program Files\Oracle\Inventory\logs\databasedc_check2021-07-08_11-19-17-PM.log

Use comma as separator when specifying list of values as input

Specify the list of database names that are configured in this Oracle home [SAEUV07]:

###### For Database 'SAEUV07' ######

Single Instance Database
The diagnostic destination location of the database: F:\APP\KISHA\diag\rdbms\saeuv07
Storage type used by the Database: FS
Database file location: F:\APP\KISHA\ORADATA\SAEUV07,F:\APP\KISHA\SAEUV07
Fast recovery area location: F:\app\kisha\SAEUV07
database spfile location: E:\APP\PRODUCT\11.2.0\DBHOME_2\DATABASE\SPFILESAEUV07.ORA

The details of database(s) SAEUV07 have been discovered automatically. Do you still want to modify the details of SAEUV07 database(s)? [n]:

Database Check Configuration END

Enterprise Manager Configuration Assistant START

EMCA de-configuration trace file location: C:\Program Files\Oracle\Inventory\logs\emcadc_check2021-07-08_11-19-29-PM.log

Checking configuration for database SAEUV07
Enterprise Manager Configuration Assistant END
Oracle Configuration Manager check START
OCM check log file location : C:\Program Files\Oracle\Inventory\logs\\ocm_check838.log
Oracle Configuration Manager check END

######################### CHECK OPERATION END #########################


####################### CHECK OPERATION SUMMARY #######################
Oracle Home selected for deinstall is: E:\app\product\11.2.0\dbhome_2
Inventory Location where the Oracle home registered is: C:\Program Files\Oracle\Inventory
The following Windows and .NET products will be deconfigured from the Oracle home : asp.net,ode.net,odp.net,ntoledb,oramts
Following Single Instance listener(s) will be de-configured: LISTENER3,LISTENER2
The following databases were selected for de-configuration : SAEUV07
Database unique name : SAEUV07
Storage used : FS
No Enterprise Manager configuration to be updated for any database(s)
No Enterprise Manager ASM targets to update
No Enterprise Manager listener targets to migrate
Checking the config status for CCR
Oracle Home exists with CCR directory, but CCR is not configured
CCR check is finished
Do you want to continue (y - yes, n - no)? [n]: y
A log of this session will be written to: 'C:\Program Files\Oracle\Inventory\logs\deinstall_deconfig2021-07-08_11-18-15-PM.out'
Any error messages from this session will be written to: 'C:\Program Files\Oracle\Inventory\logs\deinstall_deconfig2021-07-08_11-18-15-PM.err'

######################## CLEAN OPERATION START ########################

Enterprise Manager Configuration Assistant START

EMCA de-configuration trace file location: C:\Program Files\Oracle\Inventory\logs\emcadc_clean2021-07-08_11-19-29-PM.log

Updating Enterprise Manager ASM targets (if any)
Updating Enterprise Manager listener targets (if any)
Enterprise Manager Configuration Assistant END
Database de-configuration trace file location: C:\Program Files\Oracle\Inventory\logs\databasedc_clean2021-07-08_11-19-48-PM.log
Database Clean Configuration START SAEUV07
This operation may take few minutes.
E:\app\product\11.2.0\dbhome_2\deinstall>deinstall.bat
Checking for required files and bootstrapping ...
Please wait ...
        1 file(s) copied.
        1 file(s) copied.
Location of logs C:\Program Files\Oracle\Inventory\logs\

############ ORACLE DEINSTALL & DECONFIG TOOL START ############


######################### CHECK OPERATION START #########################
## [START] Install check configuration ##


Checking for existence of the Oracle home location E:\app\product\11.2.0\dbhome_2
Oracle Home type selected for deinstall is: Oracle Single Instance Database
Oracle Base selected for deinstall is: E:\app
Checking for existence of central inventory location C:\Program Files\Oracle\Inventory

## [END] Install check configuration ##

## [START] Checking Windows and .NET products configuration ##


The following Windows and .NET products will be deconfigured from the Oracle home : asp.net,ode.net,odp.net,ntoledb,oramts

## [END] Checking Windows and .NET products configuration ##


Network Configuration check config START

Network de-configuration trace file location: C:\Program Files\Oracle\Inventory\logs\netdc_check2021-07-08_11-18-23-PM.log

Specify all Single Instance listeners that are to be de-configured [LISTENER3,LISTENER2]:

Network Configuration check config END

Database Check Configuration START

Database de-configuration trace file location: C:\Program Files\Oracle\Inventory\logs\databasedc_check2021-07-08_11-19-17-PM.log

Use comma as separator when specifying list of values as input

Specify the list of database names that are configured in this Oracle home [SAEUV07]:

###### For Database 'SAEUV07' ######

Single Instance Database
The diagnostic destination location of the database: F:\APP\KISHA\diag\rdbms\saeuv07
Storage type used by the Database: FS
Database file location: F:\APP\KISHA\ORADATA\SAEUV07,F:\APP\KISHA\SAEUV07
Fast recovery area location: F:\app\kisha\SAEUV07
database spfile location: E:\APP\PRODUCT\11.2.0\DBHOME_2\DATABASE\SPFILESAEUV07.ORA

The details of database(s) SAEUV07 have been discovered automatically. Do you still want to modify the details of SAEUV07 database(s)? [n]:

Database Check Configuration END

Enterprise Manager Configuration Assistant START

EMCA de-configuration trace file location: C:\Program Files\Oracle\Inventory\logs\emcadc_check2021-07-08_11-19-29-PM.log

Checking configuration for database SAEUV07
Enterprise Manager Configuration Assistant END
Oracle Configuration Manager check START
OCM check log file location : C:\Program Files\Oracle\Inventory\logs\\ocm_check838.log
Oracle Configuration Manager check END

######################### CHECK OPERATION END #########################


####################### CHECK OPERATION SUMMARY #######################
Oracle Home selected for deinstall is: E:\app\product\11.2.0\dbhome_2
Inventory Location where the Oracle home registered is: C:\Program Files\Oracle\Inventory
The following Windows and .NET products will be deconfigured from the Oracle home : asp.net,ode.net,odp.net,ntoledb,oramts
Following Single Instance listener(s) will be de-configured: LISTENER3,LISTENER2
The following databases were selected for de-configuration : SAEUV07
Database unique name : SAEUV07
Storage used : FS
No Enterprise Manager configuration to be updated for any database(s)
No Enterprise Manager ASM targets to update
No Enterprise Manager listener targets to migrate
Checking the config status for CCR
Oracle Home exists with CCR directory, but CCR is not configured
CCR check is finished
Do you want to continue (y - yes, n - no)? [n]: y
A log of this session will be written to: 'C:\Program Files\Oracle\Inventory\logs\deinstall_deconfig2021-07-08_11-18-15-PM.out'
Any error messages from this session will be written to: 'C:\Program Files\Oracle\Inventory\logs\deinstall_deconfig2021-07-08_11-18-15-PM.err'

######################## CLEAN OPERATION START ########################

Enterprise Manager Configuration Assistant START

EMCA de-configuration trace file location: C:\Program Files\Oracle\Inventory\logs\emcadc_clean2021-07-08_11-19-29-PM.log

Updating Enterprise Manager ASM targets (if any)
Updating Enterprise Manager listener targets (if any)
Enterprise Manager Configuration Assistant END
Database de-configuration trace file location: C:\Program Files\Oracle\Inventory\logs\databasedc_clean2021-07-08_11-19-48-PM.log
Database Clean Configuration START SAEUV07
This operation may take few minutes.

Delete oracle services

E:\app\product\11.2.0\dbhome_2\deinstall>oradim delete saeuv07
DIM-00002: Message 2 not found; No message file for product=RDBMS, facility=ORADIM
Message 22 not found; No message file for product=RDBMS, facility=ORADIM
Message 23 not found; No message file for product=RDBMS, facility=ORADIM
Message 24 not found; No message file for product=RDBMS, facility=ORADIM
Message 25 not found; No message file for product=RDBMS, facility=ORADIM
Message 26 not found; No message file for product=RDBMS, facility=ORADIM
Message 27 not found; No message file for product=RDBMS, facility=ORADIM
Message 28 not found; No message file for product=RDBMS, facility=ORADIM
Message 29 not found; No message file for product=RDBMS, facility=ORADIM
Message 30 not found; No message file for product=RDBMS, facility=ORADIM
Message 31 not found; No message file for product=RDBMS, facility=ORADIM
Message 32 not found; No message file for product=RDBMS, facility=ORADIM
Message 33 not found; No message file for product=RDBMS, facility=ORADIM
Message 34 not found; No message file for product=RDBMS, facility=ORADIM
Message 35 not found; No message file for product=RDBMS, facility=ORADIM
Message 36 not found; No message file for product=RDBMS, facility=ORADIM
Message 37 not found; No message file for product=RDBMS, facility=ORADIM
Message 38 not found; No message file for product=RDBMS, facility=ORADIM
Message 39 not found; No message file for product=RDBMS, facility=ORADIM

Click Start -> Run -> Services.msc and stop all ora processes

Delete the registry files in Start -> Run -> regedit

HKEY_LOCAL_MACHINE/SOFTWARE/ORACLE
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ORACLE
HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/

Delete all oracle directories like home ,temp and log directories

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s