After installation how to check if Robot in Service Mode or User Mode

Run the below PowerShell script in a powershell.exe console and check the results:

$servicename = "UiRobotSvc"
if (Get-Service $servicename -ErrorAction SilentlyContinue)
{
Write-Host "$servicename service exists -> That means the robot is installed in Service Mode (Unattended Robot)."
Get-CimInstance -ClassName Win32_Service | Where-Object Name -eq 'UiRobotSvc' | Format-Table -Property ProcessId,Name,DisplayName,StartMode,State,Status  -AutoSize -Wrap
}
Else {
Write-Host "$servicename not found -> That means the robot is installed in User Mode (Attended robot) or not installed at all."
}