Open Ana06 opened 8 months ago
I am in favor!
@Ana06
This feature is only available in windows 11 or an updated version of windows 10.
The required OS build is >= 19045.3031
.
What do you mean with "this feature"? We want to open the shortcuts in the Tools directory with the Windows terminal, this is something we should be able to do in all versions.
I am using 10.0.19045.0
(downloaded from the recommended link in FLARE-VM), so we need to support this version as well.
@Ana06
The default terminal host in windows is conhost.exe
, for any application that requires a console (Ex. console apps like cmd.exe
or GUI apps using AllocConsole) windows, by default, assigns the traditional console host to it.
Since our shortcuts are basically wrappers for cmd.exe
commands, the used console is the old conhost.exe
. cmd.exe
itself is not a console, it's an app that requires a console.
To change the default console host in windows, the OS build should be >= 19045.3031
.
Details
Since https://github.com/mandiant/flare-vm/pull/580 and https://github.com/mandiant/VM-Packages/pull/962, Windows Terminal is the default console in FLARE-VM, being adding to the right-click and to the taskbar. @mandiant/vms should we also make Windows Terminal the default console to run tools as console apps? Currently the default is cmd for most tool and powershell for ps1 scripts.