Click here to Skip to main content
15,891,529 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Is there any way to get the running process of task manager from another computer?

I want to get all the running process on another computer.

What I have tried:

I have tried with the following code but it is working for all networked computers

// Get all instances of Notepad running on the specific computer, using machine name.
Process[] remoteByName = Process.GetProcessesByName("notepad","anotherComputerName");

// Get all instances of Notepad running on the specific computer, using IP address.
Process[] ipByName = Process.GetProcessesByName("notepad", "172.168.40.12");
Posted
Updated 20-Jul-16 20:29pm

1 solution

You could create a Task Manager-like server application (using Windows API, see, for instance Karl E. Peterson's Classic VB Code: TaskList[^]) on the remote machine and then query it from the local one.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900