Video Capturing - Black video when capturing unattended


I run a suite of tests every night and have the video capturing feature enabled.
This runs from a scheduled task in a Windows 7 VM, executing a cmd generated with Katalon.
I access the machine using Remote Desktop.
The video is captured fine if I am seeing the screen, however, if I minimize Remote Desktop or if I am not logged in to the VM, the video capture goes black and no frames are captured.

Anyone facing this and does anyone know a workaround?