The Symantec Endpoint Protection Error Processor scheduled task runs SymErr.exe /submit in the Endpoint Protection binary folder at midnight –whether the user is logged on or not– or if the system is idle for at least 5 minutes after a logon later in the day. When a process crashes, Windows Error Reporting (WER, using werfault.exe) kicks in and crash-related data is written to %LocalAppData%\Microsoft\Windows\WER\ReportQueue. On systems running Endpoint Protection 14 and higher, most process dumps generated by WER will be redirected to %ProgramData%\Symantec\LocalDumps. SEP's error management handler picks up on any crash and copies the dump to and creates associated data in a SQ_{GUID.EN_US} (SQ being short for SymQual) folder in %ProgramData%\Symantec\Symantec Endpoint Protection\CurrentVersion\Data\ErrMgmt\Queue\Incoming. When SymErr.exe /submit is run, any SQ_{GUID.EN_US} folders present are sent to our fully automated SymQual (Symantec Quality) system for statistical analysis, with the goal of identifying emerging issues.
More details about its operation can be uncovered by following the lifecycle of a crashed process and making a change to the related site-wide policy setting:
DumpCount
(REG_DWORD, value: 4)DumpFlags
(REG_DWORD, value: 0)DumpFolder
(REG_EXPAND_SZ, value: C:\ProgramData\Symantec\LocalDumps)DumpType
(REG_DWORD, value: 1)Close Registry Editor. Run BadApp.exe, click Crash process and then the Close program button when prompted. Verify that %ProgramData%\Symantec\LocalDumps\BadApp.exe.<PID>.dmp is created. As per DumpCount registry key, only the last 4 process crash dumps for any given process will be present in the LocalDumps folder. The dump created in the LocalDumps folder is immediately copied to a SQ_{GUID.EN_US} folder in the ErrMgmt\Queue\Incoming folder. Contained in that folder is the following data:
Open Task Scheduler (taskschd.msc). Navigate to Task Scheduler Library > Symantec Endpoint Protection. Right-click the Symantec Endpoint Protection Error Processor task and select Run. Witness that all folders in ErrMgmt\Queue\Incoming disappear soon thereafter. The dumps in %ProgramData%\Symantec\LocalDumps remain present.
Crash BadApp.exe again, resulting in a new SQ_{GUID.EN_US} folder in the ErrMgmt\Queue\Incoming folder.
In Symantec Endpoint Protection Manager (SEPM), navigate to Admin > Servers > Local Site. Click Edit Site Properties. In the Data Collection tab, uncheck "Let clients send troubleshooting information to Symantec to resolve product issues faster.". On the client, right-click the SEP tray notification area icon and select Update Policy.
Crash BadApp.exe again and witness that, while a dump is still created in %ProgramData%\Symantec\LocalDumps (the WER redirection of the dump to our folder remains in place), a new SQ_{GUID.EN_US} folder –to which the dump would be copied if the "Let clients send troubleshooting information to Symantec to resolve product issues faster." Local Site property would still be enabled– is no longer created.
Open Task Scheduler (taskschd.msc). Navigate to Task Scheduler Library > Symantec Endpoint Protection. Right-click the Symantec Endpoint Protection Error Processor task. If it is still in a Running state, select End, then right-click it again and select Run. Witness that all folders in ErrMgmt\Queue\Incoming remain and are not processed.