Full PostgresSQL Cleanup
Uninstalling PostgreSQL and/or PK Protect does not automatically remove the PostgreSQL superuser (postgres) from the machine.
If the PostgreSQL superuser is present, you have two options:
Continue using the existing superuser. When you configure the PostgreSQL server during the PK Protect installation process, use the existing password.
Remove the superuser and start fresh. To remove the superuser, delete the associated Windows service account.
For details, see below.
To view the PostgreSQL Windows service account
Click Start > Control Panel > Administrative Tools > Computer Management. The Computer Management dialog box is displayed.
In the left panel of the Computer Management dialog box, expand Local Users and Groups.
In the left panel, click Users. A list of Windows accounts is displayed in the right panel. If user exists, the postgres user will be listed.
To change the password of the PostgreSQL Windows service
Right-click Postgres and choose Set Password from the context menu.
In the pop-up message that is displayed, click Proceed.
Supply the new password and click OK.
To remove the PostgreSQL Windows service account
Right-click Postgres and choose Delete from the context menu.
In the pop-up message that is displayed, click Yes.