Win10 oracle11g completely removed

Source: Internet
Author: User

Refer to the following two articles:

Uninstall oracle11g step:  
1. First turn off all Oracle related services, then locate the Oracle Uninstaller Universal installer: 
 
and then click Uninstall Product. Then click Expand All to uninstall all apps except the home directory, then click Show Empty directory and delete the home directory.  
2. Delete the registry:  
? Press the Windows logo key and the R key, open the Run window, enter regedit, open the registry, expand HKEY_LOCAL_MACHINE\Software, and then locate Oracle, Delete it.  
? expand HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services, and then delete all entries that begin with Oracle.  
? Expand Hkey_local_ Machine\system\currentcontrolset\services\eventlog\application, delete all items beginning with Oracle;  
? Expand Hkey_local_ Machine\system\currentcontrolset\services\eventlog\application, delete all items beginning with Oracle;  
? Expand Hkey_local_ Machine\system\controlset001\services, remove all entries that begin with Oracle.  
3. Shutdown restart.  
4. Delete the installation directory of the database: it is the folder of the installation directory  ,

then go to the C-disk program files and program files (x86) folder to delete Oracle  
5. Finally check that all programs list there is something related to Oracle, then click on it, then open the file location and delete the corresponding folder.

This can be reinstalled if the Plsql connection is not reported incorrectly after installation: Ora-12154:tns: The specified connection identifier could not be resolved. There are several issues that may be causing the following:
1. Need to add environment variables
Oracle_home? F:\app\hanjuxiang\product\11.2.0\dbhome_1
Tns_admin? %oracle_home%/network/admin/
2. If not, check the F:\app\hanjuxiang\product\11.2.0\dbhome_1\NETWORK\ADMIN directory for files such as listeners that are missing. If not, you can add it yourself using the admin tool. You can also let others copy a normal two files Listener.ora and Tnsnames.ora. The simple content is as follows:
Listener.ora:

# Listener.ora Network Configuration file:d:\app\hjx\product\11.2.0\dbhome_1\network\admin\listener.ora# Generated By Oracle configuration tools. Sid_list_listener = (Sid_list = (Sid_desc = (Sid_name = clrextproc) (Oracle_home = D:\app\hjx\product\11.2.0\dbhome_1) ( program = Extproc) (Envs = "Extproc_dlls=only:d:\app\hjx\product\11.2.0\dbhome_1\bin\oraclr11.dll "))) LISTENER = (Description_list = (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EX TPROC1521)) (ADDRESS = (PROTOCOL = TCP) (HOST = localhost) (PORT = 1521))) Adr_base_listener = D:\app\HJX 


Tnsnames.ora:

# tnsnames.ora Network Configuration File: D:\app\hjx\product\11.2.0\dbhome_1\network\admin\tnsnames.ora# Generated by Oracle configuration tools.ORACLR_CONNECTION_DATA = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521)) ) (CONNECT_DATA = (SID = CLRExtProc) (PRESENTATION = RO) ) )LISTENER_ORCL = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))ORCL = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521)) ) (CONNECT_DATA = (SERVICE_NAME = orcl) ) )

Then restart your computer and use the Plsql connection again. (This does not say plsql configuration, that is, install the appropriate client, and then make some configuration in the preferences)

Note The OCI Library chooses the installed client.

====================================================

How can you completely uninstall Oracle with an Oracle-brought uninstaller that does not fundamentally offload Oracle, leaving a hidden danger for the next installation?
That is the direct registry cleanup, the steps are as follows:

1, start-up settings, Control Panel, management tools, services
Stop all Oracle Services.

2, start and procedure->oracle-orahome81->oracle installation Products->universal Installer
Then click Uninstall Product, then click Expand All, uninstall all apps except the home directory, then click Show Empty directory and delete the home directory.
Uninstall all Oracle products, but universal installer cannot be deleted by itself

5. Run regedit, select Hkey_local_machine\software\oracle, and press Del to delete this entry.

6. Run regedit, select HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services, scroll
This list, delete all Oracle portals.

7, running RefEdit,
Hkey_local_machine\system\currentcontrolset\services\eventlog\application,
Delete all Oracle portals.

8, start-to-set, control Panel, System--Advanced environment variables
Delete environment variables classpath and path for Oracle settings

9. Remove all Oracle-related groups and icons from the desktop, Startup group, program menu

10. Delete \program Files\oracle Directory

11. Restart the computer to completely remove the Oracle directory after restarting

12. Delete the Oracle-related files, select the default directory where Oracle is located C:\Oracle, delete this entry
Directory and all subdirectories, and remove oralce files from the WINDOWS directory (typically C:\WINDOWS), and so on.

13, WIN. INI file if there is a [ORACLE] tag segment, delete the segment

14. If necessary, delete all Oracle-related ODBC DSN

15. To the Event Viewer, delete the Oracle-related logs

Description
If there are cases where individual DLL files cannot be deleted, do not bother, restart, start a new installation,
When installing, select a new directory, then, after installation and restart, the old directory and files can be deleted

Win10 oracle11g completely removed

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.