Conhost.exe is a real Windows file. It is the window that Command Prompt and PowerShell run inside. The reason it looks suspicious is that it shows up in Task Manager without you ever opening it, sometimes in several copies, and occasionally eating CPU. None of that is a problem by itself. The first check is where the file lives: if it is in C:\Windows\System32, that is a strong sign it is legitimate. Here is that check, what the process actually does, and what to do when it fails the test.
The test that settles it: where is your conhost.exe?
Open Task Manager with Ctrl + Shift + Esc, find conhost.exe, right-click it, and choose “Open file location.” A genuine copy opens in C:\Windows\System32, and that is a strong sign it is legitimate. If File Explorer lands anywhere else, AppData, Temp, Downloads, ProgramData, or some random folder, treat it as suspicious and work through the checks below. Malware rarely bothers replacing the real file. It usually drops a file with the same name in a different folder and runs it at startup, counting on the familiar name to keep you from looking closer.
Read Also: MsMpEng.exe: What It Is, Why It Uses High CPU, and How to Fix It
What conhost.exe actually does, and why you never launched it
Conhost.exe is short for Console Window Host. Microsoft’s own definition calls it both the server for all Windows Console APIs and the classic Windows interface for command-line applications, which is a formal way of saying it does two jobs: it runs the plumbing that command-line programs talk to, and it draws the window you see. You did not launch conhost.exe. You launched Command Prompt or PowerShell, and Windows attached a conhost.exe instance to it. Microsoft puts it bluntly in its own engineering blog: users launch command-line shells and apps, not the Console itself.
That distinction matters because Command Prompt and PowerShell are headless. They have no window of their own. They take your keystrokes and print their output through the console instance attached to them, and conhost.exe is the host process behind that instance. Inside it, Microsoft’s architecture post lists seven parts doing the work: an API server that turns requests from the command-line app into actions, the Console API itself, an input buffer for keystrokes and mouse events, a VT parser, an output buffer holding the text on screen, a miscellaneous layer, and the user-interface layer that manages the window’s size and position. That seven-part count is a TechReview count from Microsoft’s own component list.
The file has been around longer than most people realise. The Windows Console is one of the first Windows NT interface apps, with a code-base that was already almost 30 years old in 2018. Before Windows 7, console windows lived inside csrss.exe, a critical system process. In Windows 7, Microsoft pulled the console out of csrss.exe for security and reliability reasons and gave it its own home: conhost.exe for the user-facing side and condrv.sys, a kernel driver, for the communication between conhost and the command-line apps attached to it.
Why Task Manager shows several conhost.exe processes
Windows can create a separate console instance for different sessions or programs, so several copies is normal. Open two Command Prompt windows and you will see two conhost.exe processes. An app launched from an existing shell usually shares that shell’s console instead. Close the parent program and its conhost.exe usually disappears shortly after. The copies also appear when you never opened a command window, because installers, updaters, device tools, and driver installers often run background console tasks, and each of those gets its own console instance.
On newer PCs, Windows Terminal became the default command-line experience on Windows 11 22H2, so your Command Prompt may open inside a tabbed Terminal window instead of the old black box, as long as Windows Terminal is version 1.15 or newer and the default-terminal setting is still “Let Windows decide”. A preference you already set stays put. That does not mean conhost.exe is gone. Microsoft’s documentation is explicit that conhost.exe keeps handling the API calls, the translation, and the compatibility work, while the terminal takes over only the window itself. The host changed its clothes. The plumbing stayed.
Read Also: BackgroundTaskHost.exe: What It Is, Why It Uses High CPU, and How to Fix It
Two more checks when the location looks wrong
If the file is in System32, the location check alone is usually enough. If it is not, there are two more checks. First, the digital signature. In the file’s folder, right-click conhost.exe, open Properties, and look at the Digital Signatures tab. The real file is signed by Microsoft and the signature is valid. A missing signature, or one that does not validate, is a major warning sign on a file claiming to be a core Windows component. Second, the parent process. A genuine conhost.exe usually traces back to something recognisable: cmd.exe, powershell.exe, WindowsTerminal.exe, an installer, or another known application. A conhost.exe running from a non-system folder, or one with no recognizable parent process, is a warning sign to investigate.
Conhost.exe is using high CPU. Whose fault is that?
Usually not conhost.exe’s. In most legitimate cases, the process is just hosting a console session for something else, and the something else is doing the heavy work: a command-line task compressing, scanning, converting, or compiling files, an installer running background scripts, a security product running a console helper, or a brief Windows maintenance task. The tell is time. If usage falls back to normal once the underlying task finishes, that was the answer.
It becomes a red flag when the usage stays high with no parent process you recognise, when the process keeps reappearing after you end it, when it runs from a folder other than System32, or when there is unusual network activity tied to whatever spawned it. Any one of those is worth investigating rather than ignoring. There is no single CPU or RAM number that counts as normal, because normal depends largely on what the hosted program is doing at that moment. Judge it by duration and by parent, not by a threshold.
If it fails the checks, use Windows’ own tools
If your conhost.exe is outside System32, unsigned, or tied to a parent you do not recognise, do not go hunting for a third-party cleaner or a downloadable replacement file. That is exactly how imposters spread. Windows already has the two tools this job needs, and both come from Microsoft.
First, run a Microsoft Defender Offline scan. It boots into a trusted environment outside the normal Windows kernel, so it can catch malware that hides from ordinary scans, including threats that infect or overwrite the master boot record. Open Windows Security, go to Virus & threat protection, then Scan options, choose Microsoft Defender Offline scan, and select Scan now. Save your work first: the scan takes about 15 minutes and restarts the PC when it finishes. Read the result afterward under Virus & threat protection and then Protection history.
Second, repair the system files. Microsoft’s own order is DISM first, then SFC, both from an administrator Command Prompt, after installing the latest Windows updates and restarting. Run DISM.exe /Online /Cleanup-image /Restorehealth and wait for the message that the operation completed successfully, then run sfc /scannow and wait until verification reaches 100 percent. If the offline scan found something, this pass checks the system files for corruption and repairs what it finds.
Read Also: Winword.exe: What It Is, Why It Uses High CPU, and How to Fix It
What not to do with conhost.exe
Do not delete the file in System32. It is the console host itself, the process that draws the window command-line apps run in. Do not end the task blindly. A conhost.exe process is the console window itself, so ending it closes that window, and the program attached to it. If you end the wrong one, you close a window something else was using. Do not download a replacement copy. The genuine file is a Windows component that lives in C:\Windows\System32. A download from a random website is a security risk, not a fix.
The short version
Conhost.exe is Windows Console Host, the window and the plumbing behind Command Prompt and PowerShell. Several copies are normal, one per console session, and the process is doing its job whenever a console window is open. The test that matters is the file location: right-click it in Task Manager, open the file location, and confirm it is C:\Windows\System32 with a valid Microsoft signature. If it passes, leave it alone. If it fails, run a Defender Offline scan and then DISM and SFC, and let Microsoft’s own tools decide what happens next.
Frequently asked questions
Is conhost.exe a virus? No. The real file is a Windows component that hosts console windows. Malware sometimes uses the same name in a different folder, which is why the location check matters more than the name.
Can I delete conhost.exe? No. It ships with Windows and cannot be uninstalled like an app. Deleting the System32 copy breaks command-line windows. If a copy outside System32 looks suspicious, run a Microsoft Defender Offline scan and check Windows Security, rather than relying on third-party cleaners.
Why does conhost.exe keep coming back after I end it? Because something is still launching console sessions. Ending the process closes one window, but the parent program, installer, or background utility may launch another session while it is still running. Find the parent and deal with that instead.
Does Windows 11 still use conhost.exe? Yes. Windows Terminal is the default window on Windows 11 22H2, but conhost.exe still runs behind it as the API server for console applications. The window changed. The host did not go away.
Sources
- Microsoft Learn, Windows Console and Terminal Definitions
- Microsoft devblog, Windows Command-Line: Inside the Windows Console
- Microsoft devblog, Windows Command-Line: Introducing the Windows Pseudo Console (ConPTY)
- Microsoft devblog, Windows Terminal is now the Default in Windows 11
- Microsoft Support, Using System File Checker in Windows
- Microsoft Learn, Microsoft Defender Offline scan in Windows
- MalwareTips, Console Window Host (conhost.exe) Explained: What It Does and How to Tell If It’s Fake


