Original article address:Solution to the failure to delete the OCI. dll file
Author:Breeze and quicksand
Symptom: When the Oracle database is not successfully installed or the Oracle installation folder is deleted successfully, when C prompts that the Oracle Installation Folder cannot be deleted or re-installed, the OCI. dll file cannot be written.
Solution:
1. Start-> Run-> "cmd"-> "net stop MSDTC" to stop the MSDTC transaction management service.
2. Delete the installation directory that failed previously,
3. Run: Net start MSDTC to open the service.
The displayed MSDTC Service name is "Distributed Transaction Coordinator", which is "Coordinating transactions across multiple databases, message queues, file systems, and other resource managers. If you stop this service, these transactions will not occur. If this service is disabled, other services explicitly dependent on this service cannot be started ."