Ok.. one issue is with the restore_database.bat file, it was written wrong to start off with. Rewrite as follows to get the correct username for the database.
Code:
@echo off
IF "%1" == "" GOTO NOFILE
echo.
echo Attempting to restore SQL dump file: %1
echo.
echo.
echo -----WARNING-----WARNING-----WARNING-----WARNING-----
echo.
echo RESTORING THIS FILE WILL COMPLETELY OVERWRITE ALL EXISTING DATA...
echo.
echo ARE YOU SURE YOU WANT TO DO THIS?
echo.
echo -----WARNING-----WARNING-----WARNING-----WARNING-----
echo.
pause
echo.
echo NO REALLY, ALL EXISTING DATA WILL BE DELETED.
echo.
echo ARE YOU REALLY SURE YOU WANT TO DO THIS?
echo.
pause
"C:/TimeTrex/postgresql\bin\psql.exe" -1 -f "%1" -h localhost -U timetrex -W -p 5433
template1
echo Done.
echo.
GOTO END
:NOFILE
echo.
echo ERROR: Please specify the SQL dump file that you wish to restore.
:END
The original was trying to connect to the wrong username and didn't prompt for password entry. Now just grab the passwords as Shawn mentioned and you should work fine.