I have a service does not start PostgreSQL. To view the error log, you can use the command (not to run out of the administrator):
C:\Program Files\PostgreSQL\9.3\bin>runas /user:postgres "C:\Program Files\PostgreSQL\9.3\bin\postgres -D "C:\Program Files\PostgreSQL\9.3\data""
However, after entering this command error appears:
RUNAS [ [/noprofile | /profile] [/env] [/savecred | /netonly] ]
/user:<username> <program>
RUNAS [ [/noprofile | /profile] [/env] [/savecred] ]
/smartcard [/user:<username>] <program>
RUNAS /trustlevel:<trustlevel> <program>
/noprofile <...>
/profile <...>
<...>
Can you please tell how to write this command?