Postgres Installation Errors on VM Windows Server 2016 or Windows 10 in azure VM

Irakli Lomidze 96 Reputation points
2020-03-24T17:03:30.967+00:00

Install postgres12 on Azure VM Windows 10 or Windows 12 ends up with error
"Problem running post-install step. Installation may not complete correctly"

In Log
Failed to reset the ACL (C:\Program Files\edb\as12\data)
In Error Dialog
"Problem running post-install step. Installation may not complete correctly"

Additional Information I have install on perm without problem, I think there is a access issue on NT NETWORK SERVICE account

I tried it in clean VM result are same.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,875 questions
0 comments No comments
{count} votes

Accepted answer
  1. Irakli Lomidze 96 Reputation points
    2020-03-28T14:59:08.497+00:00

    Finally I've identified the problem.
    this is problem in PostgreSQL Installer,
    Problem account name from you are installing is contains space.

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. jakaruna-MSFT 601 Reputation points Microsoft Employee
    2020-03-27T07:28:46.807+00:00

    Can you add postgres user as a admin and try again?

    or run the installation in Admin command prompt and let mw know


  2. Irakli Lomidze 96 Reputation points
    2020-03-27T07:50:00.93+00:00

    I tried, results are same.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.