I need to close opened application or kill all processes if any opened before my automation runs. Every time i am facing issue in my citrix automation to find my application page, if other windows are in opened state. I tried Alt+F4 also but when it runs from scheduler it doesn’t work.
Please help me to kill all opened windows if any
1.)Use kill process activity and pass the process name or
2.)send kot key win+r and then type like this for example for to kill IE “taskkill /f /t /im iexplore.exe[k(enter)]”
Problem is every time different windows opened, its an common VM, so user working on it and keeping there worked window opened, it could be anything from folder to system upgrade windows
Hi @NagaSujitha i got you problem but if we want to close the any application we need to know the process name then only we can kill . or do one thing send hot key win+D to minimize the all the opened applications or folders
Hi buddy @NagaSujitha
This can be handled with two way
We can use KILL PROCESS Activity
Where this activity has a property called PROCESS NAME in which we need to mention the process name. And to get the process name exactly go to Start - View Task Manager - Go to process tab and see the name of the process and if it is for example EXCEL.exe then we need to mention the process name alone without extension in the process name property like this “EXCEL” https://activities.uipath.com/docs/kill-process
Or get the output from the open application activity from the property windows with a variable and pass that as input to an activity called Close window activity to its property named windows under input tag in property panel
Hope this would help you buddy
Kindly try this and let know for any queries or clarification
Cheers @NagaSujitha