I've just installed PostgreSQL 9.6 on Windows 7. I had to choose a password for the default user "postgres" during the install process.
Running pgAdmin4 after the install, I typed in my password for "postgres" and it was saved as expected.
But with the command line, the default user doesn't seem to be "postgres" but my Windows session user name, for which I don't have a PostgreSQL password (my Windows password doesn't work there). I can login with psql -U postgres, but how can I change the default user to be postgres?