List of additional steps to do for cleaning the system completely after uninstall using universal installer.
# Stop any Oracle services that have been left running.
Start->Settings->Control Panel->Services
Look for any services with names starting with ‘Oracle’ and stop them.
# Run regedit and delete the following keys (some may have slightly different names in your registry):
HKEY_CURRENT_USER\SOFTWARE\ORACLE
HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet Services\EventLog\Application\Oracle.oracle
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet Services\OracleDBConsole
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet Services\Oracle10g_home
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet Services\OraclService
Note that the services control panel will still show the old services until you reboot.
# Delete the Oracle home directory
C:\Oracle
# Delete the Oracle Program Files directory:
C:\Program Files\Oracle
# Delete the Oracle Start Menu shortcuts directory:
C:\Documents and Settings\All Users\Start Menu\Programs\Oracle*
Where * indicates the name of your install. Look for and remove all Oracle directories from that location.
# Remove Oracle refereces from the path. To edit your path go to:
Start->Settings->Control Panel->System->Advanced->Environment Variables
Edit both of the environment variables user PATH and system PATH. Remove any Oracle references in them.
# Remove Oracle.DataAccess and any Polic.Oracle files from the GAC which is at:
C:\Windows\assembly\
August 30, 2006 at 6:57 am |
thanks for the information provided.
Anil
September 6, 2006 at 12:54 pm |
Very Useful Posting..thanks for the information.
September 9, 2006 at 11:54 am |
i deleted all what you have mentioned above but still i am unable to delete a file called oci.dll .It says access is denied.how can i delete it?it is there in ORACLE_HOME\db_1\bin direcory.
October 6, 2006 at 7:34 am |
I am also stuck with the same problem of not being able to delete the oci.dll file in the ORACLE_HOME\db_1\bin directory. Any tips on this please?
October 6, 2006 at 7:42 am |
Got arnd the problem of deleting the oci.dll by just restarting my system and trying it again!! It actually worked!!
October 12, 2006 at 5:28 am |
Rename oci.dll to anything and delete after reboot…worked for me
December 30, 2006 at 10:07 am |
How do I delete the emctl.pid file
January 17, 2007 at 9:38 pm |
Phani,
reboot your system, and start it in safe mode. once started in safe mode, login and then delete the oci.dll.
that will work.
suniel
January 26, 2007 at 1:31 pm |
Successfully uninstalled Oracle, but when I tried reinstalling & get to the part of testing the listener: Oracle for Windows NT-> Oracle Net8 Easy Config is not opening at all. Help pleaaase
April 30, 2007 at 6:42 pm |
Raina,
Did you see if all of your services are running?
May 31, 2007 at 4:18 pm |
Delete oracle in the path environmental variable; reboot; and you should be able to remove all the files
September 30, 2007 at 3:37 pm |
Thanks a lot.. great checklist. it helped me a lot
November 22, 2007 at 5:10 am |
i install oracle 10g on windows Xp. when i run isql plus with Scott then it shows user locked .How i open that lock?
November 22, 2007 at 1:16 pm |
From sql*Plus, use command:
ALTER USER scott ACCOUNT UNLOCK
November 24, 2007 at 5:53 pm |
Great ! It is very useful… I’m sick thinking how to remove Oracle correctly
November 29, 2007 at 10:54 am |
Thankx so muck for the guidance to uninstall oracle 10g on ma Pc it had slowed down due to the oracle I installed on but am stuck on the point of being able to Remove Oracle.DataAccess and any Polic.Oracle files from the GAC which is at:
c:\Windows\assembly\
Well am getting in to c:\Windows but cant see the assembly folder or file advice me!
March 6, 2008 at 11:24 am |
what is meant by sid?? i am unable to install oracle because its asking me to change sid??????Any help please
April 8, 2008 at 11:53 am |
thanks for the guidance to uninstall oracle 10g on ma Pc it had slowed down due to the oracle I installed on but am stuck on the point of being able to Remove Oracle.
July 10, 2008 at 10:23 am |
Really good content…
August 6, 2008 at 9:49 am |
\app\oracle\product\10.2.0\server\BIN\msvcr71.dll & oci.dll are not getting deleted
August 27, 2008 at 4:08 pm |
Steps I took to completely remove Oracle 10g on my machine:
————————————————————————
- Uninstall using 10g disc
- Control Panel -> Classic View -> Admin Tools -> Services
- Get rid of any ‘Oracle Services’ [none in this case for me]
- There are some registry keys to get rid of [not all applied here for me]:
HKEY_CURRENT_USER\SOFTWARE\ORACLE
HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\Application\Oracle.oracle
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleDBConsole
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Oracle10g_home
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OraclService
- reboot machine
- on reboot, keeping tapping F8 until boot menu is displayed
- From boot menu, select safe mode / with command prompt
- del c:\oracle\product\10.2.0\client_1\bin\*.dll
- Ctrl-Alt-Del -> Restart
- Boot up normally, and delete rest of the oracle path from Windows Explorer
JonP
September 14, 2008 at 6:01 am |
Thank you very much for the post….
September 21, 2008 at 2:38 am |
do i hav to remove System.Data.OracleClient from C:\WINDOWS\assembly durin this process?
October 16, 2008 at 2:42 pm |
I can’t believe that it’s still not possible to remove Oracle by using the uninstaller – Also the tools to administer the database look like 20 years ago.
Please Oracle – do us a favor and stop selling your database
January 6, 2009 at 12:55 am |
Thank you very much!
January 15, 2009 at 5:25 am |
I intalled Oracle 9i and Oracle 10g Report Builder, after that I am not able to connect my asp.net application to the database…Before Installing it was working fine..At the time of connecting it shows following error message:…
“OCIEnvCreate faild with return code -1….”
Please Help.
March 26, 2009 at 3:52 pm |
this is very good i really enjoyed the process it was fine and it worked
thanks for the tips
March 28, 2009 at 12:59 pm |
sir!iam not able to remove service oracleservicexeit says systemerror3,path is miising
March 31, 2009 at 2:47 pm |
from where i can delete inventry file
April 12, 2009 at 9:37 pm |
sir,
i use oracle 10g which slow downs the system my ram capacity is 512 so suggest me a best oracle version inorder to connect with .net and provide a link so that i can download. thankyou
July 15, 2009 at 9:51 am |
Thanx for ur Information for how to Deinstall Oracle 10g DB in windows XP.
Queries :
1. How to Install IIS in windows XP Home and Windows Vista?
2. How to uninstall Oracle from Windows Vista Edition?
September 7, 2009 at 7:16 pm |
when i tryed to open oracle 10g..it ask for username(i.e scott\tiger) and then ask for password and when i enter my password it shows an error “”"”ORA-12560: TNS:protocol adapter error”"” plz help me out
October 13, 2009 at 11:13 am |
For deleting a windows service:
1. you need admin rights
2. Open RUN and type cmd to start command prompt
3. Type SC and press Enter, this will show you help for “SC” command.
4. To stop a service type sc STOP
5. To delete / uninstall a service type SC delete
It works for me……
October 30, 2009 at 3:47 am |
[...] after that run REGEDIT. remove oracle entries . except for Microsoft driver for oracle. Uninstalling Oracle 10g Manually from Windows XP Krishnamoorthy’s Blog restart and delete the folder in i.e . c:program filesoracle and the oracle home folder where [...]
November 1, 2009 at 7:02 am |
how do i install the oracle 10g if during installation it prompts..”Installer has detected an already instance of XE”. After that the set up is terminated.