Getting an exception on Kill Process


#1

Hi,

I want to close the folder and so I have used Kill Process activity with given the process name as “explorer”.
But on sudden I started getting an issue like - Kill process : Encountered errors while trying to kill a process.

Please help if anyone knows !

Thanks in advance :slight_smile:
Hemal


#2

if you just want to close the folder you can use either close application or close window and indicate the window which you want to close… there is no need to use kill process just for close folder purpose


#3

Hi @hemal,

I tried to close folders using Kill process activity with process name as explorer. It didn’t throw any error for me.

Can you please elaborate on your issue. Provide complete exception message.

Regards,
Rahamat


#4

Hi @rahamtullah,

I am using killprocess with process name as ‘explorer’.

And getting an exception like,

Regards,
Hemal


#5

Thanks @Divyashreem. Let me work with that activity.


#6

Hi @hemal,

i hope you are trying to (IE)kill the process

Process Name is iexplore

if you are trying to close any folder window, use close window activity
Process Name : explorer

Regards,
Arivu


#7

Hi @arivu96,

I am trying to close Windows explorer - Process name - explorer

Regards,
Hemal


#8

Hi @hemal,

i have checked using kill process -> process name explorer its working fine.

can you restart UiPath and check again

Regards,
Arivu


#9

Hi @arivu96,

oh! I don’t know that why it’s not working in my system only !
Let me check it again. Thanks :slight_smile:

Regards,
Hemal


#10

Hi @arivu96,

I have restarted UiPath and it’s working fine now ! Thank you :slight_smile:
It is strange. I mean sometimes i get that issue on sudden base.

Regards,
Hemal


#11

Hi,

it’s working fine now. As I have restarted it. Thanks for your help.

Reagrds,
Hemal