Access is denied Source: Kill Process

Here is a link to KillProcessPerUser on Go: https://go.uipath.com/component/killprocessesperuser

Just to add…
If you have administrative rights, the Kill Process activity will kill all processes on that server. So, if multiple users or robots are using Excel and one kills it, all Excel processes get killed.

If you do not have administrative rights, it will try to kill the processes but give you access is denied. I believe you can set the ContinueOnError property to True, and this error will not occur.

If you decide to go with the Kill Process Per User method, it essentially will look for the session id and filter the processes by the current session id. Therefore, it will not even look at processes located on other users.

Regards.

2 Likes