I actually solved the problem by changing the pgpass.conf in the path:
postgres\AppData\Roaming\postgresql
to
localhost:5432:*:postgres:xxx
Before I was trying to change the wrong pgpass.conf which is in the path:
pcUser\AppData\Roaming\postgresql
I hope, it helps someone else