- 1 year ago
How to remove an ODBC driver/connector that was registered with odbcconf.exe
To remove an ODBC driver or connector that was registered with odbcconf.exe
on Windows, you can use the same command-line tool with the appropriate parameters. Follow these steps:
Open Command Prompt: Launch Command Prompt with administrative privileges. Right-click on the Command Prompt icon and select "Run as administrator."
List the Installed Drivers: Run the following command to list the installed ODBC drivers and connectors:
bashodbcconf.exe /a {o}
This command will display a list of the installed ODBC drivers and connectors along with their registered names.
Unregister the Driver: Identify the registered name of the driver or connector you want to remove from the list generated in the previous step. Run the following command to unregister the driver:
bashodbcconf.exe /a {u} /s DriverName
Replace "DriverName" with the actual registered name of the driver or connector you want to remove. For example:
bashodbcconf.exe /a {u} /s MySQL ODBC 8.0 ANSI Driver
This command will unregister and remove the specified driver or connector from the system.
Confirm Removal: To verify that the driver has been successfully removed, you can rerun the command to list the installed drivers:
bashodbcconf.exe /a {o}
The removed driver should no longer appear in the list.
By following these steps, you can remove an ODBC driver or connector that was registered using odbcconf.exe
on Windows. Make sure to use the correct registered name of the driver or connector to ensure successful removal.