Control Room suddenly useless - Can start any process on any machine whether it's logged in or not - obvious error and swiftly terminates
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-04-19 12:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
08-04-19 07:11 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
08-04-19 09:41 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
08-04-19 09:49 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-04-19 03:36 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
17-06-19 03:32 PM
------------------------------
Ami Barrett
Lead RPA Software Developer
Solai & Cameron
America/Chicago
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
25-04-20 02:17 AM
Will this .bat allow me to close RDP and have my processes still running? Sadly RDP is the only tool we have to connect to server and resource PCs.
I've configured 2 VMs, one as server and the other as client. I've scheduled 2 different process at different schedules. One uses Login Agent to login, and the other does 'Global Mouse Clic Center' actions on calculator for 2 minutes.
If I connect using RDP to the resource PC while process is running, it will "pause" for a few seconds and then starts clicking buttons again. If I close the RDP session, control room will show the process as "running", but it will not clic on any button, like if it paused forever.
Any friendly suggestion?
------------------------------
David Vizcaíno
RPA Programmer
EY
America/Bogota
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
26-04-20 05:46 PM
That is the intent of the bat file, yes.
Treat a VM like any desktop without an attached monitor. If you RDP into a physical box, the local system will display a lock screen, while the active session is being virtualized. Upon logging out, there is no longer any virtualization, thus the local system has no desktop to interact with. Rather than permenantly pause, this should cause a failure on anything requiring accessibility, UIA, or Region mode access.
Its also worth noting, that because it has no screen attached, the default resolution will be somewhere around 800x600. You can change this via powershell on disconnect, to 1200x800, which I think is the max resolution without an attaches screen. These resolution changes may have an effect on your automation.
The pause you're experiencing may have to do with it reconfiguring the session between the local and remote connections.
------------------------------
Ami Barrett
Sr Product Consultant
Blue Prism
Plano, TX
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
27-04-20 05:59 PM
Hi, I've configured a new task to run a the .bat, triggering on RDP disconnection according to the following event IDs:
- EventID – 24 (
Remote Desktop Services: Session has been disconnected
) – a user has disconnected from the RDP session; - EventID – 25 (
Remote Desktop Services: Session reconnection succeeded
) – a user has reconnected to the existing RDP session on the server; - EventID – 39 (
Session <A> has been disconnected by session <B>
) – a user has disconnected from RDP session by selecting the corresponding menu option (instead of just closing the RDP client window). If the session IDs are different, a user has been disconnected by another user (or an administrator); - EventID – 40 (
Session <A> has been disconnected, reason code <B>
). Here you must view the disconnection reason code in the event description. - EventID 23 (
Remote Desktop Services: Session logoff succeeded
), refers to the user logoff from the system.
Your .bat runs OK, only when I close the RDP sessions it brings back the console session. The only problem is that is shows the 20 cmd windows, one for each tscon line you mentioned on previous comments. Therefore my process fails to find the buttons on my application due to all the cmd windows opening and closing.
I noticed the "@ECHO off" on first line of the.bat, which will mean everything runs without windows displaying. Am I running an outdated version of the .bat, maybe?
I also tried changing the user account under which the task runs on the task scheduler to SYSTEM, or checking the "Run whether is logged on or not" checkbox. The cmd Windows don't show but the .bat doesn't bring back the session to console.
Do you have any updated version of the .bat? How did you get this to work?
Thank you
------------------------------
David Vizcaíno
RPA Programmer
EY
America/Bogota
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
27-04-20 06:03 PM
This solution is pretty amazing and stunning.
I would like to understand to source of this problem (not able to see the history conversation).
Do you have a control room to start the process to avoid to enter into the Runtime Resource? Or, do you any a special business requirement to do that?
Just to know.
Best regards.
|
------Original Message------
@AmiBarrett
Hi, I've configured a new task to run a the .bat, triggering on RDP disconnection according to the following event IDs:
- EventID – 24 (
Remote Desktop Services: Session has been disconnected
) – a user has disconnected from the RDP session; - EventID – 25 (
Remote Desktop Services: Session reconnection succeeded
) – a user has reconnected to the existing RDP session on the server; - EventID – 39 (
Session <A> has been disconnected by session <B>
) – a user has disconnected from RDP session by selecting the corresponding menu option (instead of just closing the RDP client window). If the session IDs are different, a user has been disconnected by another user (or an administrator); - EventID – 40 (
Session <A> has been disconnected, reason code <B>
). Here you must view the disconnection reason code in the event description. - EventID 23 (
Remote Desktop Services: Session logoff succeeded
), refers to the user logoff from the system.
Your .bat runs OK, only when I close the RDP sessions it brings back the console session. The only problem is that is shows the 20 cmd windows, one for each tscon line you mentioned on previous comments. Therefore my process fails to find the buttons on my application due to all the cmd windows opening and closing.
I noticed the "@ECHO off" on first line of the.bat, which will mean everything runs without windows displaying. Am I running an outdated version of the .bat, maybe?
I also tried changing the user account under which the task runs on the task scheduler to SYSTEM, or checking the "Run whether is logged on or not" checkbox. The cmd Windows don't show but the .bat doesn't bring back the session to console.
Do you have any updated version of the .bat? How did you get this to work?
Thank you
------------------------------
David Vizcaíno
RPA Programmer
EY
America/Bogota
------------------------------
