<?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 RE: Login Agents in VDI environments in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Login-Agents-in-VDI-environments/m-p/82777#M34147</link>
    <description>Manank;&lt;BR /&gt;&lt;BR /&gt;Thank you for responding.&amp;nbsp; I presume you have automate running via a batch file that launches when someone logs in.&amp;nbsp; That would account for that I believe. I'm trying to understand why you are logging in using RDP?&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;VDI's are designed for people.&amp;nbsp; It tends to make RPA a bit more complex. What type of VDI are you using?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Steve Waters&lt;BR /&gt;Platform Consultant&lt;BR /&gt;Blue Prism Professional Services&lt;BR /&gt;America/Chicago&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Mon, 15 Jun 2020 13:02:00 GMT</pubDate>
    <dc:creator>SteveWaters</dc:creator>
    <dc:date>2020-06-15T13:02:00Z</dc:date>
    <item>
      <title>Login Agents in VDI environments</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Login-Agents-in-VDI-environments/m-p/82775#M34145</link>
      <description>Folks;&lt;BR /&gt;&lt;BR /&gt;I am looking at how customers and partners are using Login Agent with VDi systems and would like to get an idea as to scalability and the operational level of effort.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Steve Waters&lt;BR /&gt;Platform Consultant&lt;BR /&gt;Blue Prism Professional Services&lt;BR /&gt;America/Chicago&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Jun 2020 12:50:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Login-Agents-in-VDI-environments/m-p/82775#M34145</guid>
      <dc:creator>SteveWaters</dc:creator>
      <dc:date>2020-06-09T12:50:00Z</dc:date>
    </item>
    <item>
      <title>RE: Login Agents in VDI environments</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Login-Agents-in-VDI-environments/m-p/82776#M34146</link>
      <description>&lt;A class="user-content-mention" data-sign="@" data-contactkey="c8f964ac-4374-4680-b4fd-8a37fd96e94e" data-tag-text="@Steve Waters" href="https://community.blueprism.com/network/profile?UserKey=c8f964ac-4374-4680-b4fd-8a37fd96e94e" data-itemmentionkey="5bee0b0a-aa74-473a-a220-6f725b8f07b5"&gt;@Steve Waters&lt;/A&gt; -&amp;nbsp;&lt;SPAN&gt;In our case one strange issue we face is with login agent get logged in users. When we login to any blue prism VM via remote desktop and run login agent is logged in / get logged in users action, it returns no user login. When we check the task manager, it shows multiple users logged in a machine. I checked the function get logged in users code in global code of VBO and its referring to localhost, I am sure that function needs some kind of fix to make it work with VM setup.&lt;/SPAN&gt; ​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Mayank Goyal&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Sat, 13 Jun 2020 17:12:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Login-Agents-in-VDI-environments/m-p/82776#M34146</guid>
      <dc:creator>MayankGoyal2</dc:creator>
      <dc:date>2020-06-13T17:12:00Z</dc:date>
    </item>
    <item>
      <title>RE: Login Agents in VDI environments</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Login-Agents-in-VDI-environments/m-p/82777#M34147</link>
      <description>Manank;&lt;BR /&gt;&lt;BR /&gt;Thank you for responding.&amp;nbsp; I presume you have automate running via a batch file that launches when someone logs in.&amp;nbsp; That would account for that I believe. I'm trying to understand why you are logging in using RDP?&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;VDI's are designed for people.&amp;nbsp; It tends to make RPA a bit more complex. What type of VDI are you using?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Steve Waters&lt;BR /&gt;Platform Consultant&lt;BR /&gt;Blue Prism Professional Services&lt;BR /&gt;America/Chicago&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Jun 2020 13:02:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Login-Agents-in-VDI-environments/m-p/82777#M34147</guid>
      <dc:creator>SteveWaters</dc:creator>
      <dc:date>2020-06-15T13:02:00Z</dc:date>
    </item>
    <item>
      <title>RE: Login Agents in VDI environments</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Login-Agents-in-VDI-environments/m-p/82778#M34148</link>
      <description>&lt;A class="user-content-mention" data-sign="@" data-contactkey="c8f964ac-4374-4680-b4fd-8a37fd96e94e" data-tag-text="@Steve Waters" href="https://community.blueprism.com/network/profile?UserKey=c8f964ac-4374-4680-b4fd-8a37fd96e94e" data-itemmentionkey="938ae504-5351-4a76-9976-00583935c237"&gt;@Steve Waters&lt;/A&gt; - The VM are persistent VM as mentioned in link -&amp;nbsp;&lt;A href="https://bpdocs.blueprism.com/bp-6-8/en-us/deploy-to-virtual-environment-nhs.htm?Highlight=deploying%20blue%20prism%20to%20a%20virtual" target="_blank" rel="noopener"&gt;https://bpdocs.blueprism.com/bp-6-8/en-us/deploy-to-virtual-environment-nhs.htm?Highlight=deploying%20blue%20prism%20to%20a%20virtual&amp;nbsp;&lt;/A&gt;having windows server OS. Whenever we have to get into any VM and access blue prism, we use remote desktop for the same. I am not sure of an alternative to RDP and will that make any difference.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Mayank Goyal&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Jun 2020 23:05:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Login-Agents-in-VDI-environments/m-p/82778#M34148</guid>
      <dc:creator>MayankGoyal2</dc:creator>
      <dc:date>2020-06-15T23:05:00Z</dc:date>
    </item>
    <item>
      <title>RE: Login Agents in VDI environments</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Login-Agents-in-VDI-environments/m-p/82779#M34149</link>
      <description>I guess my first question is why are you accessing the Runtime Resources on a regular basis?&amp;nbsp; Operationally I recommend something like pcAnywhere, VNC, or VMware Console to access the VM.&amp;nbsp; The point is to access at a console level vs. RDP which adds some complexity.&amp;nbsp;&amp;nbsp;The purpose of the Login Agent is to minimize the need to access a RR VM directly.&amp;nbsp; The VM should be executing at the console level.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I also recommend rebooting the VM after you've accessed it with RDP to make sure all of the sessions are closed.&amp;nbsp; This can impact certain automations&lt;BR /&gt;&lt;BR /&gt;The exception being environments configured to use RDS to create VM's.&amp;nbsp; In that case they are using a designed form of access that accounts for each RDP session on a different port.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Would you be willing to email me your Login Agent configuration file?&amp;nbsp; &amp;nbsp;That will help me figure out what's going on.&amp;nbsp; Send it private of course.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Regards,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Steve Waters&lt;BR /&gt;Platform Consultant&lt;BR /&gt;Blue Prism Professional Services&lt;BR /&gt;America/Chicago&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 16 Jun 2020 13:04:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Login-Agents-in-VDI-environments/m-p/82779#M34149</guid>
      <dc:creator>SteveWaters</dc:creator>
      <dc:date>2020-06-16T13:04:00Z</dc:date>
    </item>
    <item>
      <title>RE: Login Agents in VDI environments</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Login-Agents-in-VDI-environments/m-p/82780#M34150</link>
      <description>&lt;A class="user-content-mention" data-sign="@" data-contactkey="c8f964ac-4374-4680-b4fd-8a37fd96e94e" data-tag-text="@Steve Waters" href="https://community.blueprism.com/network/profile?UserKey=c8f964ac-4374-4680-b4fd-8a37fd96e94e" data-itemmentionkey="3c22af55-3882-4c55-88c2-d69f2880d436"&gt;@Steve Waters&lt;/A&gt; - Thanks a lot for your response, so shall I put it this way for my better understanding.&lt;BR /&gt;E1 and E2 machines - where we develop and test the process, it is fine to access these via RDP because we work on BP studio and wont be using login agent on E1 and E2.&lt;BR /&gt;&lt;BR /&gt; When running process on E3 via login agent, avoid RDP on that machine. The login process of login agent will do a console based login on machine and then run the main process and there won't be issues. If anytime accessed via RDP, reboot to ensure all session are closed and login agent functions properly.&lt;BR /&gt;&lt;BR /&gt;My last question is if we want to run a process in E3 under observation for some time by dragging it in control room before we put it on scheduler and login agent, for that we can still do RDP as we are not utilizing login agent?&lt;BR /&gt;&lt;BR /&gt;​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Mayank Goyal&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 16 Jun 2020 18:27:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Login-Agents-in-VDI-environments/m-p/82780#M34150</guid>
      <dc:creator>MayankGoyal2</dc:creator>
      <dc:date>2020-06-16T18:27:00Z</dc:date>
    </item>
    <item>
      <title>RE: Login Agents in VDI environments</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Login-Agents-in-VDI-environments/m-p/82781#M34151</link>
      <description>&lt;A class="user-content-mention" data-sign="@" data-contactkey="e236af74-2e8c-4ea2-b127-7ef0a242fef4" data-tag-text="@Mayank Goyal" href="https://community.blueprism.com/network/profile?UserKey=e236af74-2e8c-4ea2-b127-7ef0a242fef4" data-itemmentionkey="b93da3bf-8482-49f4-89ed-4b55d32ce3ed"&gt;@Mayank Goyal&lt;/A&gt;&amp;nbsp; My pleasure sir.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The only the Login Agent does is allow connectivity to a Runtime Resource that is not logged in.&amp;nbsp; That's why it runs as a service. &lt;BR /&gt;&lt;BR /&gt;In most cases Runtime Resources are configured to launch the Runtime Resource script (Automate.exe) via the Task Scheduler at login,&amp;nbsp; so it would make sense if you had multiple RDP sessions you would have multiple Runtimes as well.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;There are tools like VNC that would let you monitor a process on a Runtime without logging into it.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;As a rule it is best practice to separate Development and Production environments.&amp;nbsp; Note that BP licenses only apply to Production Processes.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Steve Waters&lt;BR /&gt;Platform Consultant&lt;BR /&gt;Blue Prism Professional Services&lt;BR /&gt;America/Chicago&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 19 Jun 2020 12:48:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Login-Agents-in-VDI-environments/m-p/82781#M34151</guid>
      <dc:creator>SteveWaters</dc:creator>
      <dc:date>2020-06-19T12:48:00Z</dc:date>
    </item>
    <item>
      <title>RE: Login Agents in VDI environments</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Login-Agents-in-VDI-environments/m-p/82782#M34152</link>
      <description>Mayank, ​Were you ever able to find a fix for the login agent stating "no user logged in"? I'm facing a similar issue when I run the "Check logged in action". Likewise I'm able to log out/lock the VDI, however I am unable to l back in when calling the process. Set up is a VDI on Windows 10, and I'm using RDP to access it.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Aaran Fraser-Hitchen&lt;BR /&gt;Software Developer&lt;BR /&gt;QinetiQ&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 07 Jul 2020 17:22:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Login-Agents-in-VDI-environments/m-p/82782#M34152</guid>
      <dc:creator>apfhitchen</dc:creator>
      <dc:date>2020-07-07T17:22:00Z</dc:date>
    </item>
    <item>
      <title>RE: Login Agents in VDI environments</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Login-Agents-in-VDI-environments/m-p/82783#M34153</link>
      <description>&lt;A class="user-content-mention" data-sign="@" data-contactkey="da9d51b6-2818-45a0-ae0e-1e124fb1b869" data-tag-text="@Aaran Fraser-Hitchen" href="https://community.blueprism.com/network/profile?UserKey=da9d51b6-2818-45a0-ae0e-1e124fb1b869" data-itemmentionkey="e3d90269-c4e1-40a6-8f14-b586db0f0dcd"&gt;@Aaran Fraser-Hitchen&lt;/A&gt; - This is what i understood so far - The login agent action get logged in users is for checking console based logged in user on machine. When you login to a VM with RDP, that is a terminal session login which is different from console login. If you logout of the VM and your VM shows logged out in control room, then if you run the login process and once login is successful and machine shows logged in in control room, then run is logged in on that machine, will show as True as its a console based login.&amp;nbsp;​ Please let me know if it works for you.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Mayank Goyal&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Jul 2020 04:41:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Login-Agents-in-VDI-environments/m-p/82783#M34153</guid>
      <dc:creator>MayankGoyal2</dc:creator>
      <dc:date>2020-07-08T04:41:00Z</dc:date>
    </item>
    <item>
      <title>RE: Login Agents in VDI environments</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Login-Agents-in-VDI-environments/m-p/82784#M34154</link>
      <description>I believe this is an issue with the design of the GetLoggedInUsers() function of Login Agent. The function uses a WMI query to collect user info, but it queries the Win32_ComputerSystem node which does not support reporting info about RDP connections.&lt;BR /&gt;&lt;BR /&gt;i think we might have a solution that queries against Win32_Process instead and gets the owner of every "explorer.exe" instance. It should be tested today. If it works out I'll post the updated function definition here.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Partner Integrations for Digital Exchange&lt;BR /&gt;Blue Prism&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Jul 2020 11:36:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Login-Agents-in-VDI-environments/m-p/82784#M34154</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2020-07-08T11:36:00Z</dc:date>
    </item>
    <item>
      <title>RE: Login Agents in VDI environments</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Login-Agents-in-VDI-environments/m-p/82785#M34155</link>
      <description>I agree with Mayank.&amp;nbsp; I would avoid using RDP on these VM's if at all possible.&amp;nbsp; It complicates things since most environments are configured to run the Runtime Resource (automate.exe) script at login .&amp;nbsp; Login Agent would be expecting to login at a console level so the RDP login could cause confusion with BP.&amp;nbsp; &amp;nbsp;Particularly if you have multiple sessions.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I suggest rebooting the VM/VDI when you are done with your RDS session.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Steve Waters&lt;BR /&gt;Platform Consultant&lt;BR /&gt;Blue Prism Professional Services&lt;BR /&gt;America/Chicago&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Jul 2020 13:08:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Login-Agents-in-VDI-environments/m-p/82785#M34155</guid>
      <dc:creator>SteveWaters</dc:creator>
      <dc:date>2020-07-08T13:08:00Z</dc:date>
    </item>
    <item>
      <title>RE: Login Agents in VDI environments</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Login-Agents-in-VDI-environments/m-p/82786#M34156</link>
      <description>I think there's another issue here though. More and more people are moving to VM's in the cloud (ex. Azure). In the case of those VM's, I'd say RDP is the most popular way to access to desktop.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Partner Integrations for Digital Exchange&lt;BR /&gt;Blue Prism&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Jul 2020 13:33:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Login-Agents-in-VDI-environments/m-p/82786#M34156</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2020-07-08T13:33:00Z</dc:date>
    </item>
    <item>
      <title>RE: Login Agents in VDI environments</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Login-Agents-in-VDI-environments/m-p/82787#M34157</link>
      <description>RDP is convenient but with multiple sessions it can cause issues.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Awareness is key and rebooting after the session is a good practice.&amp;nbsp; A lot depends on the applications.&amp;nbsp; Most of the time it's not a major problem.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;If it is, an option is to use RDP to connect to a jump server/Bastion Host then connect using a tool like VNC..&amp;nbsp; The issue is the multiple sessions. Some automations work better at a console level.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Steve Waters&lt;BR /&gt;Platform Consultant&lt;BR /&gt;Blue Prism Professional Services&lt;BR /&gt;America/Chicago&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Jul 2020 13:46:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Login-Agents-in-VDI-environments/m-p/82787#M34157</guid>
      <dc:creator>SteveWaters</dc:creator>
      <dc:date>2020-07-08T13:46:00Z</dc:date>
    </item>
    <item>
      <title>RE: Login Agents in VDI environments</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Login-Agents-in-VDI-environments/m-p/82788#M34158</link>
      <description>&lt;A class="user-content-mention" data-sign="@" data-contactkey="c8f964ac-4374-4680-b4fd-8a37fd96e94e" data-tag-text="@Steve Waters" href="https://community.blueprism.com/network/profile?UserKey=c8f964ac-4374-4680-b4fd-8a37fd96e94e" data-itemmentionkey="534efc08-0709-4bcf-97ec-d0ff6162a05d"&gt;@Steve Waters&lt;/A&gt;​ are you talking about situations where multiple people log in to a machine using the same credentials, or just the generic situation of multiple people being logged in to the same Windows machine/VM (ie different user accounts)?&lt;BR /&gt;&lt;BR /&gt;Bastion or even SSH (if you set up a X server on those machines) will certainly work as will direct VNC. As you said, it's a question of awareness as well as IT policies since some organizations may actually mandate the specific connectivity.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Partner Integrations for Digital Exchange&lt;BR /&gt;Blue Prism&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Jul 2020 14:26:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Login-Agents-in-VDI-environments/m-p/82788#M34158</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2020-07-08T14:26:00Z</dc:date>
    </item>
    <item>
      <title>RE: Login Agents in VDI environments</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Login-Agents-in-VDI-environments/m-p/82789#M34159</link>
      <description>For those that are interested, the following function can be used to replace the existing GetLoggedInUsers() function within the Global Code section of the Login Agent VBO. This will return all users regardless of whether they're logged in via the console or an RDP session.&lt;BR /&gt;&lt;BR /&gt;FWIW - This is VB.Net, but there's no code high-lighting option for VB on this platform.&lt;BR /&gt;
