Screenshot fail in unattended robot

found the solution here!!

https://forum.uipath.com/t/issue-with-the-take-screenshot-activity-in-unattended-mode-caused-due-to-the-server-manager-popup/364491