Windows Terminal hangs after switching user account. #18989

Open
opened 2026-01-31 06:30:32 +00:00 by claunia · 0 comments
Owner

Originally created by @samiksome92 on GitHub (Nov 30, 2022).

Windows Terminal version

1.15.2875.0

Windows build number

10.0.22621.819

Other Software

No response

Steps to reproduce

I have been having this issue for quite some time.

I have two user accounts and often switch between them. The problem occurs when some program (eg. ping) is running in windows terminal and I switch to another account. Upon switching back the whole terminal freezes and I have to kill it using Task Manager. This does not happen if I run the same program using conhost.

Basically issue is as follows:

  1. As User A:
    1. Open terminal.
    2. Run some long running program. eg. ping, ssh
  2. Switch to User B.
  3. Switch back to User A.
  4. Terminal hangs.

I don't remember if the issue started once I upgraded to Windows 11, but I do remember that it never happened in Windows 10.

Expected Behavior

Expected behavior is terminal keeps running normally.

Actual Behavior

Terminal hangs (not responding).

I believe the issue is also related to the screen updates since when I run ping -t 1.1.1.1 > a.txt which does not result in any output lines on the terminal, it does not hang. Neither does it hang when nothing is running. The issue only seems to happen if the screen has updated while I was using the other account.

Originally created by @samiksome92 on GitHub (Nov 30, 2022). ### Windows Terminal version 1.15.2875.0 ### Windows build number 10.0.22621.819 ### Other Software _No response_ ### Steps to reproduce I have been having this issue for quite some time. I have two user accounts and often switch between them. The problem occurs when some program (eg. ping) is running in windows terminal and I switch to another account. Upon switching back the whole terminal freezes and I have to kill it using Task Manager. This does not happen if I run the same program using conhost. Basically issue is as follows: 1. As User A: 1. Open terminal. 2. Run some long running program. eg. ping, ssh 2. Switch to User B. 3. Switch back to User A. 4. Terminal hangs. I don't remember if the issue started once I upgraded to Windows 11, but I do remember that it never happened in Windows 10. ### Expected Behavior Expected behavior is terminal keeps running normally. ### Actual Behavior Terminal hangs (not responding). I believe the issue is also related to the screen updates since when I run `ping -t 1.1.1.1 > a.txt` which does not result in any output lines on the terminal, it does not hang. Neither does it hang when nothing is running. The issue only seems to happen if the screen has updated while I was using the other account.
claunia added the Resolution-Fix-AvailableNeeds-TriageIssue-BugNeeds-Attention labels 2026-01-31 06:30:33 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#18989