Oracle completely uninstall Manual

When you uninstall SQL Server, Oracle, etc. RDMBS, uninstall is not clean, it will not cause problems to re-install. The fundamental research is the legacy of too many registry entries, local files, even hidden files. Article based on personal experience, a little searching finishing some steps cleanly uninstall Oracle, for your reference.

surroundings:

  • Oracle 11g 11.2.0.40
  • Windwos 7

First, uninstall Oracle

1, the start - "Control Panel -" Administrative Tools - "Service: Stop all Oracle-related services
快捷键:win+r-》services.msc

2. Start - "Programs -" Oracle- "Oracle Installation Products-" Universal Installer: start uninstalling Oracle, in addition to unloading 11g_home1all products outside the
Here Insert Picture Description
Here Insert Picture Description
Here Insert Picture Description
Here Insert Picture Description

Second, clean up registry entries

1. Registry Cleaner related items

快捷键 win+r-》regedit

  • HKEY_LOCAL_MACHINE \ SOFTWARE \ ORACLE remove this directory and all of the following sub-items
    Here Insert Picture Description
  • HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services, delete all Oracle directory entry or the beginning of OraWeb
    Here Insert Picture Description
  • HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ Eventlog \ Application, delete the directory and all child entries that begin with Oracle
    Here Insert Picture Description
  • HKEY_CLASSES_ROOT delete all directory and all child Ora, Oracle, Orcl, EnumOra prefix
    Here Insert Picture Description
    Here Insert Picture Description
  • HKEY_CURRENT_USER \ SoftWare \ Microsoft \ Windows \ CurrentVersion \ Explorer \ MenuOrder \ Start Menu \ Programs, Oracle prefix all directories and sub-items
  • HKEY_LOCAL_MACHINE \ SOFTWARE \ ODBC \ ODBCINST.INI Microsoft ODBC for Oracle, in addition to all the Oracle-related directory and its children

2. Clear Environment Variables

My Computer -> Properties - "Advanced -" Environment Variables, delete the Path, ClassPath in Oracle-related environment variables

Here Insert Picture Description

3. Start menu, clear the Oracle directory

4. disk delete Oracle-related directory (do not have access, is locked, and so on, can be released files occupy restart the computer, you can delete)
Here Insert Picture Description
Here Insert Picture Description
Here Insert Picture Description

  • C:\Program file\Oracle
  • Oracle base directory (the directory)
  • C:\Windows\system32\config\systemprofile\Oracle
  • C:\Users\Administrator\Oracle
  • C: \ windows 下 ORACLE.INI, ORADIM73.INI, ORADIM80.INI, ORAODBC.INI 等
  • Event Viewer, delete Oracle-related log
    快捷键 win+r-》eventvwr

These are the steps to uninstall Oracle summary, we want to help.

Published 135 original articles · 98 won praise · Views 200,000 +

Guess you like

Origin blog.csdn.net/qq_35206244/article/details/103282441