The rpcinfo command in Windows

December 2022 · 2 minute read

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

The rpcinfo command helps list the programs that work on the remote computer. Specifically, the rpcinfo command-line utility performs a remote procedure call (RPC) to an RPC server and reports to you what it finds.

Rpcinfo command syntax

 rpcinfo [/ p []] [/ b] [/ t []] [/ u []] 

The rpcinfo command parameter

Parameters

Describe

/ p []

Lists all the programs registered with the port mapper on the specified server.If you do not specify a node name (computer), the program will query the port mapper on the local server by default.

/ b

Request feedback from all network nodes with the program and the specified version registered with the port mapper.You must specify both the name or program number and version number.

/ t []

Use the Transmission Control Protocol (TCP) to call the specified program.You must specify both the button name (computer) and the program name.If you do not specify a specific version, the program will call all versions, the program will call all versions by default.

/ u []

Use User Datagram Protocol (UDP) to call the specified program.You must specify both the button name (computer) and the program name.If you do not specify a specific version, the program will call all versions by default.

/?

Show help at thecommand prompt.

Rpcinfo command example

To list all the programs that are registered with the port mapper, enter:

 rpcinfo / p [] 

To request feedback from network nodes with the specified program, enter:

 rpcinfo / b 

To use Transmission Control Protocol (TCP) to call a program, type:

 rpcinfo / t [] 

To use User Datagram Protocol (UDP) to call a program, type:

 rpcinfo / u [] 

See more:

  • Summary of 20 common Run commands on Windows operating system
  • Summary of shortcuts to know in Windows 10
  • Basic Linux commands everyone needs to know
  • Table summarizes the basic PowerShell commands
  • ncG1vNJzZmismaXArq3KnmWcp51kwamxjKunnKGem7xur86mpJqmlGK2r3nWoqWdp6eo