> This causes Apache to run under SYSTEM account .
>
> Trying to use same approach with Postgres fails. Postgres
> requires special user account and is not capable to create
> this account without user intervention.
Sure, it's very much capable of diong that. See
http://pginstaller.projects.postgresql.org/silent.html, specifically
look for SERVICEACCOUNT, SERVICEPASSWORD and CREATESERVICEUSER.
> How to force Postgres to install itself as service running
> under SYSTEM or under LOCAL SERVICE account?
Can't do that with stock postgresql, you'll need to hack up your own
version.
//Magnus