Connect HomeMarketplaceComponentsSopra Steria - Kill Process for Current User

Sopra Steria - Kill Process for Current User

Snippet

Snippet

Updated: October 19th, 2020

Published: September 22nd, 2020

Downloads: 5

Industry: cross-industry

Language compatibility: C#, Visual Basic

Community Support

Sopra Steria - Kill Process for Current User

Snippet

Summary: 

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

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.

Details

Benefits

It kills the process for the current logged in user.

Compatibility

UiPath Studio version 2018.3 onwards

Dependencies

NA

Licensing

By clicking download you agree to the following license.