Thursday, March 27, 2014

How to Remove Oracle Manually Without Installing New OS?

Removing Oracle from computer completely is always a pain. Before going to the steps, I will provide some clarity what to remove why to remove?

1. If you have SQLDeveloper and if you don't have Oracle client and if you are connecting server database you don't have anything related to Oracle installed in your PC
2. If you have any Oracle client installed in your laptop and if you are connecting the TOAD through that oracle client to your local database then Oracle client is installed and you have to follow the steps below

The database version of your Server may be different from the database version of your local database. You can know the version of the database using the SQL Query
select * from v$database;

Step 1: Stop all Services

Go to Control Panel --> System and Security --> Administrative Tools --> Services and stop all the services starting with Ora or Oracle. To stop all you need to do is to right click on service and stop the service.

Step 2:  If you have Oracle already installed in your PC. Don't delete any folder manually.

Click on Windows button and in the search bar type Oracle Universal Installer. There pops up oracle Universal Installer and there will be a button called Deinstall products. Click on that and select all the Oracle components to uninstall. Uninstall them completely and also uninstall Oracle home

Step 3: Manually Remove Folders

In the drive where you installed Oracle remove following folders
1. App folder
2. Oracle folder in program files
3. Oracle folder in program files 86
4.  If OCI.dll is not getting deleted follow my previous post on how to delete OCI.dll

Step 4: Removing Patches from Regedit

Click on Windows + R and type regedit and registry will be opened
Press Control + F and type Oracle and click on find and delete every oracle field in registry
Press Control + F and type Ora and click on find and delete every oracle field in registry

Step 5: Remove everything from Recycle bin
Remove every thing from Temp folder
Remove every thing from %temp% folder
Remove every thing from recent folder
Delete all shortcuts and clear recycle bin as well.

Reboot the machine and you are good to install new copy of Oracle

If you still face issues after doing all the issues try downloading Oracle Developer new version...






No comments:

Post a Comment