Quantcast
Channel: Webkul Blog
Viewing all articles
Browse latest Browse all 5488

PostgreSQL Windows Installation Problem running post-install step. Installation may not complete correctly.

$
0
0

Yesterday, when I install PostgreSQL on Windows 7, it always report the following error:

Problem running the post-install step. Installation may not complete correctly.

… when the installation progress bar reached the end.

After doing a bit searching, I found the solution.

Solution:

  1. Uninstall PostgreSQL
  2. Run command: net user postgres /delete
  3. Click: Control Panel -> User Accounts -> Configure advanced user profile properties -> delete all “Unknown User” instances that seem to be left from PostgreSQL installation.
  4. Run command: net user postgres dbpass /add
  5. Run: compmgmt.msc -> Click Local Users and Groups -> Users -> postgres ->Member of -> Add… -> Administrators -> OK
  6. Run: runas /user:postgres cmd.exe -> cd \ -> postgresql-8.4.9-1-windows.exe -> installed successfully without errors. Checked data folder and confirmed files created successfully.
  7. Run: compmgmt.msc -> Local Users and Groups -> Users -> postgres -> Member of -> Administrators -> Remove
  8. Run: compmgmt.msc -> Local Users and Groups -> Users -> postgres -> Member of -> Add… -> Power Users -> OK

Installation completed successfully! Enjoy

 

Your opinions, comments and suggestions are important to keep the page updated and interesting. 

Facebook Twitter Email Reddit Stumbleupon

Viewing all articles
Browse latest Browse all 5488

Trending Articles