Software environment:
1. Windows XP + Oracle 10g
2. Oracle installation path: D:/Oracle
Implementation Method:
1. Choose "start"> "Settings"> "Control Panel"> "Management Tools"> "services" to stop all Oracle services;
2. Start-> Program-> Oracle-oradb10g_home1> Oracle Installation products-> universal installer uninstalls all Oracle products, but the universal installer itself cannot be deleted;
3. Run regedit, select HKEY_LOCAL_MACHINE/software/Oracle, and press del to delete the entry;
4. Run regedit and select HKEY_LOCAL_MACHINE/system/CurrentControlSet/services. Scroll through the list and delete all Oracle entries;
5. Run regedit and select HKEY_LOCAL_MACHINE/system/CurrentControlSet/services/EventLog/application to delete all Oracle entries;
6. Start-> Settings-> Control Panel-> system-> advanced-> environment variables, delete Oracle settings in the environment variables classpath and path. [very important]
7. Delete all groups and icons related to Oracle from the desktop, startup group, and program menu;
8. Delete the C:/program files/Oracle directory;
9. restart the computer to completely delete the Oracle directory;
10. Delete Oracle-related files, select the default Oracle directory c:/Oracle, delete the entry directory and all subdirectories, and run the Windows XP directory (generally D: /Windows. INI, oradim73.ini, oradim80.ini, oraodbc. INI and so on. [You can directly search for files with ora headers in drive C for selective deletion. Remember not to delete all files. Some Oracle-related components may be included in other programs and must be carefully checked]
11. Delete the [Oracle] Mark segment in the win. ini file;
12. If necessary, delete all Oracle-related odbc dsn;
13. Delete Oracle-related logs in Event Viewer. Note: if some DLL files cannot be deleted, ignore them,
Restart and start a new installation. select a new directory during installation. After the installation is completed and restarted, the old directory and files can be deleted.