MarketplaceStudioSnippetKill Processes per User

Create your first automation in just a few minutes.Try Studio Web

Kill Processes per User

Kill Processes per User

by Clayton Marischen

3

Snippet

Downloads

402

back button
back button
carouselImage0
next button
next button

Summary

Summary

Hard kill from a list of process names to clean Windows environment of open applications for the active user / robot

Overview

Overview

With high-density server environments, this shared workflow can be used as part of the ReFramework or other frameworks to kill any open processes or applications that could potentially interrupt a job from running successfully.

This component will essentially only kill processes under the active user logon session.

Additionally, this component can be published as a job to run daily or adhoc to ensure environments are kept tidy.

If explorer is killed, the component is coded to start explorer again until the taskbar is found

Arguments

  • Processes_Filepath => location of processes to be killed if Process_KillList is empty
  • Process_ExcludeList => if desired, processes can be excluded from the kill list
  • Process_KillList => choice to list processes to be killed instead of using a text file

If a Process Name is not known, a list of all available processes will be listed in the Output panel from within Studio. An example text file of process names will be provided with component upload and also in the screenshots.

Note: Some applications, such as Mainframe terminals, may require some soft kill actions in order to exit certain screens before a hard kill is performed; this should be considered prior to running this hard kill component, so systems are not locked up.

Further in-code documentation.

Features

Features

Can be used at the beginning, after an exception, and at the end of a process to hard kill all processes from a list of process names. This component will only kill the processes found in the active user logon session, so this is useful for high-density robot environments.

Additional Information

Additional Information

Dependencies

Workflow Manager Activities --- required in the project's dependencies for IsTrue activity

Code Language

Visual Basic

Publisher

Clayton Marischen

Visit publisher's page

License & Privacy

Apache

Privacy Terms

Technical

Version

1.0.1

Updated

February 18, 2020

Works with

Studio: 18.2 - 22.10

Certification

Silver Certified

Application

Microsoft Windows

Support

UiPath Community Support

Similar Listings