473,499 Members | 1,593 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 13753
Roger,
There is a method GetProcesses in System.Diagnostics.Process
class:

try this example:
Dim ps As System.Diagnostics.Process
For Each ps In System.Diagnostics.Process.GetProcesses(<computern ame>)
Console.WriteLine(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****************@TK2MSFTNGP09.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.zeeshan.net> wrote in message
news:eo**************@tk2msftngp13.phx.gbl...
Roger,
There is a method GetProcesses in System.Diagnostics.Process
class:

try this example:
Dim ps As System.Diagnostics.Process
For Each ps In System.Diagnostics.Process.GetProcesses(<computern ame>)
Console.WriteLine(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****************@TK2MSFTNGP09.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**************@TK2MSFTNGP09.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.zeeshan.net> wrote in message
news:eo**************@tk2msftngp13.phx.gbl...
Roger,
There is a method GetProcesses in System.Diagnostics.Process
class:

try this example:
Dim ps As System.Diagnostics.Process
For Each ps In System.Diagnostics.Process.GetProcesses(<computern ame>)
Console.WriteLine(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****************@TK2MSFTNGP09.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.zeeshan.net> wrote in message
news:%2******************@tk2msftngp13.phx.gbl...
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**************@TK2MSFTNGP09.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.zeeshan.net> wrote in message news:eo**************@tk2msftngp13.phx.gbl...
Roger,
There is a method GetProcesses in System.Diagnostics.Process
class:

try this example:
Dim ps As System.Diagnostics.Process
For Each ps In System.Diagnostics.Process.GetProcesses(<computern ame>)
Console.WriteLine(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****************@TK2MSFTNGP09.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**************@tk2msftngp13.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.zeeshan.net> wrote in message
news:%2******************@tk2msftngp13.phx.gbl...
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**************@TK2MSFTNGP09.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.zeeshan.net> wrote in message news:eo**************@tk2msftngp13.phx.gbl...
> Roger,
> There is a method GetProcesses in System.Diagnostics.Process
> class:
>
> try this example:
> Dim ps As System.Diagnostics.Process
> For Each ps In System.Diagnostics.Process.GetProcesses(<computern ame>) > Console.WriteLine(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****************@TK2MSFTNGP09.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
1111
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...
5
15045
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
13707
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...
0
1341
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...
7
10112
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...
0
1279
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: ...
0
2017
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...
0
7009
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...
0
7178
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,...
0
5475
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,...
1
4919
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3103
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...
0
3094
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1427
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
665
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
302
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...

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.