Windows PowerShell is always the default profile even if not existed in settings.json #7797

Closed
opened 2026-01-31 01:12:50 +00:00 by claunia · 3 comments
Owner

Originally created by @wbpluto on GitHub (Apr 29, 2020).

Windows Terminal (Microsoft Store, upgraded automatically by the Store)
Version: 0.11.1121.0

Windows PowerShell is opened by default every time when start Windows Terminal:
image

Originally created by @wbpluto on GitHub (Apr 29, 2020). Windows Terminal (Microsoft Store, upgraded automatically by the Store) Version: 0.11.1121.0 Windows PowerShell is opened by default every time when start Windows Terminal: ![image](https://user-images.githubusercontent.com/5191513/80578764-93776380-8a3b-11ea-8899-cfd13ea19cd0.png)
claunia added the Resolution-Duplicate label 2026-01-31 01:12:50 +00:00
Author
Owner

@Varstahl commented on GitHub (Apr 29, 2020):

@wbpluto this looks like the same issue I had, until I read #5458. Globals are no longer valid in the config, so you must extract everything from it. Amongst the settings that were available in there was defaultProfile which selected the default profile to start with.

But it's still weird that without defaultProfile defined it just starts a random powershell instead of the first profile available. It seems that now the profiles have been moved to profiles.list, that might explain also this weird behaviour.

@Varstahl commented on GitHub (Apr 29, 2020): @wbpluto this looks like the same issue I had, until I read #5458. Globals are no longer valid in the config, so you must extract everything from it. Amongst the settings that were available in there was `defaultProfile` which selected the default profile to start with. ~But it's still weird that without `defaultProfile` defined it just starts a random powershell instead of the first profile available.~ It seems that now the profiles have been moved to `profiles.list`, that might explain also this weird behaviour.
Author
Owner

@zadjii-msft commented on GitHub (Apr 29, 2020):

@Varstahl you're correct, largely, this is /dup #5458.

It's actually not the profiles.list change - in defaults.json we specify that the default profile should be powershell.exe

@zadjii-msft commented on GitHub (Apr 29, 2020): @Varstahl you're correct, largely, this is /dup #5458. It's actually not the `profiles.list` change - in defaults.json we specify that the [default profile](https://github.com/microsoft/terminal/blob/master/src/cascadia/TerminalApp/defaults.json#L3) should be [powershell.exe](https://github.com/microsoft/terminal/blob/master/src/cascadia/TerminalApp/defaults.json#L30)
Author
Owner

@ghost commented on GitHub (Apr 29, 2020):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost commented on GitHub (Apr 29, 2020): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#7797