User postgres already exists error message
PostgreSQL Un-Installer does not remove
the user account it creates. This causes no end of problems
reinstalling the software. The PostgreSQL project will fix this
problem eventually. In the mean time there is a work around.
On Windows XP you can remove the user
by typing following command at the command prompt:
net
user /delete postgres
Enter the
command as shown and hit "Enter" key. If the prompt
returns:
"Command completed successfully"
the user has been deleted. Else check your spelling of the command.
If it returns "User postgres was not found" this means that
the user is not on the system.
NOTE 1:
Seems that you are reinstalling the
software, you also want to make sure that the directory
C:\Nautilus\rdbms is no longer exists before you run the installer
again.
NOTE 2:
On Windows Vista the deleting users is
blocked by the User Account Control or UAC. You must disable the UAC
before you run the command to remove user postges.
To disable UAC on Vista do the
following:
1) Start page 2) Control panel 3)
User accounts and Family Safety 4) Under user accounts, select add
or remove user accounts 5) Bottom of page, select "Go to the
Main User Accounts page" 6) Select the "Turn User
Account Control on or off" 7) Un-check the "Use User
Account Control to help protect your computer" 8) Restart
computer. When computer starts back up, fire up the command prompt window and ran the command net
user /delete postgres Uninstall Nautilus and delete C:\Nautilus directory before reinstalling the software
|