Complete uninstall of Oracle 12c operation steps on Windows7

Source: Internet
Author: User

Complete uninstall of Oracle 12c operation steps on Windows7


1. Close all Oracle Services and press "Win+r" to Run "services.msc" to find all services beginning with Oracle (oraclevsswriterorcl+oracleserviceorcl+ ORACLEORADB12HOME1TNSLISTENER+ORACLEORADB12HOME1MTSRECOVERYSERVICE+ORACLEJOBSCHEDULERORCL), click Stop.


2. Uninstall the Oracle program using Oracle's own software. Click "Start", "program", "Oracle-oradb12c_home1", "Oracle Installation Products", "Universal Installer", click "Uninstall Product" button, tick "Oracle home Directory "-" oradb12c_home1 "-" Oracle Database 12c 12.1.0 "After the last item click" Delete ", after deleting and then check" Oracle home Directory "-" ORADB12C_HOME1 "Item and click" Delete ". Click Close when the uninstallation is complete.


3. Open the Registry program, press "Win+r", enter "regedit", "return", delete the following path/key/value:


3.1:hkey_local_machine\system\currentcontrolset\services\ Delete all service names starting with Oracle under this path oraclevsswriterorcl+ ORACLESERVICEORCL+ORACLEORADB12HOME1TNSLISTENER+ORACLEORADB12HOME1MTSRECOVERYSERVICE+ORACLEJOBSCHEDULERORCL).


3.2:hkey_local_machine\software\oracle deletes the Oracle directory, which registers the software installation information for the Oracle database.


3.3:hkey_users\s-1-5-21-1302337871-3542686902-227442817-500\software\microsoft\windows\currentversion\explorer \startpage\newshortcuts Delete all shortcuts that contain Oracle.


3.4:hkey_local_machine\system\currentcontrolset\services\eventlog\application deletes all entries in the registry that begin with Oracle.


4. Delete environment variables for Oracle Related settings: Right-click My Computer--Properties--advanced--Environment variables: Remove the following environment variables or values on the desktop


4.1 Delete the Nls_lang environment variable, the default value is simplified Chinese_china. Zhs16gbk
4.2 Delete oracle_home environment variable, default value is C:\app\Administrator\product\12.1.0\dbhome_1
4.3 Delete oracle_sid environment variable, default value is ORCL
4.4 Delete the C:\app\Administrator\product\12.1.0\dbhome_1\bin in the PATH environment variable;
4.5 Delete tns_admin environment variable, default value is C:\app\Administrator\product\12.1.0\dbhome_1\NETWORK\ADMIN


5. Restart the operating system.


6. Delete the Oracle program-related directories after rebooting. Includes the installation directory (C:\APP) + System configuration directory (C:\Program files\oracle).


7. After restarting, delete the Oracle item (C:\Users\Administrator\Oracle) under the Start menu.


At this point, Oracle under Windows7 is completely uninstalled and will not report any errors when re-running the Oracle installation.

Complete uninstall of Oracle 12c operation steps on Windows7

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.