Console Host feature of Windows 7, Windows Server 2008 R2

This post cover a new feature in Windows 7 and Windows Server 2008 R2 – Console Host (ConHost.exe).  A good number of companies and individuals out there still run “console” applications. A console application is one that does not have a GUI, but instead relies on text input and output via a command prompt window of […]

This post cover a new feature in Windows 7 and Windows Server 2008 R2 – Console Host (ConHost.exe).  A good number of companies and individuals out there still run “console” applications. A console application is one that does not have a GUI, but instead relies on text input and output via a command prompt window of some sort. Windows still contains a few classic examples of console applications; Cmd.exe, NSLookup.exe, and TelNet.exe. In previous versions of Windows, all GUI activity on behalf of non-GUI applications that ran on the desktop (console applications) was brokered by the system process CSRSS.exe. When a console application wanted to receive characters, it called one of a small set of “Console APIs” implemented in Kernel32.dll, and Kernel32 made an LPC call to CSRSS.  CSRSS checked the input queue associated with the console window and returned the appropriate character-mode input through Kernel32 back to the console application.

Full ArticlePerformance team