Getting an exception on Kill Process

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

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

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

1 Like

Hi @rahamtullah,

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

And getting an exception like,

Regards,
Hemal

Thanks @Divyashreem. Let me work with that activity.

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

Hi @arivu96,

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

Regards,
Hemal

Hi @hemal,

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

can you restart UiPath and check again

Regards,
Arivu

1 Like

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

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

Hi,

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

Reagrds,
Hemal