Reputation: 172
I'm trying to install PostgreSQL 10 on windows 10. The Postgres installation tutorial tells me to create a new Windows 10 administrator named postgres.
this is the procedure:
But, at point 2, when I try to create a user named postgres, Windows does not accept the user name postgres, does someone knows the solution?
thank you.
Upvotes: 1
Views: 4566
Reputation: 172
after some research, i found that i have already a user called postgres in the system as a host, but i cannot SEE it from windows parameters.
I can see it in the cmd using net user
, but when I try to delete it, windows tells me I have not the authorisation.
So, i went to Control Panel > System. > Advanced system settings Click the Settings button under the User Profiles sub-section
from here I thought I could delete this user.
But, when I try again to create it, I still can not! net user
still shows me this user "postgres"
in the end, I found I had to use the windows PowerShell admin command prompt which is different from the classic command prompt, and from there, it worked!
I used the command net user postgres /delete
and this user has been deleted.
now I can reinstall postgresql!
Upvotes: 2