Hi @Rani1978
Please try the attached workflow. It will kill all the foreground processes except UiPath.Executor and UiPath.Studio
Hope this will help Main.xaml (5.1 KB)
Thanks Anoop