<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Hey rodrigc,
that seems to… in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Login-Agent-Issue/m-p/55532#M9862</link>
    <description>Hey rodrigc,
that seems to be a problem with the login on the machine.
Blue Prism Login Agent should login by using the Console Sessions - not a RDP Session.
You might connect to the Server console session and watch what the scheduler is doing.
We had the exceptions because windows was locking the screen after some time.
You should be fine when you figure out how to connect to the session which blue prism attaches to and watch your process.
Best regards
Marcel</description>
    <pubDate>Tue, 16 Apr 2019 20:12:00 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-04-16T20:12:00Z</dc:date>
    <item>
      <title>Login Agent Issue</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Login-Agent-Issue/m-p/55528#M9858</link>
      <description>So I created a process to print a bunch of notices that the government sends us. The process launches the firefox browser and then clicks the customer print icon and prints the page. The process works beautifully when I run it on in the control room on multiple PC's including the resource pc setup with the login agent.

However when it is scheduled via the login agent it seems to run into trouble. It can seem to find the spied printer icon or other buttons. The item was spied as a button in Active Accessibility.

Any ideas about why this is occurring?. Or can anyone share if&amp;nbsp;there a way to debug through a scheduled task using the login agent to check on weird behavior. Using BP 5.2.

Thanks

&amp;nbsp;</description>
      <pubDate>Wed, 06 Mar 2019 00:43:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Login-Agent-Issue/m-p/55528#M9858</guid>
      <dc:creator>CR</dc:creator>
      <dc:date>2019-03-06T00:43:00Z</dc:date>
    </item>
    <item>
      <title>could you elaborate on ""…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Login-Agent-Issue/m-p/55529#M9859</link>
      <description>could you elaborate on "" However when it is scheduled via the login agent it seems to run into trouble ""?
This task should be run via Resource PC. Loging agent, with some exceptions, is just a service to log in user/robot into windows (not to run processes).
&amp;nbsp;
Check this: &lt;A href="https://portal.blueprism.com/system/files/documents/v6%20User%20Guide%2…" target="test_blank"&gt;https://portal.blueprism.com/system/files/documents/v6%20User%20Guide%2…&lt;/A&gt; , especially "" Using Login Agent "" part.</description>
      <pubDate>Wed, 06 Mar 2019 11:44:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Login-Agent-Issue/m-p/55529#M9859</guid>
      <dc:creator>Martynas</dc:creator>
      <dc:date>2019-03-06T11:44:00Z</dc:date>
    </item>
    <item>
      <title>To add to previous, the…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Login-Agent-Issue/m-p/55530#M9860</link>
      <description>To add to previous, the scheduling logic should be something like this:
use process ""Login"" on ""Login Agent"" to create windows session
Wait a bit for windows to load and Resource PC to start
Run your process on ""Resource PC</description>
      <pubDate>Wed, 06 Mar 2019 11:46:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Login-Agent-Issue/m-p/55530#M9860</guid>
      <dc:creator>Martynas</dc:creator>
      <dc:date>2019-03-06T11:46:00Z</dc:date>
    </item>
    <item>
      <title>Yes the login agent ""login""…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Login-Agent-Issue/m-p/55531#M9861</link>
      <description>Yes the login agent ""login"" process is setup and works fine. Added a 3 min delay and then kick off my work process. The process starts up and launches the website and then has to click a navigation stage.&amp;nbsp;When it runs this way it provide&amp;nbsp;the&amp;nbsp;generic&amp;nbsp;error that say something about ""not able to&amp;nbsp;find the button with&amp;nbsp;the stage"". When I run it on the resource PC by logging into it via remote desktop and using the control room&amp;nbsp;it works and finds the stage and completes successfully.</description>
      <pubDate>Thu, 07 Mar 2019 20:12:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Login-Agent-Issue/m-p/55531#M9861</guid>
      <dc:creator>CR</dc:creator>
      <dc:date>2019-03-07T20:12:00Z</dc:date>
    </item>
    <item>
      <title>Hey rodrigc,
that seems to…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Login-Agent-Issue/m-p/55532#M9862</link>
      <description>Hey rodrigc,
that seems to be a problem with the login on the machine.
Blue Prism Login Agent should login by using the Console Sessions - not a RDP Session.
You might connect to the Server console session and watch what the scheduler is doing.
We had the exceptions because windows was locking the screen after some time.
You should be fine when you figure out how to connect to the session which blue prism attaches to and watch your process.
Best regards
Marcel</description>
      <pubDate>Tue, 16 Apr 2019 20:12:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Login-Agent-Issue/m-p/55532#M9862</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-16T20:12:00Z</dc:date>
    </item>
    <item>
      <title>Are you certain the Login…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Login-Agent-Issue/m-p/55533#M9863</link>
      <description>Are you certain the Login Agent portion isn't throwing errors?
