Issue with Open windows from a previous session & WSL #18646

Open
opened 2026-01-31 06:20:09 +00:00 by claunia · 0 comments
Owner

Originally created by @Stanzilla on GitHub (Oct 10, 2022).

Windows Terminal version

1.16.2642.0

Windows build number

10.0.22623.0

Other Software

WSL v2

Steps to reproduce

  • Have a few tabs open that point to paths on the WSL VM
  • Restart your PC
  • Open Windows Terminal

Expected Behavior

Tabs restored to their previous folder / path

Actual Behavior

Tabs restored to system32

I assume this happened because the VM was not running yet when I launched Terminal? Is there maybe a way to let terminal "wait" for it to be up and then restore the correct path?

Originally created by @Stanzilla on GitHub (Oct 10, 2022). ### Windows Terminal version 1.16.2642.0 ### Windows build number 10.0.22623.0 ### Other Software WSL v2 ### Steps to reproduce - Have a few tabs open that point to paths on the WSL VM - Restart your PC - Open Windows Terminal ### Expected Behavior Tabs restored to their previous folder / path ### Actual Behavior Tabs restored to system32 I assume this happened because the VM was not running yet when I launched Terminal? Is there maybe a way to let terminal "wait" for it to be up and then restore the correct path?
claunia added the Issue-BugNeeds-Tag-FixNeeds-AttentionProduct-Terminal labels 2026-01-31 06:20:09 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#18646