Menu
How to Uninstall WebLogic 12C In this section, we walk through how to uninstall WebLogic 12C. If you are looking to uninstall 11G version, then follow the link Uninstall WebLogic 11G. Uninstall WebLogic 12C 1. Login into WebLogic console and stop all the servers if any server is running (Default is.
Sometimes my Oracle database on Windows gets hosed. How do I do a manual uninstall of Oracle?
JoshuaJoshua
6 Answers
The six-step process to remove all things Oracle from a Windows machine:
A. Delete the Oracle services: In the registry, go to
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServices
and delete everything that starts with 'Oracle'B. Remove other Oracle stuff from the registry: Go to
HKEY_LOCAL_MACHINESOFTWARE
and delete the key ORACLEC. Reboot
D. Delete all the Oracle software from the directories where you installed it
E. Delete the Oracle software inventory: Delete the directory
C:Program FilesOracle
. You must do this no matter where you installed your Oracle software - the Oracle installer automatically writes information here. F. Delete all shortcuts from your Start menu.
G. Remove the Oracle directories from PATH Environment Variable.
To simplify cleanup in the future, I'd strongly recommend you install your Oracle products in one or more virtual machines.
Sten VesterliSten Vesterli
Have a look at:
Basically, it comes down to:
Remove all you can with the installer.Remove Oracle keys from the registry.Remove the Oracle directories from your computer.
With (of course) the requisite reboots thrown in as required ;-)
DCookieDCookie
It's worth noting that there is an official Oracle standalone deinstaller: https://docs.oracle.com/cd/E11882_01/install.112/e47689/remove_oracle_sw.htm#LADBI1332, which I just used to uninstall Oracle 11 client. This is not necessarily better or easier to use than the top suggestion on this page, but it is 'official'.
One thing to note - if you use the official deinstaller, it does not like the temp folder to have spaces in it. So if you have it set to 'Documents and Settings...temp' it will fail. Use the control panel environment settings button to SET the TEMP folder first.
shindigoshindigo
Uninstall Oracle 10g from window 7, Xp
step 1 : Open up the start menu and in program files look for oracle – oraDb10g_home folder, and select oracle installation products – > Universal Installer.
step 2 : Select Deinstall Product, which will pop up new window , select check box oracleDb10g_home1 as shown below. Click on remove button. This will remove oracle.
step 3 : Remove the registration file from Regedit, in order to remove oracle 10g completely. Run Regedit.
Delete the following keys if it exits after the un-installation.
HKEY_CURRENT_USERSOFTWAREORACLE HKEY_LOCAL_MACHINESOFTWAREORACLE HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesEventLogApplicationOracle.oracle HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesOracleDBConsole HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesOracle10g_home HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesOraclService
step 4 : Now delete the folder where you have installed the software. By default, it is installed in c drive as C:oracle and from C:programs filesoracle.
Hence by doing this steps successfully, Oracle 10g is removed completely. If you are having any problem in removing or uninstalling the program,(oracle ) then do comment below, we will look on that.
user3091530user3091530
The tips for using a VM enviroment is the best: no worries about deinstalling. Just install a complete Oracle enviroment and after one succesfull run: winrar the VM ... after corrupting the Oracle home once again: just delete the current VM and unrar the backup
LooyeDLooyeD
Assuming a unix type OS and that you properly installed it using an account named oracle...
find / -user oracle -exec rm -fr {} ;
That having been said, this must be done as root and you had better not mind loss of any and all files that belong to oracle. There will be no... NO recovery from this method.
dacracotdacracot
Not the answer you're looking for? Browse other questions tagged databaseoracleoracle10guninstalloracle9i or ask your own question.
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: https://meta.stackexchange.com/questions/190441/why-was-this-question-related-to-uninstalling-the-oracle-database-client-deleted
Community♦
YvesYves
4 Answers
Assuming a Windows installation, do please refer to this:
- Uninstall all Oracle components using the Oracle Universal Installer (OUI).
- Run regedit.exe and delete the HKEY_LOCAL_MACHINESOFTWAREORACLE 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_MACHINESYSTEMCurrentControlSetServicesOra*
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 FilesOracle' 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_MACHINESOFTWAREWow6432NodeORACLE
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%
.
- Consider removing
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.
(Revision #7 reverted as to not misquote the original source, and to not remove credit to the other comments that contributed to the answer. Further edits are appreciated (and then please remove this comment), if a way can be found to maintain these considerations.)
Community♦
ziesemerziesemer
There are some more actions you should consider:
- Remove Registry Entries for MS Distributed Transaction Coordinator (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_MACHINESoftwareMicrosoftMSDTCMTxOCI
- Add an x before each string for
OracleOciLib
,OracleSqlLib
, andOracleXaLib
- Navigate to
HKEY_LOCAL_MACHINESoftwareWow6432NodeMicrosoftMSDTCMTxOCI
- Add an x before each string for
OracleOciLib
,OracleSqlLib
, andOracleXaLib
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
,TNS_ADMIN
,NLS_LANG
if existCheck also Oracle doc to find all Oracle related environment variables, however apart from variables listed above they are very rarely used on Windows Client: Oracle Environment Variables - Unregister oci.dll
- Open a command line window (Start Menu -> Run... -> cmd)
- Enter
regsvr32 /u oci.dll
, resp.%windir%SysWOW64regsvr32 /u oci.dll
- In some cases the file
%ORACLE_HOME%binoci.dll
is looked and you cannot delete it. In such case rename the file (e.g. to oci.dll.x) and reboot the PC, afterwards you can delete it.
- Remove Oracle .NET assemblies from Global Assembly Cache (GAC). You do this typically with the gacutil utility, if available on your system. Would be like this:
- Entry
System.Data.OracleClient
should not be removed, this one is installed by Microsoft - not an Oracle component! - Instead of
gacutil /u ...
you can also useOraProvCfg /action:ungac /providerpath:...
if OraProvCfg is still available on your system. You may find it at%ORACLE_HOME%odp.netmanagedx64OraProvCfg.exe
.
- With a text editor, open XML Config file
%SYSTEMROOT%Microsoft.NETFramework64v4.0.30319Configmachine.config
and delete branch<oracle.manageddataaccess.client>
, if existing.- Do the same with:
Instead of editing the XML Config file manually you can also run (if OraProvCfg.exe is still available on your system): - Check following Registry Keys and delete them if existing
- Delete the Inventory folder, typically
C:Program FilesOracleInventory
andC:Program Files (x86)OracleInventory
- Delete temp folders
%TEMP%deinstall
,%TEMP%OraInstall
and%TEMP%CVU*
(e.g%TEMP%CVU_11.1.0.2.0_domscheit
) if existing.
Wernfried DomscheitWernfried Domscheit
Do everything suggested by ziesemer.
You may also want to remove from the registry:
So they no longer appear in the 'ODBC Drivers that are installed on your system' in ODBC Data Source Administrator
ranni rabadiranni rabadi
Do everything suggested by ziesemer.
You may also want to :
- Stop the Oracle-related services (before deleting them from theregistry).
- In the registry, look not only for entries named 'Oracle'but also e.g. for 'ODP'.
Pascal SartorettiPascal Sartoretti
protected by Community♦Jun 3 '14 at 16:10
Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?
Would you like to answer one of these unanswered questions instead?