replace the default conhost with new terminal #11824

Open
opened 2026-01-31 02:58:28 +00:00 by claunia · 0 comments
Owner

Originally created by @armasm on GitHub (Dec 16, 2020).

world

we should build newhost to forward execute
image
build and copy to system32 dir.
image

when the console program starts. the condrv.sys will create conhost process and modify the process command line.
image
we should modify the path to our newhost.
image
build the driver and load.

set HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Windows\ErrorMode to val 2. ignore the error windows diag.
image

end

Originally created by @armasm on GitHub (Dec 16, 2020). ![world](https://user-images.githubusercontent.com/16433238/102388121-48cb4b80-400c-11eb-8110-2413ecd856e3.gif) 1. we should build newhost to forward execute ![image](https://user-images.githubusercontent.com/16433238/102385009-4a931000-4008-11eb-917d-4c9822bfc537.png) build and copy to system32 dir. ![image](https://user-images.githubusercontent.com/16433238/102385168-7d3d0880-4008-11eb-8b33-1853d057b79a.png) 2. when the console program starts. the condrv.sys will create conhost process and modify the process command line. ![image](https://user-images.githubusercontent.com/16433238/102385470-d6a53780-4008-11eb-96a1-db702afeb4d4.png) we should modify the path to our newhost. ![image](https://user-images.githubusercontent.com/16433238/102385575-fb011400-4008-11eb-9041-bbb30ffd8d10.png) build the driver and load. 3. set HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Windows\ErrorMode to val 2. ignore the error windows diag. ![image](https://user-images.githubusercontent.com/16433238/102385745-2f74d000-4009-11eb-9a6b-52c068b9456a.png) 4. end
claunia added the Issue-FeatureResolution-Duplicate labels 2026-01-31 02:58:28 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#11824