I set a default profile with custom appearance settings, but my PowerShell shortcut opens a generic window instead. Selecting the profile from the dropdown opens it with the settings and administrator privileges. How can I make the shortcut use it automatically?
Why doesn't my PowerShell shortcut open my chosen profile?
Answers
The setting sounds like a Windows Terminal default profile, not a PowerShell startup setting. If the shortcut launches powershell.exe directly, Windows Terminal can host it without applying the default profile you selected.
Try replacing the shortcut with one for Windows Terminal, or change its target to wt.exe with no arguments. That should start Terminal using its default profile.
Reply to this answer
Since the profile you select also opens as administrator, check whether you need elevation every time or just the appearance settings. You can hold Ctrl and Shift while selecting a profile to launch it elevated, rather than making a separate admin profile just for that.
raincoat_without_pockets:
It's also worth trying the same profile without administrator privileges to see whether the appearance issue changes.
Reply to this answer
Add your answer
Answers are reviewed before publication.
v29.frame_hold:
PowerShell is the shell running commands. Windows Terminal is the application hosting the shell, and its profiles control things like appearance and launch settings.