skip to Main Content

I’m encountering an issue while trying to install PostgreSQL on my Windows 11 machine. During the installation process, I received an error message stating "Access is denied." Below is a screenshot of the error:

There has been an error.

Error running C:WINDOWSSystem32icacls "C:UserstanmaAppDataLocalTemppostgresql_installer_a369da0643" /T /Q /grant "tanmay:(OI)(CI)F": C:UserstanmaAppDataLocalTemppostgresql_installer_a369da0643*: Access is denied.

I’ve tried the following solutions but the issue persists:

Running the installer as an administrator.
Checking the permissions of the Temp directory.
Disabling my antivirus software.

enter image description here

2

Answers


  1. I also encountered the same issue. What i did was log out of my microsoft account and log in as local account in my computer. Make sure to log in as admin. Try installing it again

    Login or Signup to reply.
  2. I’m facing the same problem on my win11 machine…

    Unfortunately, the thread Laurenz Albe sent did help a bit (seriously, too much mumble jumble without any guides on how to actually solve it).

    hope that some could find an answer

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search