Taking screenshots on remote Windows machine

Hello all, I have a test where using robotframework remote server I have 2 Windows 10 desktop application instances running on different PCs (one on the local PC and one on a remote Citrix server)
I want to take a screenshot on the remote server when something fails, but I get this error: RobotNotRunningError: Cannot access execution context

Any idea of how to capture screenshots on the remote server would be highly appreciated.