Manually uninstall Oracle in Windows and oracle in windows

Source: Internet
Author: User

Manually uninstall Oracle in Windows and oracle in windows

There is a problem with uninstalling the Oracle Al Installer that comes with Oracle: it is not clean, not complete, and there are some residual registries, which will affect subsequent installation. Therefore, we recommend that you manually uninstall Oracle.

1. [win + R]-> [services. msc] to disable all oracle services. Uninstall Oracle software using OUI (Oracle Universal Installer.
"START"-> "Program"-> "Oracle-OraDb110g_home1 | Oracle installation product | Universal installer.

2. Open the registry [win + R]-> [regedit ]. Open Path: HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ delete all service names starting with oracle in this path. This key identifies various Services registered by Oracle in windows!

3. Open the registry and find the path HKEY_LOCAL_MACHINE \ SOFTWARE \ ORACLE to delete the oracle directory, which contains the SOFTWARE installation information of the Oracle database.

4. Delete the registered oracle event log. Open the Registry HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ Eventlog \ Application to delete all items in the registry that start with oracle.

5. Delete the oracle content in the environment variable path. Right-click my computer> Properties> advanced> environment variable> PATH variable. Delete the content of Oracle in this value. Note: A Bunch Of Operating System directories are recorded in the path. In windows, directories are separated by semicolons (;). Note the following when deleting directories. Suggestion: When deleting the Oracle value in the path environment variable, copy all the values to the text editor, find the corresponding Oracle value, and then copy the modified string, paste it to the path environment variable, which is relatively safe.

6. Restart the operating system.

7. After the operating system is restarted, all Oracle-related processes will not be loaded. Delete all data under Oracle_Home. (Oracle_Home refers to the installation directory of the Oracle program)

8. Delete the oracle directory under C: \ Program Files. (This directory depends on the path of Oracle Installation)

9. Delete oracle items under the Start Menu, for example, C: \ Documents and Settings \ All Users \ "start" Menu \ Program \ Oracle-Ora10g. If you do not delete the Oracle-related menu directories under the Start menu, it does not affect the re-installation of Oracle. This menu will be replaced when Oracle is re-installed.

So far, Oracle is completely uninstalled on Windows.


How can I completely uninstall oracle in win7?

To delete an Oracle10g instance, follow these steps:
1. Stop all oracle services in the system service.
2. Open the control panel, uninstall the program, and Uninstall all oracle-related programs.
3. Click start, all programs. Find oracle Installation Products under the Oracle main program and click Universal Installer ". Click Uninstall and select all products. Check "Install product" after uninstalling. It should be blank.
4. Delete Registry related options: Run regedit,
A. Select HKEY_LOCAL_MACHINE \ SOFTWARE \ ORACLE.
B. Select HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services to delete all Oracle entries;
C. Select HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ Eventlo \ Application to delete all Oracle entries;
5. Delete the C: \ Program Files \ Oracle directory;
6. restart the computer and delete all files in the Oracle installation directory;

How to delete Oracle in Windows

My machine environment: OS: WINXP + SP2ORACLE: ORACLE9IGLOBAL_NAME: ora9i.oracle.com Note: because it is a self-tested database rather than a production database, no other program on the machine is connected to the database, only the TOAD database management tool and plsql developer pl/SQL development tool are installed. Implementation Method: 1. Choose "start"> "Settings"> "Control Panel"> "Management Tools"> "services" to stop all Oracle services. 2. Delete all items in HKEY_LOCAL_MACHINE \ SOFTWARE \ ORACLE and Run regedit. Select HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services to scroll through the list and delete all items related to Oracle. 3. Run regedit, HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ Eventlog \ Application to delete all Oracle content. 4. choose "start"> "Settings"> "Control Panel"> "system"> "advanced"> "environment variables" to delete Oracle settings in the environment variables CLASSPATH and PATH. ORACLE_SID was added after I installed the database, because the machine has two databases. SID = ORA9I2. SID = TEST after I want to start SQL * PLUS, the system automatically goes to the ORA9I database, so I added this. 6. restart the computer! 7. delete all groups and icons related to Oracle from the desktop, STARTUP group, and program menu. delete C: \ Program Files \ Oracle directory 9. when you install ORACLE, ORACLE files will be installed on disk D by default, and all ORACLE files installed on disk D will be deleted. 10. restart the computer. Now, install the new database.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.