To check the status of a virtual machine (VM) in UiPath, you can use the Get VM Status activity. This activity allows you to check the status of a VM by connecting to a remote desktop and checking the status of the VM.
To use this activity, you will need to have the Remote Desktop Connection (RDC) client installed on the machine running UiPath, and you will need to have the appropriate credentials to connect to the remote desktop.
Here’s an example of how to use the Get VM Status activity:
Drag the Get VM Status activity onto the designer panel.
In the Computer field, enter the name or IP address of the remote desktop where the VM is located.
In the Username and Password fields, enter the credentials for the remote desktop.
In the VM Name field, enter the name of the VM that you want to check the status of.
Run the workflow. The Get VM Status activity will connect to the remote desktop and check the status of the specified VM. The status of the VM will be returned as an output of the activity.
If you have your Robot connected to Orchestrator you can send an email about robot being disconnected to your email (in Orchestrator Profiles) - directly from Orchestrator. Here is an example from our own tenant:
It’s pretty easy to configure Alerts in Orchestrator. Login to your UiPath Platform, navigate to Orchestrator and on the top right you should see a bell. Please navigate as demonstrated on my screenshot:
Click Bell Icon (“Alerts”)
Click Gear Icon (“Open Alert Preferences”)
By doing this you will get to the Alerst Site, where you can configure or subscribe/unsubscribe to all alerts. Make sure to have “Unattended Robot is disconnected” marked/checked.
The “alert” will be sent to your email-address connected in Orchestrator, usually this should be your email you login with.
For customer we do support tasks, we often put a generic support email-address, so all the errors will be combined in one support email-address.
Hope this helps and if it does kindly mark as solution to close this and help others to find about this
Hi @Ashok98
I am not sure if I understand correctly.
You have an unattendend Robot, that is running on a VM, right?
All you want to know is, when the VM with the unattended Robot is disconnected / not available, right?
If it didn’t work correctly, make sure the user who wants to receive alerts is assigned in the Folder in Orchestrator.
So if I understand correctly you want to inform lets say a business user who uses the robot?
In this case to inform him via alerts you would have to invite him into Orchestrator and allow his account as automation user into the same folder as the robot process is running. After that you can go into his preferences / alerts, like demonstrated above.