NanoToolkit Blog

The Way to Keep in Touch.

Windows Command Line Host Process Changes

Back in Windows 7 if you clicked on the command Prompt Window the process would be running under a process called cmd.exe. But Since Windows 8 Command line Tasks run under a new process called conhost.exe. I am quite interested to know why Microsoft made the change. What is interesting to note that the cmd.exe process owns the actual Window but the most of the CPU activity actually occurs on conhost.exe. Perhaps this is the case because Windows is trying to differentiate between Windows UI Objects and the actual semantics of running a Command line Task.

Figure 1: Windows conhost.exe process the child of cmd.exe

SysInternals Process Explorer Showing conhost.exe process performing cpu intensive work on behalf of parent process cmd.exe.