Questions tagged [conhost]

15 questions
25
votes
3 answers

(When) is CONHOST.EXE actually necessary?

Background Last year I compiled a portable blog/web-server system that I can run from a flash-drive. It’s great and works wonderfully, especially on XP. The problem is that when it’s run in Windows 7, each console program spawns two process, the…
Synetech
  • 69,547
24
votes
6 answers

Multiple instances of conhost.exe

My desktop has two instances of conhost.exe running in the background at all times. Some googling brought up a few articles, like this one, but they don't explain why I have multiple instances of conhost running. I don't have any console windows…
14
votes
1 answer

What does \??\ mean in \??\C:\Windows\System32\conhost.exe?

I noticed this when trying to find an answer to this question. It seems to be exclusively associated with conhost.exe only appearing in the command-line parameters for conhost.exe Also the parameter seems to be the same (on my computer) for all…
Vinayak
  • 10,885
8
votes
2 answers

Windows command line window scroll limit

How to set Windows 10 command line window to unlimited scroll by default, like in Ubuntu? I've set the only two possible option in the property dialog that may be related to buffer to 999, but still get overflowed.
jw_
  • 902
7
votes
0 answers

See contents of conhost

Every now and then, various programs create conhost.exe processes on my (Windows 7 x64) computer. I know they are console windows, except the windows themselves are hidden. I don't suspect any malware, but being a curious person, I'd still like to…
3
votes
2 answers

PowerShell, run code if in ConHost but not if in Windows Terminal

I use the below functions in my $profile to get around the incredibly annoying fact that Windows opens 80+% of new PowerShell windows with the cursor position below the taskbar so I have to move the window before using. However, this generates an…
YorSubs
  • 1,087
2
votes
1 answer

What is a PowerShell popup?

I am manually configuring the colors of my PowerShell and I am curious what a "popup" is and how I can see it? As of now it seems that only "Selected Screen Colors" changes anything. How might I cause an example of such a popup to appear so that I…
2
votes
1 answer

In CMD.exe, "start sh.exe" creates a conhost process which takes 700 MB memory

Git bash (sh.exe) otherwise takes little memory, but when started with CMD's start sh.exe command, it creates a conhost.exe process that takes 3-700 MB memory. Interestingly start cmd /k sh.exe does the same thing but it creates conhost process…
1
vote
0 answers

Visual Studio 11 launches 2 conhost.exe processes

I am running Visual Studio 11 now for a while. I really like it, it has a lot of new features which makes the workdays for a (web)developer a lot easier. But when I look at process explorer, I see several instances of conhost.exe. That didn't…
1
vote
0 answers

Conhost.exe with headless argument 100% CPU

On my production server, the CPU usage goes to 100% after every 10 days. Sometimes within 5 days too. In task Manager, there are 2 instaces of conhost.exe everytime eating 50 - 50% of cpu each. I researched but only found information about "What is…
SurajS
  • 111
1
vote
0 answers

Why don't mouse events work in Windows terminals using ConHost?

I was wondering why mouse events don't seem to work on Windows for most terminals while using OpenSSH. Let me explain. Let's say you're using tmux in WSL, via cmd.exe. Mouse events, last time I checked, work perfectly fine on every terminal for that…
OmriSama
  • 111
0
votes
1 answer

How to open powershell.exe in Windows Terminal Preview instead of regular Windows Terminal?

I recently installed Windows Terminal Preview and already made wt.exe open it up. Now I want it to open when starting powershell.exe from Start Menu, Run dialog or Windows Explorer's address bar. How to set this up?
cachius
  • 859
0
votes
0 answers

Conhost filters control characters

When using cmd.exe it normally starts as tab in conhost. The problem is that conhost filters non-printable characters (here: ASCII 1-31) which I require to be passed on to e.g., telnet Is there a way to disable that stupid behavior? The only…
TomB
  • 101
0
votes
2 answers

Windows 10 unicode symbols after update are gone

Microsoft Windows [Version 10.0.19045.5011] Considering that in place upgrade (recovery) is not possible and that I have no system restore points, the problem is that since the last reboot (after a windows update long due, and almost no space left…
Zibri
  • 291
0
votes
0 answers

Why (or when) did Ctrl+[ stop working as a way type the ESC control code in Windows Command Processor (cmd.exe)?

I have a virtual machine with an up-to-date Windows 11 (ver reports Microsoft Windows [Version 10.0.22621.1555]). When I press Ctrl+[ in a Windows Command Processor (cmd.exe) session nothing happens. When I revert to the clean install snapshot of…