Qprocess (query process) command in Windows

(Applies to Windows Server (Semi-Annual Channel), Windows Server 2016, Windows Server 2012 R2, Windows Server 2012)

The qprocess command displays information about processes running on the Remote Desktop Session Host server (RD Session Host).

Attention

This command is similar to the query process command .

The query process command

(Applies to Windows Server (Semi-Annual Channel), Windows Server 2016, Windows Server 2012 R2, Windows Server 2012)

The query process displays information about processes running on the Remote Desktop Session Host (RD Session Host) server.You can use this command to find out which program a particular user is running and which user is running a particular program.To learn more about how to use this command, see the example section below.

Syntax command query process

 query process [* | | | | / id: | ] [/ server:] 

Refer to the query process command

Parameters

Describe

*

List processes for all sessions (sessions).

 

Specify the ID number that identifies the process you want to query.

 

Specify the name of the user who owns the process you want to list.

 

Specify the name of the session whose process you want to list.

/ id:

Specify the ID of the session with the process you want to list.

 

Specify the name of the program that has the processes you want to query..Exe extension is required.

/ server:

Specify the RD Session Host server to have the processes you want to list.If you do not specify the RD Session Host server, the server you are currently logged in to will be used by default.

/?

Show help at thecommand prompt.

Explain the query process

- Administrators have full access to all query processing functions.

- If you do not specify parameters , / id:, or * , the query process command will only display processes belonging to the current user on the system.

- If a session is specified, it must be defined as an active session.

- The query process command returns the following information:

  1. User owns the process.
  2. Session owned process.
  3. Session ID
  4. Name of the process.
  5. Process ID.

When the query process returns information, a larger sign symbol (>) will be displayed before each process belongs to the current session.

For example, the query process command

To display information about processes that are being used by all sessions, enter:

 query process * 

To display information about the processes being used in a session with an ID of 2, enter:

 query process / ID: 2 

See more:

  1. Prnport command in Windows
  2. Prnmngr command in Windows
  3. The prnjobs command in Windows
  4. Prndrvr command in Windows
3.9 ★ | 9 Vote

May be interested

  • Diskcopy command in WindowsPhoto of Diskcopy command in Windows
    the diskcopy command copies the contents of the floppy disk in the source drive to a floppy that has been formatted or not formatted in the destination drive. if used without parameters, the diskcopy command uses the current drive for the source disk and the destination disk.
  • The quser (query user) command in WindowsPhoto of The quser (query user) command in Windows
    (applies to windows server (semi-annual channel), windows server 2016, windows server 2012 r2, windows server 2012)
  • Diskshadow command in WindowsPhoto of Diskshadow command in Windows
    by default, the diskshadow command uses an interactive command interpreter, similar to diskraid or diskpart. the diskshadow command also includes a scriptable mode (writeable mode).
  • The certreq command in WindowsPhoto of The certreq command in Windows
    certreq can be used to request a certificate from a certificate authority (ca), in order to receive a response to a previous request from a ca, creating a new request from the .inf file.
  • Diskperf command in WindowsPhoto of Diskperf command in Windows
    the diskperf command is included in windows xp, windows server 2003, windows server 2008, windows vista, windows server 2008 r2, and windows 7 used to enable or disable physical or logical disk performance counters on machines computer running windows 2000.
  • Qwinsta (query session) command in WindowsPhoto of Qwinsta (query session) command in Windows
    (applies to windows server (semi-annual channel), windows server 2016, windows server 2012 r2, windows server 2012)