I got the same error after uninstalling some Microsoft visual C++ redistributables. Installing another version of pgadmin will fix it, but it will just because the installation includes the missing redistributable.