473,566 Members | 3,309 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

List Processes running on remote machine? How?

I would like to get a list of running processes on a remote machine.

How is this possible via VB.Net? Is it possible? Can someone point me in
the right direction.
thanks,

rog
Nov 20 '05 #1
5 13758
Roger,
There is a method GetProcesses in System.Diagnost ics.Process
class:

try this example:
Dim ps As System.Diagnost ics.Process
For Each ps In System.Diagnost ics.Process.Get Processes(<comp utername>)
Console.WriteLi ne(ps)
Next ps

replace <computername > with computer name you would like
to get running processes of. Make sure you've permissions on remote
computer to get list of processes.

--
Hope this helps,
Zeeshan Mustafa, MCSD
"Roger" <da*****@netins .net> wrote in message
news:%2******** ********@TK2MSF TNGP09.phx.gbl. ..
I would like to get a list of running processes on a remote machine.

How is this possible via VB.Net? Is it possible? Can someone point me in
the right direction.
thanks,

rog


Nov 20 '05 #2
I am getting a message : Feature is not supported for remote machines.

What does this mean?

I can connect to the computer and get drive space on both drives
(via VB.Net Code) as I have admin rights to the remote computer.

Thanks,

Rog

"M. Zeeshan Mustafa" <ze*****@no-spm.please.zees han.net> wrote in message
news:eo******** ******@tk2msftn gp13.phx.gbl...
Roger,
There is a method GetProcesses in System.Diagnost ics.Process
class:

try this example:
Dim ps As System.Diagnost ics.Process
For Each ps In System.Diagnost ics.Process.Get Processes(<comp utername>)
Console.WriteLi ne(ps)
Next ps

replace <computername > with computer name you would like
to get running processes of. Make sure you've permissions on remote
computer to get list of processes.

--
Hope this helps,
Zeeshan Mustafa, MCSD
"Roger" <da*****@netins .net> wrote in message
news:%2******** ********@TK2MSF TNGP09.phx.gbl. ..
I would like to get a list of running processes on a remote machine.

How is this possible via VB.Net? Is it possible? Can someone point me in the right direction.
thanks,

rog


Nov 20 '05 #3
I dont know why this problem is coming, Do you think RPC is enabled
on your computer and on remote computer? I think it works over RPC.

Test yourself using a script available at:
http://www.microsoft.com/technet/com.../scrpcs04.mspx

replace computer name with your computer name, and save it in .vbs file
and try.

good luck..

--
Hope this helps,
Zeeshan Mustafa, MCSD
"Roger" <da*****@netins .net> wrote in message
news:OL******** ******@TK2MSFTN GP09.phx.gbl...
I am getting a message : Feature is not supported for remote machines.

What does this mean?

I can connect to the computer and get drive space on both drives
(via VB.Net Code) as I have admin rights to the remote computer.

Thanks,

Rog

"M. Zeeshan Mustafa" <ze*****@no-spm.please.zees han.net> wrote in message
news:eo******** ******@tk2msftn gp13.phx.gbl...
Roger,
There is a method GetProcesses in System.Diagnost ics.Process
class:

try this example:
Dim ps As System.Diagnost ics.Process
For Each ps In System.Diagnost ics.Process.Get Processes(<comp utername>)
Console.WriteLi ne(ps)
Next ps

replace <computername > with computer name you would like
to get running processes of. Make sure you've permissions on remote
computer to get list of processes.

--
Hope this helps,
Zeeshan Mustafa, MCSD
"Roger" <da*****@netins .net> wrote in message
news:%2******** ********@TK2MSF TNGP09.phx.gbl. ..
I would like to get a list of running processes on a remote machine.

How is this possible via VB.Net? Is it possible? Can someone point
me
in the right direction.
thanks,

rog



Nov 20 '05 #4
I finally got it to work. Some processes.names are causing trappable
errors, so now I just trap and go on.

I have noticed I am not getting the whole list of processes that are showing
up on the remote machines task manager process list?

Do you happen to have any insite on this?

thanks,

Roger

"M. Zeeshan Mustafa" <ze*****@no-spm.please.zees han.net> wrote in message
news:%2******** **********@tk2m sftngp13.phx.gb l...
I dont know why this problem is coming, Do you think RPC is enabled
on your computer and on remote computer? I think it works over RPC.

Test yourself using a script available at:
http://www.microsoft.com/technet/com.../scrpcs04.mspx
replace computer name with your computer name, and save it in .vbs file
and try.

good luck..

--
Hope this helps,
Zeeshan Mustafa, MCSD
"Roger" <da*****@netins .net> wrote in message
news:OL******** ******@TK2MSFTN GP09.phx.gbl...
I am getting a message : Feature is not supported for remote machines.

What does this mean?

I can connect to the computer and get drive space on both drives
(via VB.Net Code) as I have admin rights to the remote computer.

Thanks,

Rog

"M. Zeeshan Mustafa" <ze*****@no-spm.please.zees han.net> wrote in message news:eo******** ******@tk2msftn gp13.phx.gbl...
Roger,
There is a method GetProcesses in System.Diagnost ics.Process
class:

try this example:
Dim ps As System.Diagnost ics.Process
For Each ps In System.Diagnost ics.Process.Get Processes(<comp utername>)
Console.WriteLi ne(ps)
Next ps

