How clean and thorough uninstall Oracle on Windows

Source: Internet
Author: User

1. Turn off all Oracle services. Can be turned off in the Windows Service Manager;
2. Open the registry: Regedit Open path:
Hkey_local_machine\system\currentcontrolset\services\
Remove all service names starting with Oracle under this path, which is a variety of services that identify Oracle's registration under Windows!

3. Open the registry and locate the path:
Hkey_local_machine\software\oracle
Delete the Oracle directory under which the Software installation information for the Oracle database is registered.

4. Delete the registered Oracle Event log and open the registry
Hkey_local_machine\system\currentcontrolset\services\eventlog\application
Delete all entries in the registry that begin with Oracle.

5. Delete the environment variables for Oracle content in path.
Right-click My Computer--Properties--advanced--environment variable-->path variable.
Delete the contents of Oracle in this value. Note: A directory of operating systems is recorded in path, separated by semicolons (;) between directories in Windows, and noted when deleted.
Recommendation: When deleting the value of Oracle in the PATH environment variable, copy the value to a text editor, find the corresponding Oracle value, delete it, then copy the modified string and paste it into the PATH environment variable, which is relatively safe.

6. Restart the operating system.
After the above steps have been completed, restart the operating system.

7. The various Oracle-related processes are not loaded after restarting the operating system. All data under Oracle_home is deleted. (Oracle_home refers to the installation directory of the Oracle program)

8. Delete the Oracle directory under C:\Program files.
(This directory depends on the path where the Oracle installation is located)

9. Delete the Oracle item under the Start menu, such as:
C:\Documents and Settings\All users\"Start menu \ Program \oracle-ora10g
Different installations of this directory are slightly different.
If you do not delete the Oracle-related menu directory under the Start menu, this does not affect the installation of Oracle again. When you install Oracle again, the menu is replaced.

At this point, Oracle is completely uninstalled under the Windows platform.

How clean and thorough uninstall Oracle on Windows

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.