Manually delete PGSQL service

From IMSMA Wiki
Revision as of 19:49, 19 March 2015 by Alnaucler (talk | contribs)
Jump to: navigation, search

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

  1. Type sc delete PGSQL" and press Enter.
    It is of cause possible to copy the text from here and paste it into the Command window by the right-click menu.
  2. 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.
  3. DO NOT RE-INSTALL THE SERVICE UNTIL YOU HAVE RESTARTED THE COMPUTER
  4. Restart the computer (mandatory).
  5. Verify that the PGSQL service is deleted.
  6. Now you may re-install the PGSQL service