PSCore7 not launching in WT #15889

Closed
opened 2026-01-31 04:51:26 +00:00 by claunia · 4 comments
Owner

Originally created by @elsaco on GitHub (Nov 15, 2021).

Windows Terminal version (or Windows build number)

WT ver. 1.11.2921.0 (MS Store installation)

Other Software

Windows 11 (fresh install + updates)

Steps to reproduce

  1. install PowerShell Core 7.2 from Store
  2. set WT as default terminal app in Settings
  3. launch PS7 from Start

Expected Behavior

PS7 running inside WT session

Actual Behavior

PS7 is running inside the previous (conhost?) terminal, not WT:

pwsh_no_wt

Originally created by @elsaco on GitHub (Nov 15, 2021). ### Windows Terminal version (or Windows build number) WT ver. 1.11.2921.0 (MS Store installation) ### Other Software Windows 11 (fresh install + updates) ### Steps to reproduce 1. install PowerShell Core 7.2 from Store 2. set WT as default terminal app in Settings 3. launch PS7 from Start ### Expected Behavior PS7 running inside WT session ### Actual Behavior PS7 is running inside the previous (conhost?) terminal, not WT: ![pwsh_no_wt](https://user-images.githubusercontent.com/3933920/141839816-58a688bc-20ff-4599-981b-678d3a7fba22.png)
claunia added the Needs-TriageNeeds-Tag-FixNeeds-Attention labels 2026-01-31 04:51:26 +00:00
Author
Owner

@DHowett commented on GitHub (Nov 15, 2021):

Do other applications properly launch in Terminal?

@DHowett commented on GitHub (Nov 15, 2021): Do other applications properly launch in Terminal?
Author
Owner

@elsaco commented on GitHub (Nov 15, 2021):

No. CMD, PS5.1 and PS7.2 start inside old console when launched from Start or Win+R. This is the HKCU_Console on my current setup:

[HKEY_CURRENT_USER\Console]
"ColorTable00"=dword:000c0c0c
"ColorTable01"=dword:00da3700
"ColorTable02"=dword:000ea113
"ColorTable03"=dword:00dd963a
"ColorTable04"=dword:001f0fc5
"ColorTable05"=dword:00981788
"ColorTable06"=dword:00009cc1
"ColorTable07"=dword:00cccccc
"ColorTable08"=dword:00767676
"ColorTable09"=dword:00ff783b
"ColorTable10"=dword:000cc616
"ColorTable11"=dword:00d6d661
"ColorTable12"=dword:005648e7
"ColorTable13"=dword:009e00b4
"ColorTable14"=dword:00a5f1f9
"ColorTable15"=dword:00f2f2f2
"CtrlKeyShortcutsDisabled"=dword:00000000
"CursorColor"=dword:ffffffff
"CursorSize"=dword:00000019
"DefaultBackground"=dword:ffffffff
"DefaultForeground"=dword:ffffffff
"EnableColorSelection"=dword:00000000
"ExtendedEditKey"=dword:00000001
"ExtendedEditKeyCustom"=dword:00000000
"FaceName"="__DefaultTTFont__"
"FilterOnPaste"=dword:00000001
"FontFamily"=dword:00000000
"FontSize"=dword:00100000
"FontWeight"=dword:00000000
"ForceV2"=dword:00000001
"FullScreen"=dword:00000000
"HistoryBufferSize"=dword:00000032
"HistoryNoDup"=dword:00000000
"InsertMode"=dword:00000001
"LineSelection"=dword:00000001
"LineWrap"=dword:00000001
"LoadConIme"=dword:00000001
"NumberOfHistoryBuffers"=dword:00000004
"PopupColors"=dword:000000f5
"QuickEdit"=dword:00000001
"ScreenBufferSize"=dword:23290078
"ScreenColors"=dword:00000007
"ScrollScale"=dword:00000001
"TerminalScrolling"=dword:00000000
"TrimLeadingZeros"=dword:00000000
"WindowAlpha"=dword:000000ff
"WindowSize"=dword:001e0078
"WordDelimiters"=dword:00000000
"CurrentPage"=dword:00000004

