SessionProtocolInfo – Display Information About a Session’s Remoting Protocol (ICA/RDP)

SessionProtocolInfo is a command line tool that returns information about the remoting protocol used in a Citrix XenApp/XenDesktop or Microsoft RDS session.

These are the main facts:

  • Displays the remoting protocol type: Console, ICA/HDX or RDP
  • SessionProtocolInfo works on any version of Windows with and without Citrix software installed
  • SessionProtocolInfo is freeware

What Does it Do?

SessionProtocolInfo retrieves the current session’s remoting protocol. Depending on the protocol found it prints:

  • Console
  • ICA
  • RDP

It also returns the protocol as a return value that can be queried in batch files with %ERRORLEVEL%:

  • 0 for console sessions
  • 1 for ICA sessions
  • 2 for RDP sessions

When to Use

SessionProtocolInfo is useful when you need to find out whether a session is currently being remoted via ICA/HDX/RDP or displayed locally.

Syntax and Examples

Simply run SessionProtocolInfo without parameters.

License

SessionProtocolInfo is freeware.

Changelog

Version 1.0

  • Initial version

System Requirements

SessionProtocolInfo runs on any version of Windows beginning with XP / Server 2003, with and without Citrix XenApp or XenDesktop installed. It has been tested with:

  • Windows 7
  • Windows 8.1
  • Windows Server 2008 R2
  • Windows Server 2012 R2
  • Citrix XenApp 6.5
  • Citrix XenApp 7.1
  • Citrix XenDesktop 5.6
  • Citrix XenDesktop 7.5

Although SessionProtocolInfo comes as a 32-bit binary it works on 32-bit and 64-bit machines.

Download

Download SessionProtocolInfo here.