PC Review Forums Newsgroups Windows XP Windows XP WMI how to find modules use in running process

Reply

how to find modules use in running process

 
Thread Tools Rate Thread
Old 30-08-2004, 11:05 AM   #1
=?Utf-8?B?5by6?=
Guest
 
Posts: n/a
Default how to find modules use in running process


how can i use wmi to find the modules infomation of a running process ?
  Reply With Quote
Old 31-08-2004, 08:54 PM   #2
Philip Nunn [MSFT]
Guest
 
Posts: n/a
Default Re: how to find modules use in running process

I would suggest using an 'associators of' query something like this:

associators of {win32_process.handle='2604'} where AssocClass =
CIM_ProcessExecutable

It will return all the files that participate in execution of the process.

--
Philip Nunn [MSFT]
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm.
"?" <@discussions.microsoft.com> wrote in message
news:82483A2A-481E-42B3-A479-3A760D90344B@microsoft.com...
> how can i use wmi to find the modules infomation of a running process ?



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off