Environment variables not updating when opened as wt.exe #21370

Open
opened 2026-01-31 07:42:45 +00:00 by claunia · 0 comments
Owner

Originally created by @SainoNamkho on GitHub (Mar 10, 2024).

Windows Terminal version

1.12.10983.0

Windows build number

10.0.22621.1848

Other Software

No response

Steps to reproduce

  1. Set system default terminal app to Windows Terminal.
  2. Open terminal.
  3. Change some environment variables
  4. Open a new instance or terminal by the same method of opening the previous instance.

Expected Behavior

The environment variables should be updated in the new windows.

Actual Behavior

The result is

Method to open Terminal Environment variable changed
win+r then wt.exe ✔️
C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_1.12.10983.0_x64__8wekyb3d8bbwe\wt.exe
Press Win key to search wt
Win key search cmd ✔️
Open Terminal in Win+X menu ✔️
Open Terminal in shell:appsfolder ✔️
By click the item in start menu ✔️
Originally created by @SainoNamkho on GitHub (Mar 10, 2024). ### Windows Terminal version 1.12.10983.0 ### Windows build number 10.0.22621.1848 ### Other Software _No response_ ### Steps to reproduce 1. Set system default terminal app to Windows Terminal. 2. Open terminal. 3. Change some environment variables 4. Open a new instance or terminal by the same method of opening the previous instance. ### Expected Behavior The environment variables should be updated in the new windows. ### Actual Behavior The result is | Method to open Terminal | Environment variable changed | |-----------------------------|-----------------------------------| | win+r then `wt.exe` | ✔️| | `C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_1.12.10983.0_x64__8wekyb3d8bbwe\wt.exe` | ❌| | Press Win key to search `wt` | ❌| | Win key search `cmd` | ✔️| | Open Terminal in Win+X menu | ✔️| | Open Terminal in `shell:appsfolder` | ✔️ | | By click the item in start menu | ✔️ |
claunia added the Needs-TriageIssue-BugNeeds-Author-FeedbackNo-Recent-Activity labels 2026-01-31 07:42:45 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#21370