[HKEY_CURRENT_USER\Console\%%Startup]
"DelegationConsole"="{2EACA947-7F5F-4CFA-BA87-8F7FBEEFBE69}"
"DelegationTerminal"="{E12CFF52-A866-4C77-9A90-F570A7AA2C6B}"

[HKEY_CURRENT_USER\Console\%SystemRoot%_System32_WindowsPowerShell_v1.0_powershell.exe]
"ColorTable05"=dword:00562401
"ColorTable06"=dword:00f0edee
"FaceName"="Lucida Console"
"FontFamily"=dword:00000036
"FontWeight"=dword:00000190
"PopupColors"=dword:000000f3
"QuickEdit"=dword:00000001
"ScreenBufferSize"=dword:0bb80078
"ScreenColors"=dword:00000056
"WindowSize"=dword:00320078

[HKEY_CURRENT_USER\Console\%SystemRoot%_SysWOW64_WindowsPowerShell_v1.0_powershell.exe]
"ColorTable05"=dword:00562401
"ColorTable06"=dword:00f0edee
"FaceName"="Lucida Console"
"FontFamily"=dword:00000036
"FontWeight"=dword:00000190
"PopupColors"=dword:000000f3
"QuickEdit"=dword:00000001
"ScreenBufferSize"=dword:0bb80078
"ScreenColors"=dword:00000056
"WindowSize"=dword:00320078

[HKEY_CURRENT_USER\Console\C:_Program Files_WindowsApps_Microsoft.PowerShell_7.2.0.0_x64__8wekyb3d8bbwe_pwsh.exe]
"FontSize"=dword:00100008
"FontFamily"=dword:00000036
"FontWeight"=dword:00000190
"FaceName"="Consolas"
"CursorType"=dword:00000000
"InterceptCopyPaste"=dword:00000000

[HKEY_CURRENT_USER\Console\Git Bash]
"FaceName"="Lucida Console"
"FontFamily"=dword:00000036
"FontSize"=dword:000e0000
"FontWeight"=dword:00000190

[HKEY_CURRENT_USER\Console\Git CMD]
"FaceName"="Lucida Console"
"FontFamily"=dword:00000036
"FontSize"=dword:000e0000
"FontWeight"=dword:00000190

