Why is there multiple console window host open in the background?

Welcome to Programming Tutorial official website. Today - we are going to cover how to solve / find the solution of this error Why is there multiple console window host open in the background? on this date .

Why is there multiple console window host open in the background?

task manager with multiple windows console host

For those that don’t know, it’s the command prompt running in the background but without a graphical user interface. Is it being used as an attack vector to run viruses on my computer that bypass the antivirus because the commands are being run by a microsoft file?

Answer

Download Process Explorer or a similar tool that would show the processes in a tree view. (Run it “As Administrator” for best results.) The Conhost process will always be shown as a child of the program that created the console.

it’s the command prompt running in the background but without a graphical user interface.

Not exactly. Any .exe file can be marked as “requires console” when it is compiled, and any such console-based program will cause a Conhost instance to be spawned – it could be cmd.exe, it could be PowerShell, it could be Python, it could be something entirely different.