conhost headless mode is broken #18368

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

Originally created by @AveYo on GitHub (Sep 2, 2022).

Windows Terminal version

1.15.2203.0

Windows build number

10.0.25193.1000

Other Software

No response

Steps to reproduce

conhost --headless cmd /c "echo;%date% %time%>>%userprofile%\desktop\test.log"

Expected Behavior

test.log with date and time on desktop sans brief ui, like it worked so far up to build 25179

Actual Behavior

cmd.exe - Application Error dialog
The application was unable to start correctly (0xc0000142).
Click OK to close the application.

Originally created by @AveYo on GitHub (Sep 2, 2022). ### Windows Terminal version 1.15.2203.0 ### Windows build number 10.0.25193.1000 ### Other Software _No response_ ### Steps to reproduce `conhost --headless cmd /c "echo;%date% %time%>>%userprofile%\desktop\test.log"` ### Expected Behavior test.log with date and time on desktop sans brief ui, like it worked so far up to build 25179 ### Actual Behavior _cmd.exe - Application Error_ **dialog** _The application was unable to start correctly (0xc0000142). Click OK to close the application._
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#18368