Hi,
I'm trying to monitor all the processes on a windows system with my windows forms application using WMI. I want to know which process' are system process, which are user process(like the username in taskmanager). This is quite googleable but i also need to know which are related to windows and which are not. I haven't been able to find what i needed.
Assume my windows user name is "USER_A"; "winamp.exe" has the owner/user name as "USER_A". But "taskmgr.exe", "dwm.exe", etc also has the same user name. At first glance, path for the process (WMI, Win32_Process, ExecutablePath) is distinctive since Windows related processes are under "C:\Windows", "C:\Windows\System32" but is there any better way? Also the ones that wont need too complex(long to process) queries.
Thanks in advance.