how to find modules use in running process

Posted: 08-30-2004, 11:05 AM
how can i use wmi to find the modules infomation of a running process ?
Reply With Quote

Responses to "how to find modules use in running process"

Philip Nunn [MSFT]
Guest
Posts: n/a
 
Re: how to find modules use in running process
Posted: 08-31-2004, 08:54 PM
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
 
LinkBack Thread Tools Display Modes
Reply


Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Remote Process Creation with GUI Rick Krause [MSFT] Windows XP WMI 0 06-29-2004 09:45 PM
script to process list of files Torgeir Bakken \(MVP\) Windows XP WMI 0 06-20-2004 10:40 PM
XP home ed. starts but stops boot process Michael Solomon \(MS-MVP Windows Shell/User\) Windows XP Accessibility 0 07-27-2003 11:47 PM
Task Manager process Ben Windows XP Accessibility 0 07-11-2003 06:32 PM
LAN & Generic Host Process for Win32 Services Terry Windows XP Network & Web 0 07-04-2003 09:06 AM