Running processes on remote machine


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Running processes on remote machine

  1. #1
    Gregory Provost Guest

    Running processes on remote machine

    Hi

    I would like to know if it's possible to use an API function to list all the
    processes running on a remote computer ?

    I just found the API function CreateToolhelp32Snapshot that allows to list
    the processes running on a local computer !



    Thanks

    Gregory




  2. #2
    ian drake Guest

    Re: Running processes on remote machine


    Gregory -

    Well, You know how to get the processes on the local computer, So you could
    create an ActiveX exe that gets the local processes and use DCOM to run that
    component remotely, but that requires you to install that component on each
    PC that you want to moniter.

    Or, you can use the WMI Windows Management Instrumentation. You can download
    from microsoft. It comes with samples, and I'm not sure but I think that
    is one of the samples... the URL is...
    http://msdn.microsoft.com/downloads/...mi/default.asp
    Object oriented interface so you won't need to make API calls.

    Good luck
    Ian Drake

  3. #3
    Gregory Provost Guest

    Re: Running processes on remote machine

    Thanks,

    It's what I did but as you say it requires to install this activex server
    and configure the DCOM access !!. I also tested WMI. On a local machine
    it's fine, but for a remote computer I also need to configure DCOM and it's
    not so easy (not the same than for the ActiveX server) !!

    Greg


    "ian drake" <ian.drake1@home.com> wrote in message
    news:3a30f7ee$1@news.devx.com...
    >
    > Gregory -
    >
    > Well, You know how to get the processes on the local computer, So you

    could
    > create an ActiveX exe that gets the local processes and use DCOM to run

    that
    > component remotely, but that requires you to install that component on

    each
    > PC that you want to moniter.
    >
    > Or, you can use the WMI Windows Management Instrumentation. You can

    download
    > from microsoft. It comes with samples, and I'm not sure but I think that
    > is one of the samples... the URL is...
    > http://msdn.microsoft.com/downloads/...mi/default.asp
    > Object oriented interface so you won't need to make API calls.
    >
    > Good luck
    > Ian Drake




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center