How To Troubleshoot Error : "An Error Occurred While We Tried To Start The Process In Picture In Picture"

When it it is unable to run the process in "Picture in Picture" and throws error as : An error occurred while we tried to start the process in Picture in Picture ?

Issue Description: Not able to run the process in Picture in Picture and throwing error as : An error occurred while we tried to start the process in Picture in Picture .

Error Screenshot :

Resolution : In such scenario, collect the Diagnostic Tool logs from the machine by following the below steps

  • Replicate the behavior
  • Go to UiPath installation folder (C:\Program Files (x86) or Program Files\UiPath\Studio or %localappdata%\UiPath \Studio)
  • Open DiagnosticTool, select the Studio/Robot option and go through the steps (next, next, next)
  • Check the resulted .zip file

If the error event lists as below - ChildSession Disconnected : The System Administrator has restricted the types of logon (network or interactive) that can be used

![](upload://lrkRcXbmAQH6UJeUDPrWIYZefh6.html)

This is more likely that the Child session creation is blocked by the Administrator on the machine by some sort of local or domain policy that restricts the machine from having any type of interactive sessions, which unfortunately affects PiP, as it is a special kind of session (Child sessions ) .

Get in touch with the help of Internal Infrastructure Team and validate the same if any such policy is imposed on the machine.


Note : Make sure that the user is added to the policy “Allow log on through Remote Desktop Services”, which is necessary for PiP session.