C:\Windows\system32>query
Invalid parameter(s)
QUERY { PROCESS | SESSION | TERMSERVER | USER }
C:\Windows\system32>
Query has four parameters Process, Session, Termserver and user.
To check the logged in users run the following command:
C:\Windows\system32>query user
USERNAME SESSIONNAME ID STATE IDLE TIME LOGON TIME
>roninnnnaaa console 1 Active none 23/10/2014 3:23 PM
C:\Windows\system32>
Similarly you can query for running processes under each user "query process", Active and inactive sessions "query session", and remote sessions using "query termserver".
......
No comments:
Post a Comment