I was able to fix (or patch) the problem by copying files.
Searched for pg_restore.exe
pg_restore.exefrom folder 'C:\Program Files\PostgreSQL\13'C:\Program Files\PostgreSQL\13\. I found the file in 'C:\Program Files\PostgreSQL\13\bin'C:\Program Files\PostgreSQL\13\bin.Then I copied all the files from 'C:\Program Files\PostgreSQL\13\bin'
C:\Program Files\PostgreSQL\13\binfolder to 'C:\Program Files\PostgreSQL\13\pgAdmin 4\runtime'C:\Program Files\PostgreSQL\13\pgAdmin 4\runtimewhere the error message says file is missing. Note: After installation, there was no runtime folder. I had to create it. The error went away and restore seems to work. I am not sure this is the right solution, but for now, it works.
The error went away and restore seems to work. I am not sure this is the right solution, but for now, it works.