Skip to content

Windows Server 2008 – How to use the Query Process command


The Query command returns the process ID, and we can query by process ID, just like in Linux.

Step 1 – Query User

query user

Query Users on a Server

query server


Step 2 – Query Session

query session


Step 3 – Query process

Take a note of the PID

query process

Query process *

To reveal system process – eg PID 456 = CSRSS.exe

query process star

Step 4 – Query process PID

The user and session of the PID are reported.

query process pid

Query PID 456

query pid


Step 5 – Query user console

query console

From → Uncategorized

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: