title: Postgres install via Octopus error: No mapping between account names and security IDs was done
body: <p>I am attempting to install postgres sql (v11) via an octopus tentacle but keep running into an error (same on any machine I attempt). Replaced the system name with 'computer' to post. </p>
  
  <p>If I run the same installer by hand its fine and I can also run the installer via powershell using the same script we use in octopus to launch the installer (and with same params) so it's obvious there is something going on between the tentacle service user and how the installer is try to setup something but that's as far as I have been able to take the issue.</p>
  
  <p>From bitrock_installer.log
  Executing icacls "C:\Windows\Temp/postgresql_installer_7dae697831" /T /Q /grant "WORKGROUP\computer$:(OI)(CI)F"
  Script exit code: 1332</p>
  
  <p>Script output:
   Successfully processed 0 files; Failed processing 1 files</p>
  
  <p>Script stderr:
   WORKGROUP\computer$: No mapping between account names and security IDs was done.</p>
  
  <p>Error running icacls "C:\Windows\Temp/postgresql_installer_7dae697831" /T /Q /grant "WORKGROUP\computer$:(OI)(CI)F": WORKGROUP\computer$: No mapping between account names and security IDs was done.
  Error running icacls "C:\Windows\Temp/postgresql_installer_7dae697831" /T /Q /grant "WORKGROUP\computer$:(OI)(CI)F": WORKGROUP\computer$: No mapping between account names and security IDs was done.
  Exiting with code 1</p>
  
  <p>Looks like a similar issue in this thread 
  <a href="https://stackoverflow.com/questions/59226683/invoke-azvmruncommand-and-start-process-under-specific-user-on-remote-vm-using-a">Invoke-AzVMRunCommand and Start-Process under specific user on remote VM using Azure Runbook</a></p>