MarketplaceListingsSnippetSopra Steria - Kill Process for Current User

Sopra Steria - Kill Process for Current User

Bronze Certified

Snippet

0 reviews

15

Sopra Steria - Kill Process for Current User

Bronze Certified

Snippet

0 reviews

15


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: 01 Oct 2020 | Updated: 19 Oct 2020

Trusted Source


License

Apache 2.0


Code Language

C#, Visual Basic


Runtime

Windows Legacy (.Net Framework 4.6.1)


Tags

EndProcess
KillProcess
ProcessTerminate

Compatibility

UiPath Studio version 2018.3 onwards


Dependencies

NA


Similar Listings