Sie sind auf Seite 1von 7

Menginstall Oracle 11g memang agak susah, namun cukup intuitif.

Masalah muncul ketika kamu


ingin meng-uninstall namun tidak muncul di Control Panel (Program & Features). Kamu
termenung dan berpikir.. Lalu dimana uninstall.exe -nya? Rupanya Oracle punya cara tersendiri
untuk menghilangkan produk ini dari komputer Anda. Ikuti cara-cara berikut.

Cari deinstall.bat pada direktori yang mirip seperti ini:


C:\app\user\product\11.2.0\dbhome_2\deinstall

Setelah itu klik kanan dan pilih "Run as Administrator".

Dalam proses de-installasi itu akan muncul beberapa pertanyaan. Kebanyakan pertanyaan itu
tinggal Anda ketik ENTER. Kecuali pada nomor 5 dan 9:

1. Specify all Single Instance listeners that are to be de-configured [LISTENER]:

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

3. Specify the type of this database (1.Single Instance Database|2.Oracle Restart Enabled
Database) [1]:

4. Specify the diagnostic destination location of the database [c:\Oracle\diag\rdbms\e1local]:

5. Specify the storage type used by the Database ASM|FS []: KETIKAN FS

6. Specify the list of directories if any database files exist on a shared file system. If 'E1LOCAL'
subdirectory is found, then it will be deleted. Otherwise, the specified directory will be deleted.
Alternatively, you can specify list of database files with full path [ ]:

7. Specify the flash recovery area location, if it is configured on the file system. If "E1LOCAL"
subdirectory is found, then it will be deleted. []:

8. Specify the database spfile location [ ]:

9. Do you want to continue (y - yes, n - no)? [n]: KETIKAN Y


UNINSTALL / DEINSTALL ORACLE 11G
DARI WINDOWS
April 12, 2013 · by reigacommunity · in ORACLE. ·

Berikut cara untuk uninstall Oracle 11g dari Windows.

1. matikan service Oracle.

di CMD, ketik: services.msc

stop semua service yang bernama awalan “Oracle*“

2. Uninstall semua komponen dengan menggunakan deinstall.bat via CMD

C:\app\user\product\11.2.0\dbhome_1\deinstall>deinstall.bat

3. Di registry,hapus:

-tree Oracle di HKEY_LOCAL_MACHINE/SOFTWARE/ORACLE

–HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Ora*

4. Hapus variabel Oracle di PATH jika ada.

5. Delete “C:\app” direktori,yang merupakan direktori ORACLE_BASE Anda.

6. Delete “C:\Program Files\Oracle”

7. Bersihkan isi “C:\temp” klo ada.

8. Kosongkan recycle bin.


How to uninstall / completely remove Oracle
11g (client)?

deinstall.bat doesn't work.

Edit: Further discussion related to why this


question was closed and
deleted:http://meta.stackexchange.com/questions
/190441/why-was-this-question-related-to-
uninstalling-the-oracle-database-client-deleted
oracle oracle11g

shareimprove this question edited Apr 25 '14 at 9:44 asked Dec 9 '11 at 19:32

Community♦ Ennovy
1 2,31993148

2 unbelievable that this question was closed by mods, the post below w
the community scope to include "anything helpful to developers". – fu

1 @fuzzyanalysis: This question wasn't closed by Moderators. There are


users. – Al E. Jul 24 '13 at 13:39

3 This question as 13 upvotes, 3 favorites, 1 reopen vote, and 69,870 vie


despite being a valuable resource. If this is considered off-topic for SO,
on-topic? Would a moderator be able to move this to the correct site -
this knowledge essentially lost forever? – ziesemer Jul 24 '13 at 21:28

add a comment

4 Answers
activeoldest votes

up Assuming a Windows installation, do please refer to this:


vote62do
http://www.oracle-base.com/articles/misc/ManualOracleUninstall.php
wn vote  Uninstall all Oracle components using the Oracle Universal Installer (OUI).

 Run regedit.exe and delete the HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE


key. This contains registry entires for all Oracle products.
 Delete any references to Oracle services left behind in the following part of the
registry:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Ora* It
should be pretty obvious which ones relate to Oracle.
 Reboot your machine.
 Delete the "C:\Oracle" directory, or whatever directory is your ORACLE_BASE.
 Delete the "C:\Program Files\Oracle" directory.
 Empty the contents of your "C:\temp" directory.
 Empty your recycle bin.
Calling additional attention to some great comments that were left here:

 Be careful when following anything listed here (above or below), as doing so