&lt;PRE class="language-csharp"&gt;Public Function &lt;SPAN class="token function"&gt;GetLoggedInUsers&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt; As &lt;SPAN class="token function"&gt;ICollection&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt;Of String&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt;
    Dim users As New &lt;SPAN class="token class-name"&gt;List&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt;Of String&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt;
    Dim moReturn As Management&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;ManagementObjectCollection
    Dim moSearch As Management&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;ManagementObjectSearcher
    Dim mo As Management&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;ManagementObject
    
    ' Retrieve a list of &lt;SPAN class="token string"&gt;"explorer.exe"&lt;/SPAN&gt; processes running on the system&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt; Each logged &lt;SPAN class="token keyword"&gt;in&lt;/SPAN&gt;
    ' user session will have exactly one &lt;SPAN class="token string"&gt;"explorer.exe"&lt;/SPAN&gt; session&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;
    moSearch &lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt; New &lt;SPAN class="token class-name"&gt;Management&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;ManagementObjectSearcher&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt;&lt;SPAN class="token string"&gt;"Select * from Win32_Process Where name='explorer.exe'"&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt;
    moReturn &lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt; moSearch&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;Get

    ' Cycle through the returned process instances and &lt;SPAN class="token keyword"&gt;get&lt;/SPAN&gt; the owner of each&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;
    For Each mo In moReturn
        Dim &lt;SPAN class="token function"&gt;arOwner&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt;&lt;SPAN class="token number"&gt;2&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt; As String
        mo&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;InvokeMethod&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt;&lt;SPAN class="token string"&gt;"GetOwner"&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;,&lt;/SPAN&gt; arOwner&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt;
        users&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;Add&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;arOwner&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt;&lt;SPAN class="token number"&gt;1&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt; &lt;SPAN class="token operator"&gt;&amp;amp;&lt;/SPAN&gt; &lt;SPAN class="token string"&gt;"\"&lt;/SPAN&gt; &lt;SPAN class="token operator"&gt;&amp;amp;&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;arOwner&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt;&lt;SPAN class="token number"&gt;0&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt;
    Next
    
    Return users
