PacsSwitch works with the antivirus or endpoint protection your organization uses. On a busy server, real-time scanning of the files PacsSwitch writes all the time can add delay and CPU load. This appendix lists exclusions that avoid that. Review any changes with your security team: an exclusion is a trade-off, and your organization's policy decides.
Why it matters
The images and messages pass through PacsSwitch's memory without being written to disk, so real-time file scanning does not slow the routing itself. What it can slow down:
- The connection log and error log of the proxy service, written for every session.
- The monitor's minute-by-minute history files and the application log.
- Captures, which write the full DICOM and HL7 data to disk and can grow to gigabytes. A rolling capture writes a new file every 10 seconds and deletes the oldest ones until it is stopped.
- Endpoint products that inspect network traffic per process, which can add delay to every connection the proxy service passes on.
Folders
Paths are shown for the default data folder C:\ProgramData\PacsLogic\DTRS4; use your own path if you chose another (Appendix F).
| Folder | Holds | Recommendation |
|---|---|---|
C:\ProgramData\PacsLogic\DTRS4\nginx\logs | Connection log and error log of the proxy service | Exclude from real-time scanning |
C:\ProgramData\PacsLogic\DTRS4\nginx\temp | Working files of the proxy service | Exclude from real-time scanning |
C:\ProgramData\PacsLogic\DTRS4\Logs | Application log and the monitor's history files | Exclude from real-time scanning |
C:\ProgramData\PacsLogic\DTRS4\Captures | Captures (Capture add-on), including rolling subfolders | Exclude from real-time scanning when captures are used |
The folder chosen in Captures > Settings > Store new captures in, for example D:\PacsSwitchCaptures (4.0.128+) | New captures stored outside the data folder, including rolling subfolders | Exclude from real-time scanning when captures are used; keep the exclusion for an earlier folder until retention has deleted its captures |
C:\ProgramData\PacsLogic\DTRS4\DSFXAudit | The DSFX Send audit log (4.0.124+, PacsLaunch add-on): nginx adds every post, the checker reads them every minute | Exclude from real-time scanning when the audit log is on; keep it in the server backup |
Do not exclude the whole data folder or the installation folder: scenarios, settings and the programs should stay scanned.
Processes
If your product supports process exclusions (or excludes processes from network inspection), these are the PacsSwitch programs that handle traffic. nginx is an open-source component shipped with PacsSwitch.
| Program | What it does |
|---|---|
<installation folder>\Resources\nginx\nginx.exe | The proxy service: passes every connection on |
<installation folder>\DTRS_Relay.exe | The relay for captures and AE title rewrites |
<installation folder>\DTRS_Audit.exe | The DSFX Send audit checker, run by the monitor every minute when the audit log is on (4.0.124+) |
<installation folder>\DTRS_Service.exe | Runs the proxy as a Windows service (4.0.122+; earlier versions used Resources\nssm\nssm.exe) |
C:\ProgramData\PacsLogic\DTRS4\Monitor\DTRS_Monitor.exe | The monitor (a copy of DTRS.exe that runs in the background) |
The installation folder is C:\Program Files (x86)\PacsLogic\PacsSwitch unless chosen otherwise. The monitor copy is in the data folder: if the data folder was changed to a custom location (Appendix F), use that location instead, for example E:\PacsLogic\DTRS4\Monitor\DTRS_Monitor.exe.
File types
If your product uses file-type exclusions instead of folders, limit them to the folders above: *.log in the log folders, *.csv in Logs, and *.pcapng and *.jsonl in Captures and in the capture storage folder you chose. Do not exclude these types everywhere on the server.
Good to know
- Keep scheduled full scans; schedule them outside the busiest hours.
- Captures contain patient data. Excluding the Captures folder, or the capture storage folder you chose, from scanning does not change its protection: PacsSwitch restricts it to SYSTEM and Administrators, and captures are deleted after their retention time.
- If PacsSwitch's programs are blocked or quarantined after an update, check that the file came from a PacsLogic setup or update and restore it; allowing the PacsSwitch programs in your application-control policy avoids this.
- Signs that scanning slows the server: high CPU in the antivirus process in Server Health's CPU chart, or the Monitor timing check falling behind.
Related pages
- Appendix F. Alternate data folder
- Appendix B. Log files and Windows Event Log IDs
- Captures and the Capture Viewer
This page was revised 2026-11-10.
← Appendix M. Moving from DTRS v3 (rule import and Windows port proxies)Appendix O. Network connections and data flow →