Some content on this site is available only to logged-in subscribers. Contact Us for information on becoming a subscriber.

InSource.Solutions | InSource Training | InSource Client Portal
InSource Solutions Logo
Log In Sign Up
InSource.Solutions InSource Training InSource Client Portal Log In Sign Up
  • Home
  • AVEVA Application Server
  • AVEVA Application Server Tech Notes

How to find out if a Windows process is running on another pc.

Last updated: February 27th, 2025

Description

  • Author: Brian Schneider
  • Published: February 27th, 2025

Details:

Description

How to find out if a Windows process is running on another PC.

Problem Statement

How to find out if a Windows process is running on another PC.

Solution Details

First you will need to create two UDA’s in an Object or Platform.

Process (String),Result (String)

Next you will need to create a script. This is periodic. Yours could be based off a true or false.

Here is the code:

dim x as system.diagnostics.process;

x = new system.diagnostics.process();

for each x in system.diagnostics.process.getprocesses();

Me.process = x.tostring();

If me.process == "System.Diagnostics.Process (notepad)"

Then me.result = "found";

exit for;

Else me.result = "notfound";

ENDIF;

next

Where notepad is in the parenthesis you will need to put the name of the executable you would like to check without the exe.

If you look in the objectviewer you will see two tags. Object.Process and Object.Result.

If your process is not found then the object.result will say "notfound".

remote process detection
Give feedback about this article

Recommended articles

How to receive group emails

Read More
Support Icon

CONTACT SUPPORT

How to reach us

10800 Midlothian Turnpike Tpke, Suite 209, Richmond, VA 23235

1.877.INSOURCE

Technical Support - 1.888.691.3858

Contact Us

  • InSource Solutions
  • InSource Training
  • InSource Client Portal
  • Log In
InSource Solutions Logo

© 2025 InSource Solutions. All Rights Reserved.

Knowledge Base Software powered by Helpjuice

Expand