Problem: An error occurred while installing Postgres SQL.
Error: While installing Postgres, problem running post-install step PostgreSQL windows 10, cluster initialization failed
Solution:
Control Panel -> System -> Advanced System Settings -> Advanced -> Environment Variables
Under "System variable" find and select "Path"
Click "Edit..."
Append system32 path to PATH variable (Example ";C:\Windows\system32")