Hi, thank you for the reply and suggestion.
I have setup a shortcut that runs RDPExit to ensure that the remote user exits the system properly – but, unfortuantely it did not work.
The problem that I am having is that I cannot detect when a windows dialog that is not attached to the Meditech window comes up so there is no way to handle it. The only action I can take is to time out the step. This is a problem when I have a Meditech operation changes duration based on amount of data. If I knew that it always took 15 seconds, then I could handle it with a timeout, but if it ranges from 15 seconds to 4 minutes, it is a bit more difficult. If I attempt to restart, there is no guarrantee that the same problem will not happen again.
Is there a way to detect a window popup and handle it in VBA?
Is there a way to enable desktop interactivity in powershell when I call the BSS script?
Thank you!