473,387 Members | 1,611 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Having problems using the GetProcesses from a remote computer

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.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 20 '05 #1
4 1455
* Steve D <th********@hotmail.com> scripsit:
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.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #2
Hi,

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

Bismark

"Steve D" <th********@hotmail.com> a écrit dans le message de
news:el*************@tk2msftngp13.phx.gbl...
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.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 20 '05 #3
I using the administrator account, which is used on all the network
computers, which I assume would have the same network rights.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 20 '05 #4
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

"Steve D" <th********@hotmail.com> a écrit dans le message de
news:OJ**************@TK2MSFTNGP11.phx.gbl...
I using the administrator account, which is used on all the network
computers, which I assume would have the same network rights.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 20 '05 #5

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

Similar topics

1
by: Mircea Pleteriu | last post by:
Hi all, I want to get the list of active/running processes on some remote machines in the same LAN my application run. I always get a System.InvalidOperationExpection exception with the message...
3
by: cameron | last post by:
I compile my project. No errors. Then I hit my page and I get an Error in Application "/" I change nothing and recompile. Works fine. If I compile twice in a row, still get the error. I...
5
by: Jane | last post by:
Hi, I try Process remoteByName = Process.GetProcesses(); it works but when I try Process remoteByName = Process.GetProcesses("localhost"); it fails with invalid operation please Help me!...
7
by: Denis Brkljacic | last post by:
Hi, I have made some simple ASP.NET (C#) application, that somewhere uses this command: Process aProcesses = Process.GetProcesses(Environment.MachineName); This command purpose is to find...
2
by: Sharon | last post by:
Hi to all. I have two Impersonation problems: 1. When using my app. from a remote computer, the aspx page is unable to get information from Active Directory. I am using Impersonation, and the...
0
by: Frank Rosario | last post by:
Hello all; in need of some assistance. I am currently writing some software for our companies intranet, and I need for it to specifically access other machines on the network's Performance...
0
by: Steve D | last post by:
Following up a message I posted yesterday, I am writing a program using Process.GetProcesses(remotecomputername) to monitor processes on other computers in a network. It seems to work fine for some...
1
by: Sergio Gallardo Contreras | last post by:
Hi, I´m using Microsoft Excel 11.0 Object Library in an ASP.NET web application to generate a XLS file. It works fine but sometimes the EXCEL.EXE process remains in the computer, and when I try...
6
by: Pep | last post by:
Firstly, I'm not sure if this is the right group for this query, so please forgive me if I am wrong. My problem is that most users I distribute my software to cannot install it on their systems...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.