The latest and most comprehensive Oracle11G complete uninstallation steps

1. Shut down all oracle services. It can be closed in the Windows Service Manager

2. Start -> Programs -> Oracle_OraDB11g_Home1 -> Oracle Installation Products -> Universal Installer, click "Uninstall Products"-"Expand All", select all directories except "OraDb11g_home1" and delete

3. Delete the oracle information in the registry; start->run->regedit

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
delete the services beginning with oracle under the above paths

4. In the registry, find the following path

HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE
deletes the oracle directory, under which the software installation information of the Oracle database is registered.

5. Delete all keys prefixed with Ora, Oracle, Orcl or EnumOra in the HKEY_CLASSES_ROOT directory

6. Delete all keys beginning with oracle in HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\StartMenu\Programs

7. Delete all keys containing Oracle in HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI except for the MicrosoftODBC for Oracle registry key

8. Delete the registered oracle event log HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application delete all items in the registry beginning with oracle

9. My computer -> Properties -> Advanced -> Environment variables, delete the environment variables CLASSPATH and Oracle settings in PATH (Note: Path records a bunch of operating system directories, separated by semicolons (;) between each directory in windows, pay attention when deleting.)

10. Restart the operating system, At this time, Oracle related processes will not be loaded, delete all the following Oracle directories

  1. Delete all data under Oracle_Home (oracle installation directory)
  2. C:\Program files\Oracle directory (this directory depends on the path where Oracle is installed, it may also be Program files X86)
  3. C:\Users\Administrator\Oracle或C:\Documentsand Settings\Administrator\Oracle目录
  4. C:\WINDOWS\system32\config\systemprofile\Oracle目录
  5. Delete the following files ORACLE.INI, oradim73.INI, oradim80.INI, oraodbc.ini under C:\WINDOWS
  6. If there is a marked segment of [ORACLE] in the WIN.INI file under C:\WINDOWS, delete the segment
  7. Delete the oracle item under the start menu
  8. If necessary, delete all Oracle-related ODBC DSNs
  9. Go to the Event Viewer and delete the Oracle-related logs. Description: If there is a situation where individual DLL files cannot be deleted, just ignore it

At this point, Oracle has been completely uninstalled under the Windows platform

Guess you like

Origin blog.csdn.net/UCB001/article/details/101382458