HOWTO: Use I_QueryTagInformation

Process Explorer 12 includes a new feature whereby you can view service names associated with threads. To find out how this works, read this article by Alex Ionescu. You won’t be completely satisfied, though. You still don’t know how to use I_QueryTagInformation. First step: Getting the service tag for a thread This is simple; use […]

Continue reading →

Get the image file name of any process from any user on Vista and above

On Vista and above there is an information class for NtQuerySystemInformation which I call SystemProcessImageNameInformation (88). (Note that I reverse-engineered this, so it is probably not the correct name for the information class.) The structure definition is below: typedef struct _SYSTEM_PROCESS_IMAGE_NAME_INFORMATION { HANDLE ProcessId; UNICODE_STRING ImageName; } SYSTEM_PROCESS_IMAGE_NAME_INFORMATION, *PSYSTEM_PROCESS_IMAGE_NAME_INFORMATION; This information class allows you to […]

Continue reading →