there is a reproducible issue using the function "Keep remote directory up to date":
After running mentioned function (details in screenshot) WinSCP will unexpected break after a few days with error message "System error. Code: 1400 Invalid window handle" and the synchronization will stop. Users can start again and it will run for another few days. But it will break again.
How could it be fixed?
Thanks for investigation.