The following documentation comment has been logged on the website: Page: https://www.postgresql.org/docs/11/pgupgrade.html Description:
"For Windows users, you must be logged into an administrative account, and then start a shell as the postgres user and set the proper path: RUNAS /USER:postgres "CMD.EXE" SET PATH=%PATH%;C:\Program Files\PostgreSQL\11\bin; " Recent versions of PostgreSQL do not run under a Windows user called "postgres", but under the Network Service. This command therefore fails and it is not clear how to progress.