Hello Sandeep,
here is the output:
C:\WINDOWS\system32>whoami
nt-autorität\system
C:\WINDOWS\system32>icacls %TEMP%
C:\WINDOWS\TEMP VORDEFINIERT\Benutzer:(CI)(S,WD,AD,X)
VORDEFINIERT\Administratoren:(F)
VORDEFINIERT\Administratoren:(OI)(CI)(IO)(F)
NT-AUTORITÄT\SYSTEM:(F)
NT-AUTORITÄT\SYSTEM:(OI)(CI)(IO)(F)
ERSTELLER-BESITZER:(OI)(CI)(IO)(F)
Harald
Von: Sandeep Thakkar <sandeep.thakkar@enterprisedb.com>
Gesendet: Montag, 8. Juli 2024 13:35
An: Munsch, Harald (IT.NRW) <Harald.Munsch@it.nrw.de>
Cc: pgsql-bugs@lists.postgresql.org; Siepmann, Claudia (IT.NRW) <Claudia.Siepmann@it.nrw.de>
Betreff: Re: Error when installing PostgreSQL 16.3.2 under system context NT AUTHORITY\SYSTEM
Hi Harald,
Could you execute these commands and share the output in the SYSTEM-context?
whoami
icacls %TEMP%
Hello,
when installing PostgreSQL version 16.3.2 on a windows 10 client with the setup: „postgresql-16.3-2-windows-x64.exe“ via SCCM, i.e. in SYSTEM-context, the installation failes with following error-message:
(The error occures directly after starting the installation.)
„There has been an error. Unable to write inside TEMP environment path“
Even though the system-account has full permissions to this path.
An Installation with an Administrative account (not NT AUTHORITY\SYSTEM ) on the same client runs succesfully.
We want to deploy the software with SCCM, therefore, we need to use the SYSTEM-account.
Can you please provide us with a setup that works in SYSTEM-context ?
![](/media/maillist_attaches/pgsql-bugs/2024/07/8/0a99d32a58b743358b5ec3c6e790ac83@it.nrw.de/image001.png)
![](/media/maillist_attaches/pgsql-bugs/2024/07/8/0a99d32a58b743358b5ec3c6e790ac83@it.nrw.de/image002.png)
Thank you for your support.
Kind regards
Mit freundlichen Grüßen
Harald Munsch
--
Information und Technik
Nordrhein-Westfalen (IT.NRW)
mailto:harald.munsch@it.nrw.de
--