Thread: Problem with postgres installation
I am trying to use the Windows installer for postgtes-8.0.3, for Windows XP SP 2. I had installed and de-installed it previously. The install fails, because the postgres user is defined on the system, and I do not know the password. The postgres user is not visible on the Windows User Accounts panel, so I cannot delete it that way. How can I get rid of the user so I can reinstall postgres? Thank you for any assistance. -- Jim McMaster mailto:jim.mcmaster@comcast.net
> -----Original Message----- > From: pgsql-general-owner@postgresql.org > [mailto:pgsql-general-owner@postgresql.org] On Behalf Of Jim McMaster > Sent: 17 February 2006 02:32 > To: pgsql-general@postgresql.org > Subject: [GENERAL] Problem with postgres installation > > I am trying to use the Windows installer for postgtes-8.0.3, > for Windows XP > SP 2. I had installed and de-installed it previously. The > install fails, > because the postgres user is defined on the system, and I do > not know the > password. > > The postgres user is not visible on the Windows User Accounts > panel, so I > cannot delete it that way. How can I get rid of the user so > I can reinstall > postgres? From a command prompt: net user <username> /delete Regards, Dave
On Friday, February 17, 2006 12:50 AM, Richard Huxton <mailto:dev@archonet.com> wrote: > Jim McMaster wrote: >> I am trying to use the Windows installer for postgtes-8.0.3, for >> Windows XP SP 2. I had installed and de-installed it previously. >> The install fails, because the postgres user is defined on the >> system, and I do not know the password. >> >> The postgres user is not visible on the Windows User Accounts panel, >> so I cannot delete it that way. How can I get rid of the user so I >> can reinstall postgres? > > From the command-prompt the "net user" command should let > you reset the > password/delete the user (you'll need to log in as an > administrator to > do so). A bit of googling should find some step-by-step instructions. Thank you. That was the solution. -- Jim McMaster mailto:jim.mcmaster@gmail.com