MarketplaceListingsSnippetSopra Steria - Kill Process for Current User

Sopra Steria - Kill Process for Current User

Bronze Certified

Snippet

0 reviews

5

Sopra Steria - Kill Process for Current User

Bronze Certified

Snippet

0 reviews

5


Summary

This snippet helps in killing the processes started by current logon session

carouselImage0

Overview

In certain scenarios, when "Kill Processes" activity is used, it throws "Access is denied" error if it encounters a process running in a different logon session ( generally on servers with multiple users).

This snippet accesses the information of running processes and loops through the list of processes to check for the ones to be killed and started by the current logged in user. It kills the process when a match for aforementioned conditions is found.

Benefits


Published: 2020-10-01T07:56:43+00:00 | Updated: 2020-10-19T15:18:17+00:00

Trusted Source


License

Apache 2.0


Code Language

C#, Visual Basic


Tags

EndProcess
KillProcess
ProcessTerminate

Compatibility

UiPath Studio version 2018.3 onwards


Dependencies

NA


Similar Listings