Runtime Error 1721 During Installation of Postgresql
The situation: When installing postgresql from a remote connection the customer receives a run time error 1721.
How to resolve it: The PostgreSQL backend won’t run from a TS session, and in order to do initdb the installer has to start a standalone back-end. Therefore, installation has to be performed from the console.
Note that if you are using Windows Server 2003 or Windows XP, you can get remote access to the actual console and not just an administrative session. To do this, start the Remote Desktop Connection by executing mstsc /console, and then connect as usual. This will lock the local console of the server and give you control over that session.In this scenario, PostgreSQL should install just fine.