Overview:
The following message occurs while installing PostgreSQL:
User 'postgres'could not be created: Access Denied.
Three Solutions:
- This can be caused by UAC being ON in Windows 7 and Vista.
- Run the attached .bat file to remove the PostgreSQL User name and reinstall PostgreSQL. .Bat File
- When installing PostgreSQL for a second time, change the user postgres to "postgres1" and continue the installation.