Gettext is not fetching correct text - Desktop based application

Hi team,

When the system is up and running at that time it is capturing the correct text using Gettext action.
But when the system is in lock or minimize then it is fetching different text from the same gettext action.
Used focus window also.

Please help me in the above issue.



If you lock or minimize Desktop window, Windows switches the session to the GUI-less mode and does not display windows and controls. (In case of Windows automation)

You can use tscon command to disconnect from your machine to overcome this issue


Thanks for response.
Should we need admin access to run the tscon command where the bot is going to run?
Actually we don’t have access to production VDI.
So any suggestions on that?