- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-06-20 01:50 PM
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.
Thanks,
------------------------------
Steve Waters
Platform Consultant
Blue Prism Professional Services
America/Chicago
------------------------------
Answered! Go to Answer.
Helpful Answers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
08-07-20 06:51 PM
FWIW - This is VB.Net, but there's no code high-lighting option for VB on this platform.
Public Function GetLoggedInUsers() As ICollection(Of String) Dim users As New List(Of String) Dim moReturn As Management.ManagementObjectCollection Dim moSearch As Management.ManagementObjectSearcher Dim mo As Management.ManagementObject ' Retrieve a list of "explorer.exe" processes running on the system. Each logged in ' user session will have exactly one "explorer.exe" session. moSearch = New Management.ManagementObjectSearcher("Select * from Win32_Process Where name='explorer.exe'") moReturn = moSearch.Get ' Cycle through the returned process instances and get the owner of each. For Each mo In moReturn Dim arOwner(2) As String mo.InvokeMethod("GetOwner", arOwner) users.Add(arOwner(1) & "\" & arOwner(0)) Next Return users End Function
Cheers,
------------------------------
Eric Wilson
Director, Partner Integrations for Digital Exchange
Blue Prism
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
13-06-20 06:12 PM
------------------------------
Mayank Goyal
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
15-06-20 02:02 PM
Thank you for responding. I presume you have automate running via a batch file that launches when someone logs in. That would account for that I believe. I'm trying to understand why you are logging in using RDP?
VDI's are designed for people. It tends to make RPA a bit more complex. What type of VDI are you using?
------------------------------
Steve Waters
Platform Consultant
Blue Prism Professional Services
America/Chicago
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
16-06-20 12:05 AM
------------------------------
Mayank Goyal
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
16-06-20 02:04 PM
I also recommend rebooting the VM after you've accessed it with RDP to make sure all of the sessions are closed. This can impact certain automations
The exception being environments configured to use RDS to create VM's. In that case they are using a designed form of access that accounts for each RDP session on a different port.
Would you be willing to email me your Login Agent configuration file? That will help me figure out what's going on. Send it private of course.
Regards,
------------------------------
Steve Waters
Platform Consultant
Blue Prism Professional Services
America/Chicago
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
16-06-20 07:27 PM
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.
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.
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?
------------------------------
Mayank Goyal
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
19-06-20 01:48 PM
The only the Login Agent does is allow connectivity to a Runtime Resource that is not logged in. That's why it runs as a service.
In most cases Runtime Resources are configured to launch the Runtime Resource script (Automate.exe) via the Task Scheduler at login, so it would make sense if you had multiple RDP sessions you would have multiple Runtimes as well.
There are tools like VNC that would let you monitor a process on a Runtime without logging into it.
As a rule it is best practice to separate Development and Production environments. Note that BP licenses only apply to Production Processes.
Cheers
------------------------------
Steve Waters
Platform Consultant
Blue Prism Professional Services
America/Chicago
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-07-20 06:22 PM
------------------------------
Aaran Fraser-Hitchen
Software Developer
QinetiQ
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
08-07-20 05:41 AM
------------------------------
Mayank Goyal
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
08-07-20 12:36 PM
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.
Cheers,
------------------------------
Eric Wilson
Director, Partner Integrations for Digital Exchange
Blue Prism
------------------------------