As @mkaefke mentioned, RDP breaks Login Agent. Disconnecting from an RDP session does not resolve this.&amp;nbsp; You're better off connecting using something like TeamViewer.
Alternatively, if you have to use RDP, I'm attaching a .bat file in .txt format. Set up a scheduled task with remote session disconnect as a trigger, and&amp;nbsp;ensure it runs with elevated permissions.&amp;nbsp;Please be aware that there is a known-issue with this scheduled task trigger that may kick it off on RDP connection as well as disconnection, but the logic in this file&amp;nbsp;should&amp;nbsp;account for that. In case of failure, RDP in as any other account and disable the task.</description>
      <pubDate>Tue, 16 Apr 2019 20:47:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Login-Agent-Issue/m-p/55533#M9863</guid>
      <dc:creator>AmiBarrett</dc:creator>
      <dc:date>2019-04-16T20:47:00Z</dc:date>
    </item>
    <item>
      <title>Scheduler - Sometimes AAâ€¦</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Login-Agent-Issue/m-p/55534#M9864</link>
      <description>Scheduler - Sometimes AA mode (Global click center)Â&amp;nbsp;on Web app does not work. I would suggest use HTML mode and do click center and include at least 2 sec wait allowing web to load completely before performing any action or at least for this one.</description>
      <pubDate>Mon, 06 May 2019 21:42:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Login-Agent-Issue/m-p/55534#M9864</guid>
      <dc:creator>rajeshkumarmuthineni</dc:creator>
      <dc:date>2019-05-06T21:42:00Z</dc:date>
    </item>
    <item>
      <title>I think everyone above isâ€¦</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Login-Agent-Issue/m-p/55535#M9865</link>
      <description>I think everyone above is missing a point a little. You have to remember that when you login via Login Agent, VM is being opened in "headless" mode, meaning screen is not being rendered. Therefore you cannot use Mouse Click, Send Keys, check active windows, activateÂ&amp;nbsp;etc, because those do not exist.
In order to fix this, you would need to re-write the robot so it does not rely on any of the above.</description>
      <pubDate>Tue, 14 May 2019 16:06:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Login-Agent-Issue/m-p/55535#M9865</guid>
      <dc:creator>PawełBystrzejew</dc:creator>
      <dc:date>2019-05-14T16:06:00Z</dc:date>
    </item>
    <item>
      <title>Hi Rodrigc,
We had the sameâ€¦</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Login-Agent-Issue/m-p/55536#M9866</link>
      <description>Hi Rodrigc,
We had the same issue.Â&amp;nbsp; Running a process on a local machine or on a remote session was no problem and the process would complete.
But using login agent with the screen not being displayed anywhere and suddenly the robot cannot identify elements on screen.
This is to do with how Windows handles different types of sessions.Â&amp;nbsp; The others in the thread have more experience than me and some have helped me with the same/similarÂ&amp;nbsp;issue (shoutout to @Amibarrett!)
Before you write off the work you have done, try this if you haven't already.Â&amp;nbsp; Restart the resource machine or use the .bat script amibarret gave you.
Then try using loginagent and running the process.Â&amp;nbsp; If the desktop had been opened as a remote session or had a display output at anypoint since it was turned on it will have changed some setting making it behave differently and fail to identify elements.Â&amp;nbsp; Restartign the machine / using the .bat changes those settings back to the default.
Might work!Â&amp;nbsp; best of luck</description>
      <pubDate>Tue, 14 May 2019 17:08:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Login-Agent-Issue/m-p/55536#M9866</guid>
      <dc:creator>BenKirimlidis</dc:creator>
      <dc:date>2019-05-14T17:08:00Z</dc:date>
    </item>
    <item>
      <title>@Pawel - We have experiencedâ€¦</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Login-Agent-Issue/m-p/55537#M9867</link>
      <description>@Pawel - We have experienced no issues using these features in conjunction with Login Agent. That being said, all of our accounts login via netplwiz; we only use Login Agent to unlock the VM with the same credentials.</description>
      <pubDate>Tue, 14 May 2019 18:54:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Login-Agent-Issue/m-p/55537#M9867</guid>
      <dc:creator>AmiBarrett</dc:creator>
      <dc:date>2019-05-14T18:54:00Z</dc:date>
    </item>
    <item>
      <title>Please check if theâ€¦</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Login-Agent-Issue/m-p/55538#M9868</link>
      <description>Please check if the resolution of the Resource PC is same when the process is run from control room manually and when it is run from Scheduler( where login agent process is involved).</description>
      <pubDate>Tue, 21 May 2019 11:46:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Login-Agent-Issue/m-p/55538#M9868</guid>
      <dc:creator>KPN</dc:creator>
      <dc:date>2019-05-21T11:46:00Z</dc:date>
    </item>
    <item>
      <title>RE: Are you certain the Login…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Login-Agent-Issue/m-p/55539#M9869</link>
      <description>&lt;P&gt;Hi Ami Barrett,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I work on an environment which demands me to use RDP. I cannot see the txt file you mentioned before, would you mind re-attaching it please?&lt;BR /&gt;&lt;BR /&gt;Also, I'm using Blue prism 6.71 and successfully configured the application server and resource PCs. I'm able to run tasks on the resource PCs as long as I run the logout process from login agent, login again, and then run the tasks. The reason of this is because the only way available for connecting to the resource PCs is RDP. If I try to run processes without running the login agent - logout process, I get the following error:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ERROR: Internal : Failed to perform step 1 in Navigate Stage 'Calc' on page 'Test calc' - Could not identify process owning the current foreground window&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;What will be your recommendation??? I've thought adding a Task from Windows Task Scheduler to logout after a user closes the RDP session, I'm not sure it will be a good Idea though.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank you.&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;David Vizcaíno&lt;BR /&gt;RPA Programmer&lt;BR /&gt;EY&lt;BR /&gt;America/Bogota&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 23 Apr 2020 00:17:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Login-Agent-Issue/m-p/55539#M9869</guid>
      <dc:creator>DavidVizcaíno</dc:creator>
      <dc:date>2020-04-23T00:17:00Z</dc:date>
    </item>
  </channel>
</rss>

