Hi All,
I just want to kill the application and I used get process and then pass for each after that I applied kill process but I get error (“Index was outside the bound of array”).
In kill process , I used-system.diagnostics.process.getprocessbyname(“Internet Explorer”)(0)
are you trying to kill the internet explorer ? then try this …
send hot key win+r and then send this
in type into activity
“taskkill /f /t /im iexplore.exe[k(enter)]”
please find the below workflow . This kills current session of the applications listed in the string array . KillProcessesFromCurrentSession.xaml (14.3 KB)