Skip to main content
Version: 10.2.8

Take screenshots of Master user authentication

Sometimes, authentication of the Master user does not work as expected, and it is hard to understand the reason from logs. To view the error type, take a screenshot of the Master user authentication.

To enable taking screenshots of the Master user authentication, perform the following steps:

  1. Connect to the RPA server and open Windows CMD as Administrator.

  2. Stop the WFsvc service:

    net stop WFSvc
  3. Add -Drpa.mfw.logs.screenshot=true before -jar bot-agent.jar in the following file:

    • <RPA-instalaltion-directory>/bot-agent/bin/bot-master-service.bat in case of the server installation

    • <RPA-instalaltion-dirrectory>/bot-agent/bin/bot-nordp-service.bat in case of the VDI installation

  4. Save the file.

  5. Start the WFSvc service.

    net start WFSvc
  6. Log out from the RPA server.

When the Master user attempts to log in, the Master Agent generates five screenshots (three if there is no legal notice in the environment) in the <RPA-instalaltion-dirrectory>/bot-agent/logs/screenshot path. Screenshots are taken in the following cases:

  • Before sending a SAS sequence (CTRL+Alt+Del)

  • After sending a SAS sequence (CTRL+Alt+Del)

  • Before approving a legal notice

  • After approving a legal notice

  • Before a session becomes active

If any issues occur during the login, more screenshots can be generated.