Install PostgreSQL on Broken Windows

     

Yesterday, I was stressed upon installing PostgreSQL server

0x80070424 The specified service does not exists as installed service

Then the solution is just… extract the installed version. Then run these commands:

pg_ctl register -D D:\pgdata -N postgresql -U postgres -P postgres

Voila… postgresql installed magically without error