Re: Can't install Postgres version 18

Nicolai <nm280192@gmail.com>

From: Nicolai <nm280192@gmail.com>
To: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: pgsql-general@postgresql.org
Date: 2026-06-12T16:59:50Z
Lists: pgsql-general
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


Hilsen

Nicolai Friis

> Den 12. jun. 2026 kl. 16.27 skrev Adrian Klaver <adrian.klaver@aklaver.com>:
> 
> On 6/12/26 5:07 AM, Nicolai Madsen wrote:
>> Hi
>> I had installed Postgres version 18 earlier on my PC, but I want to start over, and remove all of the DB's I have made. I couldn't figure out how to do that, so I googled and was told that I should uninstall postgres, stop the service in the task manager, and then delete the folder under C:/Program Files. AFter that I should restart the PC, and everything should be gone, and ready to be reinstalled. I did that, but each time I am trying to reinstall it, then it doesn't make any folders under Program Files, so the service can't be started. It just give me this warning
>> image.png
>> If I try to reinstall it again, it tells me that it is already installed, and asks me if I want to make a change, repair, or uninstallation. I have tried to choose that it should install the docs also, and then it creates the folder under program files, but it only contains the docs nothing else.
>> I have tried to restart the PC, reinstall it and tried google how to solve this but no solution yet.
>> I hope you could guide me the right way.
> 
> 1) Assuming you are using the EDB  installer did you follow the instructions here?:
> 
> https://www.enterprisedb.com/docs/supported-open-source/postgresql/uninstalling/
> 
> 2) Did you try the repair option on the reinstall?
> 
>> --
>> Hilsen
>> Nicolai Friis Madsen
> 
> 
> --
> Adrian Klaver
> adrian.klaver@aklaver.com