replace <computername > with computer name you would like
to get running processes of. Make sure you've permissions on remote
computer to get list of processes.

--
Hope this helps,
Zeeshan Mustafa, MCSD
"Roger" <da*****@netins .net> wrote in message
news:%2******** ********@TK2MSF TNGP09.phx.gbl. ..
> I would like to get a list of running processes on a remote machine.
>
> How is this possible via VB.Net? Is it possible? Can someone point

me
in
> the right direction.
>
>
> thanks,
>
> rog
>
>



Nov 20 '05 #5
Roger sorry this does'nt happen with me.

If you are unable to find a way, why not put a web
service on remote computer and call it to get a list of processes?

--
Hope this helps,
Zeeshan Mustafa, MCSD
"Roger" <da*****@netins .net> wrote in message
news:uH******** ******@tk2msftn gp13.phx.gbl...
I finally got it to work. Some processes.names are causing trappable
errors, so now I just trap and go on.

I have noticed I am not getting the whole list of processes that are showing up on the remote machines task manager process list?

Do you happen to have any insite on this?

thanks,

Roger

"M. Zeeshan Mustafa" <ze*****@no-spm.please.zees han.net> wrote in message
news:%2******** **********@tk2m sftngp13.phx.gb l...
I dont know why this problem is coming, Do you think RPC is enabled
on your computer and on remote computer? I think it works over RPC.

Test yourself using a script available at:

http://www.microsoft.com/technet/com.../scrpcs04.mspx

replace computer name with your computer name, and save it in .vbs file
and try.

good luck..

--
Hope this helps,
Zeeshan Mustafa, MCSD
"Roger" <da*****@netins .net> wrote in message
news:OL******** ******@TK2MSFTN GP09.phx.gbl...
I am getting a message : Feature is not supported for remote machines.
What does this mean?

I can connect to the computer and get drive space on both drives
(via VB.Net Code) as I have admin rights to the remote computer.

Thanks,

Rog

"M. Zeeshan Mustafa" <ze*****@no-spm.please.zees han.net> wrote in message news:eo******** ******@tk2msftn gp13.phx.gbl...
> Roger,
> There is a method GetProcesses in System.Diagnost ics.Process
> class:
>
> try this example:
> Dim ps As System.Diagnost ics.Process
> For Each ps In System.Diagnost ics.Process.Get Processes(<comp utername>) > Console.WriteLi ne(ps)
> Next ps
>
> replace <computername > with computer name you would like
> to get running processes of. Make sure you've permissions on remote
> computer to get list of processes.
>
> --
> Hope this helps,
> Zeeshan Mustafa, MCSD
>
>
> "Roger" <da*****@netins .net> wrote in message
> news:%2******** ********@TK2MSF TNGP09.phx.gbl. ..
> > I would like to get a list of running processes on a remote machine. > >
> > How is this possible via VB.Net? Is it possible? Can someone
point me
in
> > the right direction.
> >
> >
> > thanks,
> >
> > rog
> >
> >
>
>
>



Nov 20 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1119
by: yoda | last post by:
Hello Hackers, I'm developing a large scale distributed service and part of the requirement is that I be able to monitor clients in a very granular way. To this end, I'd like to know if there is any way to get a list of all the processes running on a remote client\machine. I need to be able to do this on demand. (i.e on user demand) ...
5
15054
by: Roger | last post by:
I would like to get a list of running processes on a remote machine. How is this possible via VB.Net? Is it possible? Can someone point me in the right direction. thanks, rog
7
717
by: Yosh | last post by:
I am developing an application that will stop and start a process on a remote machine. What security rights are needed for my application to be able to do this? Hope this makes sense. Yosh
1
13719
by: Chidvilas | last post by:
// Get all processes running on the remote computer. Process remoteAll = Process.GetProcesses("XYZ"); when I am exectuing the above code, it is giving excetpion saying "Couldn't get process information from remote machine." though my network connection is perfect and "XYZ" is my remote computers full computer name. I tried the same with IP...
0
1347
by: GrantMagic | last post by:
Hi I am currently trying to use a test machine to access web site files on a remote machine. Once set up IIS with the files pointing to a share on the remote machine, i try view the default page. I get an error message statting 'The base type 'NameSpace.Class.Default' does not exist in the source file 'Default.cs'.' where namespace and...
7
10134
by: Ctal | last post by:
What is the best way to have my windows app run a .bat file on a remote server? The .bat will need to run as an admin on the remote machine. Additonally I need for my windows app to wait for the .bat to finish.
0
1287
by: DR | last post by:
How to debug sql 2005 on remote machine. I am administrator on both my dev machine and remote sql server machine. I get this error when i try to connect to remote machien with visual studio: unable to connect to microsoft vistual studio remote debugging monitor named msdb3. the microsfot visual studio remote debugging montor (msvsmon.exe)...
0
2032
by: srinivasan srinivas | last post by:
This is ok. Is there any other way to find it out? Thanks, Srini ----- Original Message ---- From: Gerhard Häring <gh@ghaering.de> To: python-list@python.org Sent: Friday, 20 June, 2008 10:03:30 PM Subject: Re: Execute a script on a remote machine
0
7673
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7584
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7893
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
6263
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5213
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3643
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1202
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
926
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.