What is Conhost.exe and Why is it Running?

Here’s the history; you might want to grab a snack before you start reading this. On Windows XP, Microsoft used csrss (client-server runtime process) to handle the command prompt, but the problem was aesthetics and security. The visual problem was that csrss.exe was unable to execute Windows themes (it still is unable to), so the cmd prompt was always very plain and unsightly. Also, by security and stability standards, hosting the cmd prompt under csrss was a huge liability, one series of errors, and the entire system could be brought down.

On Vista, Microsoft improved security by restricting applications running with different permissions levels from communicating with each other. Microsoft also fixed DWM.exe to draw console window title bars properly, but scroll boxes remained ugly with no theme support. Since the cmd console and csrss.exe run at different permission levels, this broke Drag & Drop functionality between text in the rest of Windows and text in the cmd prompt. When Windows 7 was released, conhost.exe (Console Window Host) was born, and it solved everything with the side effect of making the system much more stable. This process is a critical system file and should never be deleted.

How do I know it is the official process and not a virus pretending to be conhost.exe?

First off, make sure you have an anti-virus installed such as Microsoft Security Essentials. There are a couple of ways to know that your particular conhost.exe is safe. First of all, this process should be stored in your system folder at: C:\Windows\system32\conhost.exe If you find it saved anywhere else, it is likely a counterfeit piece of malware (unless you installed your OS on a different drive, that is…) When you open up the Microsoft tool Process Explorer (made by SysInternals), it will show you a little bit more about the process.  You’ll find it running under the csrss.exe process, and importantly under its Properties > Environment tab, you’ll see that the ComSpec is cmd.exe.

Also, conhost.exe should only be running if you have the cmd prompt open. Though some other applications access the prompt to run, that might trigger it.

Conclusion

Conhost.exe is a core process of Windows 7 that allows you to operate the cmd prompt, hence the title: Console Window Host.  This process is safe and should not be deleted; however, be wary of viruses and malware that counterfeit the name to hide their true nature. Comment Name * Email *

Δ  Save my name and email and send me emails as new comments are made to this post.

What is conhost exe and Why Is It Running  - 63What is conhost exe and Why Is It Running  - 10What is conhost exe and Why Is It Running  - 79What is conhost exe and Why Is It Running  - 37What is conhost exe and Why Is It Running  - 41