# Access denied error with kill process

**URL:** <https://forum.uipath.com/t/access-denied-error-with-kill-process/696799>\
**Category:** Orchestrator\
**Tags:** question, orchestrator, system, activities\
**Created:** [November 14, 2023, 5:13pm UTC](https://forum.uipath.com/t/access-denied-error-with-kill-process/696799 "2023-11-14T17:13:56Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Luis\_Fernando](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/luis_fernando/32/390790_2.png) [@Luis\_Fernando](https://forum.uipath.com/u/Luis_Fernando)\
**Post date:** [November 14, 2023, 5:13pm UTC](https://forum.uipath.com/t/access-denied-error-with-kill-process/696799/1 "2023-11-14T17:13:56Z")

</div>

Hello community,  
I keep getting this error while trying to perform a kill process operation, it basically says “Access denied” but in the images it´s in spanish. any clue?

 ![IMG_2109](https://global.discourse-cdn.com/uipath/original/4X/e/6/b/e6b78ae38c44e57becf0b68682da722c25fd8c6c.jpeg)  
 ![IMG_2108](https://global.discourse-cdn.com/uipath/original/4X/e/6/2/e62334729b5396ef2e0c9e92a38b27380ffe5136.jpeg)

---

<div class="post-metadata">

**Author:** ![Shiva\_Nikhil](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/shiva_nikhil/32/267408_2.png) [@Shiva\_Nikhil](https://forum.uipath.com/u/Shiva_Nikhil)\
**Post date:** [November 14, 2023, 5:19pm UTC](https://forum.uipath.com/t/access-denied-error-with-kill-process/696799/2 "2023-11-14T17:19:14Z")

</div>

@Luis_Fernando

Basically the issue occurs while running the process in debug mode

when you run the process in Run mode you will not face any issue

---

<div class="post-metadata">

**Author:** ![Luis\_Fernando](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/luis_fernando/32/390790_2.png) [@Luis\_Fernando](https://forum.uipath.com/u/Luis_Fernando)\
**Post date:** [November 14, 2023, 5:29pm UTC](https://forum.uipath.com/t/access-denied-error-with-kill-process/696799/3 "2023-11-14T17:29:22Z")

</div>

No, actually the error it also thrown with the process published in Orchestrator

---

<div class="post-metadata">

**Author:** ![ppr](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/ppr/32/464097_2.png) [@ppr](https://forum.uipath.com/u/ppr)\
**Post date:** [November 14, 2023, 5:46pm UTC](https://forum.uipath.com/t/access-denied-error-with-kill-process/696799/4 "2023-11-14T17:46:43Z")

</div>

lets assume you want to kill the chrome processes belonging to the bot (not from other scopes)

![grafik](https://global.discourse-cdn.com/uipath/original/4X/6/6/9/669ea556a6b83bb5f0f21e7b4f77e21a1f26809d.png)

how is your kill process configured?

---

<div class="post-metadata">

**Author:** ![Luis\_Fernando](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/luis_fernando/32/390790_2.png) [@Luis\_Fernando](https://forum.uipath.com/u/Luis_Fernando)\
**Post date:** [November 14, 2023, 5:49pm UTC](https://forum.uipath.com/t/access-denied-error-with-kill-process/696799/5 "2023-11-14T17:49:35Z")

</div>

Hello @ppr  
At the moment that property is empty

---

<div class="post-metadata">

**Author:** ![postwick](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/postwick/32/227083_2.png) [@postwick](https://forum.uipath.com/u/postwick)\
**Post date:** [November 14, 2023, 6:05pm UTC](https://forum.uipath.com/t/access-denied-error-with-kill-process/696799/6 "2023-11-14T18:05:23Z")

</div>

Kill Process tries to kill the process for all users on the machine unless you tell it otherwise, and generallly you need administrator permissions to kill processes for other users. This can be dangerous, as you could have other jobs running under other users and killing the process could interfere with those jobs.

Set the Applies To property to OnlyCurrentSession:

![image](https://global.discourse-cdn.com/uipath/original/4X/8/7/7/877ac4a9f26cd65d7d78b711d70781b079599204.png)

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/system/32/182466_2.png) [@system](https://forum.uipath.com/u/system)\
**Post date:** [November 17, 2023, 6:06pm UTC](https://forum.uipath.com/t/access-denied-error-with-kill-process/696799/7 "2023-11-17T18:06:13Z")

</div>

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
