Steps for uninstalling an Oracle database

Source: Internet
Author: User

Let's take the Oracle removal clean and prepare for the reload.
1. Delete Service command
The concrete method of operation is: Start--run--cmd, enter cmd command line
Then enter: SC Delete Service name
For example: SC delete serv-u server
Query Service input Command: SC query service Name
For example: SC query ORACLESERVICEORCL
2, delete the Oracle registry information
cmd command line input: regedit
(1) Select Hkey_local_machine\software\oracle, press del key to delete this entry
(2) Select HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services, scroll this list, delete all Oracle portals
(3) Select Hkey_local_machine\system\currentcontrolset\services\eventlog\application and remove all Oracle Portals
(4) Select HKEY_LOCAL_MACHINE\Software, delete Oracle directory
(5) Select Hkey_local_machine\system\controlset001\services, remove all Oracle entries
(6) Select Hkey_local_machine\system\controlset002\services, remove all Oracle entries
(7) Select HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services, remove all Oracle entries
(8) Select HKEY_CLASSES_ROOT, remove all Oracle entries
3, Start-> Settings-> Control Panel-> System-> advanced-> environment variables, delete environment variables classpath and path of Oracle settings
4. Delete C:\Program Files (x86) \oracle directory
5. Restart the computer to completely remove Oracle's directory after reboot


8, Start-> Settings-> Control Panel-> System-> Advanced-> Environment variable
Delete environment variable classpath (if available) and path related to Oracle
9, from desktop, startup (startup) Group, program menu (C:\ Documents and Settings\All users\"Start menu \ Program), delete all Oracle-related groups and icons
10, delete \program Files\oracle Directory
11, restart your computer, When you restart, you can completely remove Oracle's directory
12, delete Oracle-related files, select the default directory C:\Oracle where Oracle resides, delete this entry
Port directory and all subdirectories, and from the Windows 2000 directory (typically C:\ WINNT) is deleted below with the following
Oracle.ini, Oradim73. INI, Oradim80. INI, Oraodbc.ini (XP operating system may not be), and so on.
13, WIN. INI file, delete the paragraph
14 if necessary, delete all Oracle-related ODBC DSN
15, go to Event Viewer, and delete the Oracle-related log

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.