Help on using GetProcesses() in a Windows Service to view remote system processes. -
07-02-2003
, 01:21 PM
Moving post from languages.csharp to microsoft.public.dotnet.framework.clr...
Any tips or tricks on using GetProcesses from a Windows Service to view processes on another system? Or an easy way
to tell what's going wrong with the call in the service?
Anyone done this and can share some code and their config?
-----------------------------------
Hi there!
I'm facing trouble using GetProcesses() method of
System.Diagnostics namespace... I have written a Windows
Forms application and using GetProcesses() method, I'm
able to fetch and view all the available processes on a
remote PC(GetProcesses() can be used to query a remote PC
as well).
Now when I write the same functionality within a Windows
Service, it does not work. I have tried changing all the
user types for my service, LocalSystem, LocalService,
NetworkService and Users, but in vain...
Moreover, I have created a new user 'irfan' as part of
administrator on both, the PC on which this service runs
and also on the pc to which GetProcesses() queries... even
that doesn't work....
can someone help???
thanx irfan |