# Taking screenshots on remote Windows machine

**URL:** <https://forum.robotframework.org/t/taking-screenshots-on-remote-windows-machine/839>\
**Category:** Remote Libraries\
**Created:** [16 October 2020 07:46 UTC](https://forum.robotframework.org/t/taking-screenshots-on-remote-windows-machine/839 "2020-10-16T07:46:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nicu.chedea](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/nicu.chedea/32/661_2.png) [@nicu.chedea](https://forum.robotframework.org/u/nicu.chedea)\
**Post date:** [16 October 2020 07:46 UTC](https://forum.robotframework.org/t/taking-screenshots-on-remote-windows-machine/839/1 "2020-10-16T07:46:11Z")

</div>

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

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/robotframework1/original/1X/3f4496b9b4884b801ccc0531a28fc6f96e2199e3.png)

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