End Function​&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;Cheers,&lt;/P&gt;
&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Partner Integrations for Digital Exchange&lt;BR /&gt;Blue Prism&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Jul 2020 17:51:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Login-Agents-in-VDI-environments/m-p/82789#M34159</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2020-07-08T17:51:00Z</dc:date>
    </item>
    <item>
      <title>RE: Login Agents in VDI environments</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Login-Agents-in-VDI-environments/m-p/82790#M34160</link>
      <description>&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/833"&gt;@ewilson&lt;/a&gt; - Thanks for sharing this, will try it. Meanwhile I will suggest to include it in standard Login Agent VBO so that there is a common standard solution used by everyone. Infact, if there can be a repository designed where all code snippets exchanged on community can be maintained as VBO with documentation, that can helping expanding BP reusable VBO.&amp;nbsp;&amp;nbsp;​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Mayank Goyal&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Jul 2020 05:06:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Login-Agents-in-VDI-environments/m-p/82790#M34160</guid>
      <dc:creator>MayankGoyal2</dc:creator>
      <dc:date>2020-07-09T05:06:00Z</dc:date>
    </item>
    <item>
      <title>RE: Login Agents in VDI environments</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Login-Agents-in-VDI-environments/m-p/82791#M34161</link>
      <description>&lt;A class="user-content-mention" data-sign="@" data-contactkey="e236af74-2e8c-4ea2-b127-7ef0a242fef4" data-tag-text="@Mayank Goyal" href="https://community.blueprism.com/network/profile?UserKey=e236af74-2e8c-4ea2-b127-7ef0a242fef4" data-itemmentionkey="ac922c13-8bc7-4bce-a8e0-0df6af4b4702"&gt;@Mayank Goyal&lt;/A&gt; the issue has been raised with the product team for inclusion in a revised Login Agent release, but in the meantime the code is available here for anyone that needs it now.&lt;BR /&gt;&lt;BR /&gt;Cheers, ​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Partner Integrations for Digital Exchange&lt;BR /&gt;Blue Prism&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Jul 2020 10:55:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Login-Agents-in-VDI-environments/m-p/82791#M34161</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2020-07-09T10:55:00Z</dc:date>
    </item>
  </channel>
</rss>

