title: The postgresql-x64-9.6 service on local computer started and then stopped. Some services stop automatically if they are not in use
body: <p>Postgresql service not starting in services.msc. it is showing below message while starting PostgreSQL service in Window server 2008 R2.</p>
  
  <p>" The postgresql-x64-9.6 service on local computer started and then stopped. Some services stop automatically if they are not in use by other services or programs."</p>
  
  <p><img src="https://i.stack.imgur.com/kdsdw.png" alt="image"></p>