Home » Questions » Computers [ Ask a new question ]

What is the 'conhost.exe' process that shows up in Task Manager?

What is the 'conhost.exe' process that shows up in Task Manager?

The process conhost.exe started showing up on Windows 7, and searching Google doesn't reveal an explanation of what this process is and why it shows up.

Asked by: Guest | Views: 65
Total answers/comments: 2
Guest [Entry]

"conhost.exe is the new host process for console windows. Previously those were handled by csrss.exe which is the “Client Server Runtime Process”, a process running with system-level privileges.

Starting with Windows Vista, Microsoft made some very substantial improvements and changes in regard to security. One of those changes was that applications running in different “levels” or as different users weren't allowed to exchange data freely.

Since console windows were handled by csrss.exe this had the side-effect that you could no longer drag files onto a console window and have the full path and file name inserted. Drag & drop is such a case of data exchange which was ruled out. People cried out even though most Windows users probably didn't even know of that feature.

I doubt, though, that the missing drag & drop functionality was the reason behind pulling console windows out of csrss. The more pragmatic reason would be that there is absolutely no reason to have such functionality sitting that close to the core of the OS. Granted, it's not as much functionality as there could be if Windows would implement terminal emulators as usual on UNIX-like OSes (and much less than there would be if UNIX-likes fully adhered to ECMA-48). But nevertheless, anything going wrong with a single console window could tear a core part of the operating system down.

Making changes to how console windows work gets much harder due to that since you have to consider pretty dire consequences if anything goes wrong. Another change you'll see, except drag & drop working again, is that characters are no longer confined to their cell. Especially with ClearType enabled some glyphs would go beyond their cell boundaries and leave trails and other artifacts behind. This is almost (but not quite) fixed by now."
Guest [Entry]

"Conhost.exe is a new binary on Win7. It hosts the command prompt window that cmd.exe runs in.

Source here"