INGEST and BROKER services operate in a non-interactive Windows context and, even when configured with a dedicated service account, they do not share the same execution environment as user sessions.
Modern Windows systems implement Session Isolation, where services execute in a separate runtime context compared to interactive user logins. This separation implies that resources such as mapped network drives are not globally available across execution contexts.
Because of this architecture:
As a consequence, any dependency on mapped drives (e.g. R:\) cannot be considered reliable for service execution.
In contrast, UNC paths (\\server\share) are resolved directly by the operating system network layer and are not tied to any specific session. However, in environments where UNC paths are abstracted into drive letters by the application layer (such as ETERE path translation), a consistent and deterministic drive mapping must still be provided at system level.
To ensure this consistency, the mapping must be:
This is achieved by enforcing a startup procedure that prepares the required network mapping before service execution begins.
INGEST and BROKER services operate in a non-interactive execution model and therefore:
For this reason:
Create a local folder, for example: C:\Scripts
The folder name and location can be changed as required, provided the configuration is consistent.
Inside the folder, create the following file: MapDriveR.bat
The letter “R” can be changed depending on available drive letters.
Edit the .bat file and insert the following script:
@echo off
echo ===== %date% %time% ===== > C:\Scripts\MapDrive.log
whoami >> C:\Scripts\MapDrive.log
echo --- WAIT NET --- >> C:\Scripts\MapDrive.log
:WAITNET
ping -n 1 192.168.131.11 >> C:\Scripts\MapDrive.log 2>&1
if errorlevel 1 (
echo Network not available, waiting... >> C:\Scripts\MapDrive.log
timeout /t 10 /nobreak >> C:\Scripts\MapDrive.log 2>&1
goto WAITNET
)
echo Network available >> C:\Scripts\MapDrive.log
net use R: /delete /y >> C:\Scripts\MapDrive.log 2>&1
net use R: "UNC PATH" /user:DOMAIN\USER PASSWORD /persistent:yes >> C:\Scripts\MapDrive.log 2>&1
echo --- NET USE --- >> C:\Scripts\MapDrive.log
net use >> C:\Scripts\MapDrive.log 2>&1
The script generates a full execution log: C:\Scripts\MapDrive.log
pingnet use in SYSTEM contextWIN + RType: taskschd.msc
Select “Create Task…” (not “Create Basic Task”)
Configure as follows:
MAPDRIVERRUnder Security options:
Enter: SYSTEM
Program/script: C:\Scripts\MapDriveR.bat
Enable:
Save with OK
The scheduled task should follow this structure:
<?xml version="1.0" encoding="UTF-16"?>
<Task version="1.2" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
<RegistrationInfo>
<Date>2026-06-17T09:01:28.8663041</Date>
<Author>DOMAIN\USER</Author>
<Description>Map R drive for SYSTEM</Description>
<URI>\Map Network Drive R</URI>
</RegistrationInfo>
<Triggers>
<BootTrigger>
<Enabled>true</Enabled>
</BootTrigger>
</Triggers>
<Principals>
<Principal id="Author">
<UserId>S-1-5-18</UserId>
<RunLevel>HighestAvailable</RunLevel>
</Principal>
</Principals>
<Settings>
<MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy>
<DisallowStartIfOnBatteries>true</DisallowStartIfOnBatteries>
<StopIfGoingOnBatteries>true</StopIfGoingOnBatteries>
<AllowHardTerminate>true</AllowHardTerminate>
<StartWhenAvailable>false</StartWhenAvailable>
<RunOnlyIfNetworkAvailable>false</RunOnlyIfNetworkAvailable>
<IdleSettings>
<StopOnIdleEnd>true</StopOnIdleEnd>
<RestartOnIdle>false</RestartOnIdle>
</IdleSettings>
<AllowStartOnDemand>true</AllowStartOnDemand>
<Enabled>true</Enabled>
<Hidden>false</Hidden>
<RunOnlyIfIdle>false</RunOnlyIfIdle>
<WakeToRun>false</WakeToRun>
<ExecutionTimeLimit>PT72H</ExecutionTimeLimit>
<Priority>7</Priority>
</Settings>
<Actions Context="Author">
<Exec>
<Command>C:\Scripts\MapDriveR.bat</Command>
</Exec>
</Actions>
</Task>
Open Windows Services and configure:
Set both services to:
Automatic (Delayed Start)A full workstation reboot is required to apply the configuration correctly.
It is mandatory to correctly configure path translation inside ETERE, ensuring that enabled workstations use the mapped drive (R:) instead of direct UNC paths.
This ensures: