title: Win 10 Postgresql 11 database cluster initialisation failed
body: <p>i got a new laptop from Dell(XPS 15), with Windows 10 Pro.
  I have always the same issue During installation of postgres "Problem running post-install step. Installation may not complete correctly. The Database cluster initialisation failed." .</p>
  
  <p>i tried a lot of solutions of past threads:
  Install postgres not into progam files
  create a user named postgres with full access to postgress directory, explained here <a href="https://www.youtube.com/watch?v=pS_zWDDDSe0" rel="noreferrer">https://www.youtube.com/watch?v=pS_zWDDDSe0</a>
  Checked for new win-updates
  Turned off Firewall and Antivirus of Windows.</p>
  
  <blockquote>
    <p>Error running cscript //NoLogo "C:\develop\postgres/installer/server/initcluster.vbs" "NT AUTHORITY\NetworkService" "postgres" "****" "C:\develop\postgres" "C:\develop\postgres\data" 5432 "DEFAULT" 0: Program ended with an error exit code
    Problem running post-install step. Installation may not complete correctly
     The database cluster initialisation failed.
    [14:03:49] Delete the temporary scripts directory...
    Creating menu shortcuts...
    Executing cscript //NoLogo "C:\develop\postgres\installer\server\createshortcuts_clt.vbs" "PostgreSQL 11" "C:\develop\postgres"
    Script exit code: 0</p>
  </blockquote>
  
  <p>EDIT ERROR LOG</p>
  
  <pre><code>Executing batch file 'radAD31B.bat'...
  The program "postgres" was found by "C:/develop/postgres/bin/initdb.exe" but was not the same version as initdb.
  </code></pre>