This issue is normally related to locked or logged off sessions. HPE documents [KM185060](https://softwaresupport.hpe.com/group/softwaresupport/search-result/-/facetsearch/document/KM185060) and [KM00656196](https://softwaresupport.hpe.com/group/softwaresupport/search-result/-/facetsearch/document/KM00656196) describe this issue in more detail. Also you might want to experiment with the feature ''Run a GUI Test with a Disconnected Remote Desktop Connection''
UFT User Guide > UFT Running and Debugging Operations > Running Tests and Components > Tasks > How to Run a GUI Test with a Disconnected Remote Desktop Connection.
Title: Can QuickTest Professional (QTP) or Unified Functional Testing (UFT) GUI scripts replay on a locked or logged off machine?
Document ID : [KM185060](https://softwaresupport.hpe.com/group/softwaresupport/search-result/-/facetsearch/document/KM185060)
Title : When running script on a locked Windows session, Bitmap Checkpoints shows black images in the Result Viewer
Document ID : [KM00656196](https://softwaresupport.hpe.com/group/softwaresupport/search-result/-/facetsearch/document/KM00656196)