I no longer use Postgres for EventSentry. How do I remove the Postgres driver from my computers?

Article ID: 270
Category: Scripts
Applies to: 2.93 and up
Updated: 2018-11-08

Removing or uninstalling the Postgres driver should only be done if you have no other applications that use Postgres on your computers. If you are certain that no other applications use Postgres, you can uninstall the Postgres drivers manually by going to Program and Features in the windows control panel, and choosing Uninstall for the "psqlODBC" entries. You can also uninstall the Postgres drivers with a script.

Scripts For 32-bit computers:
You can save the following command as a batch file (.bat extension) and run it as an administrator, either manually or with the application deployment software of your choice:
msiexec /uninstall C:\Windows\System32\EventSentry\psqlodbc_09-02-0100.msi

Or, you can use PsExec (https://technet.microsoft.com/en-us/sysinternals/bb897553) to run these commands from an administrator-level command prompt :
psexec -h \RemoteComputerName.Domain.Suffix -u "Domain\UserWithAdminRightsOnMachines" -p "password" cmd /c "msiexec /uninstall C:\Windows\System32\EventSentry\psqlodbc_0902-0100.msi /qb"

Scripts For 64-bit computers:
You can save the following command as a batch file (.bat extension) and run it as an administrator, either manually or with the application deployment method of your choice:
msiexec /uninstall C:\Windows\SysWOW64\EventSentry\psqlodbc_09-02-0100.msi

Or, you can use PsExec (https://technet.microsoft.com/en-us/sysinternals/bb897553) to run these commands from an administrator-level command prompt :
psexec -h \RemoteComputerName.Domain.Suffix -u "Domain\UserWithAdminRightsOnMachines" -p "password" cmd /c "msiexec /uninstall C:\Windows\SysWOW64\EventSentry\psqlodbc_0902-0100.msi /qb"



Try EventSentry on-premise

FREE 30-day evaluation

Download Now