Re: Can't install Postgres version 18

Adrian Klaver <adrian.klaver@aklaver.com>

From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Nicolai <nm280192@gmail.com>
Cc: pgsql-general@postgresql.org
Date: 2026-06-12T21:14:47Z
Lists: pgsql-general
On 6/12/26 9:59 AM, Nicolai wrote:
> Hi
> 
> I did not use the edb to remove it, I used the installer file and then select remove. After that I delete the whole folder under c:/program file. Then a restart of the pc.
> 
> I have tried repair many times

Starting fresh(no Postgres install) on a Windows 10 machine I did:

1) Download EDB installer for Postgres 18.4.

2) Ran installer.

3) Verified server was running via pgAdmin4.

4) To uninstall followed instructions from here:

https://www.enterprisedb.com/docs/supported-open-source/postgresql/uninstalling/

5) Ran installer again and verified server was running.

Not sure what the issue is you are having, though I suspect an 
incomplete install that has has left stuff behind in the Registry.

I would suggest raising an issue an here:

https://github.com/EnterpriseDB/edb-installers/issues


 From your original post:

'... remove all of the DB's I have made'

Unless this was some very large number I would think it would be easier 
to just DROP DATABASE each one, then going through an uninstall/install 
cycle.

> 
> 
> Hilsen
> 
> Nicolai Friis
> 

-- 
Adrian Klaver
adrian.klaver@aklaver.com