Having trouble Cooking a project on a locked down machine

Where i work at present the machines have a locked down configuration, with the build process the UAT is starting the cook but failing when trying to access the program files directory for the log files.

What I would like to know is if there is a way to change the paths of those values to another directory so that we can maintain the security process on the machines.

I can see in the cook logs that there is a section where the UAt sets a lot of environment variables, these variables are storing the paths we need to change. But I can not find in the settings where these can be changed.

This is the log file in question,
\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.0\Log.txt

and the section that refers to the env variables is as follows.

Setting up command environment.
SafeFileExists C:\Program Files\Epic Games\UE_5.0\Engine\Binaries\DotNET\AutomationTool\AutomationTool.exe=True
SafeFileExists C:\Program Files\Epic Games\UE_5.0\Engine\Binaries\DotNET\AutomationTool\AutomationTool.exe=True
GetEnvironmentVariable uebp_LOCAL_ROOT=
GetEnvironmentVariable uebp_LOCAL_ROOT=
GetEnvironmentVariable uebp_EngineSavedFolder=
SetEnvVar uebp_EngineSavedFolder=C:/Program Files/Epic Games/UE_5.0/Engine/Programs/AutomationTool/Saved
GetEnvironmentVariable uebp_EngineSavedFolder=C:/Program Files/Epic Games/UE_5.0/Engine/Programs/AutomationTool/Saved
GetEnvironmentVariable uebp_CSVFile=
GetEnvironmentVariable uebp_LogFolder=
GetEnvironmentVariable uebp_LOCAL_ROOT=C:/Program Files/Epic Games/UE_5.0
SetEnvVar uebp_LogFolder=C:/Users//AppData/Roaming/Unreal Engine/AutomationTool/Logs/C+Program+Files+Epic+Games+UE_5.0
SafeDeleteFile C:\Users<User>\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.0\Log.txt
GetEnvironmentVariable uebp_FinalLogFolder=
SetEnvVar uebp_FinalLogFolder=C:/Users//AppData/Roaming/Unreal Engine/AutomationTool/Logs/C+Program+Files+Epic+Games+UE_5.0
SafeFileExists C:\windows\system32\robocopy.exe=True
SafeFileExists C:\windows\system32\mount.exe=False
SafeFileExists C:\windows\Sysnative\mount.exe=False
SafeFileExists C:\windows\system32\cmd.exe=True
SetEnvVar MallocNanoZone=0
GetEnvironmentVariable uebp_UATChildInstance=0