may remove or damage any other Oracle-installed products.
 For 64-bit Windows (x64), you need also to delete
the HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ORACLE key from the
registry.
 Clean-up by removing any related shortcuts that were installed to the Start
Menu.
 Clean-up environment variables:
 Consider removing %ORACLE_HOME%.
 Remove any paths no longer needed from %PATH%.
This set of instructions happens to match an almost identical process that I had
reverse-engineered myself over the years after a few messed-up Oracle installs, and
has almost always met the need.

Note that even if the OUI is no longer available or doesn't work, simply following the
remaining steps should still be sufficient.

shareimprove this answer edited Apr 25 '14 at 17:55 answered Dec 9 '11 at 19

ziesemer
18.4k34364

1 For 64 bit windows, you need also to delete HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ORACLE key –


itsho Jul 24 '13 at 10:55

1 First, be careful when deleting "C:\Program Files\Oracle", it may contain other products too. Second, you may ne
to clean your start menu manually ;) – user123444555621 Feb 27 '14 at 14:54

2 Don't forget to clean up your path settings and remove the ORACLE_HOME environment variable. – Brad Bruce A
12 '14 at 14:52
1 its mildly annoying that you used / instead of \ :P – gbtimmon Apr 25 '14 at 13:58

1 @gbtimmon - I assume you are referring to the registry paths. I had simply quoted as-was from the original articl
Regardless, they are fixed now. :-) – ziesemer Apr 25 '14 at 17:55

add a comment

up Do everything suggested by ziesemer.


vote1do
You may also want to remove from the registry:
wn vote
HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\<any Ora* drivers> keys

HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\ODBC Drivers<any Ora*


driver> values
So they no longer appear in the "ODBC Drivers that are installed on your system" in
ODBC Data Source Administrator

shareimprove this answer edited Oct 26 at 1:20 answered Dec 4 '14 at 5:16

C_blunt
413

Don't forget the 32 bit entry on a 64 bit


Windows:HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ODBC\ODBCINST.INI\... – Wernfried
Domscheit Oct 14 at 7:20

add a comment

up Do everything suggested by ziesemer.


vote0do
You may also want to :
wn vote
 Stop the Oracle-related services (before deleting them from the registry).
 In the registry, look not only for entries named "Oracle" but also e.g. for "ODP".
shareimprove this answer answered May 5 at 8:18

Pascal Sartoretti
111

add a comment

up There are some more actions you should consider:


vote0down
 Remove Registry Entries for MS Distributed Transaction Coordinator
vote (MSDTC)

Note: on the Internet I found this step only at a single (private) page. I don't
know if it is required/working or if it breaks anything on your PC.

 Open Regedit
 Navigate to HKEY_LOCAL_MACHINE\Software\Microsoft\MSDTC\MTxOCI
 Add an x before each string for OracleOciLib, OracleSqlLib,
and OracleXaLib
 Navigate
to HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\MSDTC\MTxO
CI
 Add an x before each string for OracleOciLib, OracleSqlLib,
and OracleXaLib
Otherwise these files, if they exist, will still be in use next time you reboot, and
unable to be deleted.

 Remove environment
variable ORACLE_HOME, ORACLE_BASE, TSN_ADMIN, NLS_LANG if exist
Check also Oracle doc to find all Oracle related environment variables,
however apart from variables listed above they are very rarly used on Windows
Client: Oracle Environment Variables
 Unregister oci.dll

 Open a command line window (Start Menu -> Run... -> cmd)
 Enter regsvr32 /u oci.dll
 In some cases the file {ORACLE_HOME}\bin\oci.dll is looked and you cannot
delete it.
In such case rename the file (e.g. to oci.dll.x) and beboot the PC, afterwards
everything can be deleted.

 Remove Oracle .NET assemblies (DLL Files) from Global Assembly Cache
(GAC)

 Use Windows Explorer and open %SYSTEMROOT%\assembly,


e.g. C:\Windows\assembly(other file explorers, e.g. Total Commander do
not work)
 Remove any entry Oracle.DataAccess
 Remove any entry Policy.*.Oracle.DataAccess
 Remove any entry Oracle.ManagedDataAccess*
 Entry System.Data.OracleClient should not be removed, this one is
installed by Microsoft not an Oracle component!
 Note: Windows Explorer shows only .NET version 2.0 assemblies
(i.e. Oracle.ManagedDataAccess is not displayed). For a full cleanup you
should use the gacutilutility, if available on your system.

Das könnte Ihnen auch gefallen