Complete uninstall of Oracle 12c operation steps on Windows7 ____oracle
Source: Internet
Author: User
Complete uninstall of Oracle 12c operation steps on Windows7
1. Turn off all Oracle Services and press "Win+r" to Run "services.msc" to find all services that begin with Oracle (oraclevsswriterorcl+oracleserviceorcl+ ORACLEORADB12HOME1TNSLISTENER+ORACLEORADB12HOME1MTSRECOVERYSERVICE+ORACLEJOBSCHEDULERORCL), click Stop.
2. Uninstall Oracle programs with Oracle software. Click "Start"-> "program"-> "oracle-oradb12c_home1"-> "Oracle Installation Products"-> "Universal Installer", click "Uninstall Products" button, check "Oracle home directory "-" oradb12c_home1 "-" Oracle Database 12c 12.1.0 "After the last item, click" Delete ", after the deletion and then check" Oracle home Directory "-" ORADB12C_HOME1 "Item, click" Delete ". Click Close when uninstall is complete.
3. Open the Registry program, press "Win+r"-> enter "regedit"-> "enter", delete the following path/key/value:
3.1:hkey_local_machine\system\currentcontrolset\services\ Remove all Oracle-initiated service names under this path oraclevsswriterorcl+ ORACLESERVICEORCL+ORACLEORADB12HOME1TNSLISTENER+ORACLEORADB12HOME1MTSRECOVERYSERVICE+ORACLEJOBSCHEDULERORCL).
3.2:hkey_local_machine\software\oracle deletes the Oracle directory, which registers 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 deletes all shortcuts that contain Oracle.
3.4:hkey_local_machine\system\currentcontrolset\services\eventlog\application deletes all the entries in the registry that begin with Oracle.
4. Delete environment variables related to Oracle settings: Right-click My Computer--> properties on the desktop--> advanced--> environment variable: Delete the following environment variable or value
4.1 Delete the Nls_lang environment variable, the default value is simplified Chinese_china. Zhs16gbk
4.2 Delete the Oracle_home environment variable, the default value is C:\app\Administrator\product\12.1.0\dbhome_1
4.3 Delete the ORACLE_SID environment variable, the 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 the TNS_ADMIN environment variable, the default value is C:\app\Administrator\product\12.1.0\dbhome_1\NETWORK\ADMIN
5. Restart the operating system.
6. Delete Oracle Program-related directories after reboot. Includes installation directory (C:\APP) + System configuration directory (C:\Program files\oracle).
7. After reboot, delete the Oracle item (C:\Users\Administrator\Oracle) under the Start menu.
At this point, Oracle in Windows7 is completely uninstalled, and the Oracle installation is rerun without any errors.
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.