Having problems using the GetProcesses from a remote computer

  • Thread starter Thread starter Steve D
  • Start date Start date
S

Steve D

I am writing a program that monitors processes on remote computers. I am
using Process.GetProcesses(remotecomputername), and it works for some of
the computers on the network, but not all of them. Some of the computers
give me an Access Denied error. It says that it couldn't get the
processes from the remote computer. If anyone could help me fix this, it
would greatly appreciated.
 
* Steve D said:
I am writing a program that monitors processes on remote computers. I am
using Process.GetProcesses(remotecomputername), and it works for some of
the computers on the network, but not all of them. Some of the computers
give me an Access Denied error. It says that it couldn't get the
processes from the remote computer. If anyone could help me fix this, it
would greatly appreciated.

Post the complete exception you get.
 
Hi,

Has the account used to run your application, the same rights (network
rights) on all computers ?

Bismark
 
I using the administrator account, which is used on all the network
computers, which I assume would have the same network rights.
 
Not necessary ! Be warn that you admin account had each time a reserved
account on the remote computer and have enough rights ! In Win2000 it is a
little bit complicate to !

Bismark
 
Back
Top