Manually delete PGSQL service

Stop service.png

  1. Go to Computer Management by e.g. in Windows Explorer right-click on Computer and choose Manage.
  2. Find PGSQL in the Services list, right-click and choose Stop.
  3. Start the Command window / DOS prompt by e.g. search for cmd, right-click and choose Run as administrator.

    Manually delete service.png



  4. Type sc delete PGSQL and press Enter.
    It is of course possible to copy the text from here and paste it into the Command window by the right-click menu.
  5. If there where no error messages, type Exit and press Enter.
    If there were error messages, one reason might be that the user does not have permission to delete services or you did not start the Command window as administrator.
  6. DO NOT RE-INSTALL THE SERVICE UNTIL YOU HAVE RESTARTED THE COMPUTER.
  7. Restart the computer (mandatory).
  8. Verify that the PGSQL service is deleted.
  9. If required, you now may re-install the PGSQL service.