Some client app closes randomly after idle (even with sleep disabled) #21409

Open
opened 2026-01-31 07:43:51 +00:00 by claunia · 0 comments
Owner

Originally created by @colin-heberling on GitHub (Mar 18, 2024).

Windows Terminal version

1.19.10573.0

Windows build number

10.0.19045.4046

Other Software

No response

Steps to reproduce

Don't know yet, sometimes it happens once every couple weeks, other times 2-3 times a week.

Expected Behavior

Terminal doesn't close or terminate unless I tell it to.

Actual Behavior

I have Terminal installed on 2 different desktop computers, one with Windows 10, the other with Windows 11.

  1. Sleep is disabled on both,
  2. power settings set to performance,
  3. advanced app settings set to 'always' for background permissions
  4. in advanced control panel settings for power options, made sure sleep and hibernate are set to never, 'put hard disk to sleep' set to never
  5. changed Terminal advanced profile options so that terminate behavior is set to 'never close automatically'

The error happens intermittently, and does not happen at the same time on both computers, suggesting that it is not related to Windows Store updates.

After applying change 5 listed above, Terminal doesn't close, but all sessions are still terminated with following error message:

[process exited with code 3221225786 (0xc000013a)] You can now close this terminal with Ctrl+D, or press Enter to restart.

Previous session processes are no longer running in background either.

Originally created by @colin-heberling on GitHub (Mar 18, 2024). ### Windows Terminal version 1.19.10573.0 ### Windows build number 10.0.19045.4046 ### Other Software _No response_ ### Steps to reproduce Don't know yet, sometimes it happens once every couple weeks, other times 2-3 times a week. ### Expected Behavior Terminal doesn't close or terminate unless I tell it to. ### Actual Behavior I have Terminal installed on 2 different desktop computers, one with Windows 10, the other with Windows 11. 1. Sleep is disabled on both, 2. power settings set to performance, 3. advanced app settings set to 'always' for background permissions 4. in advanced control panel settings for power options, made sure sleep and hibernate are set to never, 'put hard disk to sleep' set to never 5. changed Terminal advanced profile options so that terminate behavior is set to 'never close automatically' The error happens intermittently, and does not happen at the same time on both computers, suggesting that it is not related to Windows Store updates. After applying change 5 listed above, Terminal doesn't close, but all sessions are still terminated with following error message: `[process exited with code 3221225786 (0xc000013a)] You can now close this terminal with Ctrl+D, or press Enter to restart.` Previous session processes are no longer running in background either.
claunia added the Needs-TriageIssue-BugNeeds-Author-FeedbackNo-Recent-Activity labels 2026-01-31 07:43:51 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#21409