@elsaco commented on GitHub (Nov 15, 2021): No. `CMD`, `PS5.1` and `PS7.2` start inside old console when launched from `Start` or `Win+R`. This is the HKCU_Console on my current setup: ``` [HKEY_CURRENT_USER\Console] "ColorTable00"=dword:000c0c0c "ColorTable01"=dword:00da3700 "ColorTable02"=dword:000ea113 "ColorTable03"=dword:00dd963a "ColorTable04"=dword:001f0fc5 "ColorTable05"=dword:00981788 "ColorTable06"=dword:00009cc1 "ColorTable07"=dword:00cccccc "ColorTable08"=dword:00767676 "ColorTable09"=dword:00ff783b "ColorTable10"=dword:000cc616 "ColorTable11"=dword:00d6d661 "ColorTable12"=dword:005648e7 "ColorTable13"=dword:009e00b4 "ColorTable14"=dword:00a5f1f9 "ColorTable15"=dword:00f2f2f2 "CtrlKeyShortcutsDisabled"=dword:00000000 "CursorColor"=dword:ffffffff "CursorSize"=dword:00000019 "DefaultBackground"=dword:ffffffff "DefaultForeground"=dword:ffffffff "EnableColorSelection"=dword:00000000 "ExtendedEditKey"=dword:00000001 "ExtendedEditKeyCustom"=dword:00000000 "FaceName"="__DefaultTTFont__" "FilterOnPaste"=dword:00000001 "FontFamily"=dword:00000000 "FontSize"=dword:00100000 "FontWeight"=dword:00000000 "ForceV2"=dword:00000001 "FullScreen"=dword:00000000 "HistoryBufferSize"=dword:00000032 "HistoryNoDup"=dword:00000000 "InsertMode"=dword:00000001 "LineSelection"=dword:00000001 "LineWrap"=dword:00000001 "LoadConIme"=dword:00000001 "NumberOfHistoryBuffers"=dword:00000004 "PopupColors"=dword:000000f5 "QuickEdit"=dword:00000001 "ScreenBufferSize"=dword:23290078 "ScreenColors"=dword:00000007 "ScrollScale"=dword:00000001 "TerminalScrolling"=dword:00000000 "TrimLeadingZeros"=dword:00000000 "WindowAlpha"=dword:000000ff "WindowSize"=dword:001e0078 "WordDelimiters"=dword:00000000 "CurrentPage"=dword:00000004 [HKEY_CURRENT_USER\Console\%%Startup] "DelegationConsole"="{2EACA947-7F5F-4CFA-BA87-8F7FBEEFBE69}" "DelegationTerminal"="{E12CFF52-A866-4C77-9A90-F570A7AA2C6B}" [HKEY_CURRENT_USER\Console\%SystemRoot%_System32_WindowsPowerShell_v1.0_powershell.exe] "ColorTable05"=dword:00562401 "ColorTable06"=dword:00f0edee "FaceName"="Lucida Console" "FontFamily"=dword:00000036 "FontWeight"=dword:00000190 "PopupColors"=dword:000000f3 "QuickEdit"=dword:00000001 "ScreenBufferSize"=dword:0bb80078 "ScreenColors"=dword:00000056 "WindowSize"=dword:00320078 [HKEY_CURRENT_USER\Console\%SystemRoot%_SysWOW64_WindowsPowerShell_v1.0_powershell.exe] "ColorTable05"=dword:00562401 "ColorTable06"=dword:00f0edee "FaceName"="Lucida Console" "FontFamily"=dword:00000036 "FontWeight"=dword:00000190 "PopupColors"=dword:000000f3 "QuickEdit"=dword:00000001 "ScreenBufferSize"=dword:0bb80078 "ScreenColors"=dword:00000056 "WindowSize"=dword:00320078 [HKEY_CURRENT_USER\Console\C:_Program Files_WindowsApps_Microsoft.PowerShell_7.2.0.0_x64__8wekyb3d8bbwe_pwsh.exe] "FontSize"=dword:00100008 "FontFamily"=dword:00000036 "FontWeight"=dword:00000190 "FaceName"="Consolas" "CursorType"=dword:00000000 "InterceptCopyPaste"=dword:00000000 [HKEY_CURRENT_USER\Console\Git Bash] "FaceName"="Lucida Console" "FontFamily"=dword:00000036 "FontSize"=dword:000e0000 "FontWeight"=dword:00000190 [HKEY_CURRENT_USER\Console\Git CMD] "FaceName"="Lucida Console" "FontFamily"=dword:00000036 "FontSize"=dword:000e0000 "FontWeight"=dword:00000190 ```
Author
Owner

@zadjii-msft commented on GitHub (Nov 15, 2021):

Do you have the VC Redistributable installed? This sounds like this thread: https://github.com/microsoft/terminal/issues/11529#issuecomment-948649578, which also is covered in the FAQsle-window-instead

@zadjii-msft commented on GitHub (Nov 15, 2021): Do you have the VC Redistributable installed? This sounds like this thread: https://github.com/microsoft/terminal/issues/11529#issuecomment-948649578, which also is covered in the [FAQs](https://github.com/microsoft/terminal/wiki/Frequently-Asked-Questions-(FAQ)#launching-the-windows-terminal-as-the-default-terminal-doesnt-work---it-opens-the-vintage-conso)le-window-instead
Author
Owner

@elsaco commented on GitHub (Nov 16, 2021):

@zadjii-msft you're correct. Adding latest VC_redist.x64 did fix the issue. After OS installation only WT, Firefox and Git were added and none of them pulled in a VC Redistributable package. Thanks for the tip!

@elsaco commented on GitHub (Nov 16, 2021): @zadjii-msft you're correct. Adding latest VC_redist.x64 did fix the issue. After OS installation only WT, Firefox and Git were added and none of them pulled in a VC Redistributable package. Thanks for the tip!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#15889