microsoft / microsoft/terminal
Bug with "Open windows from a previous session" and defaults profile run as admin
- Dominant language
- C++
- Stars
- 105k
- Forks
- 9.6k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 29
Description
### Windows Terminal version
1.16.10261.0
### Windows build number
10.0.19045.2604
### Other Software
_No response_
### Steps to reproduce
Set "When Terminal Starts" to "open windows from a previous session"
Set Defaults to run this profile as administrator
### Expected Behavior
When opening terminal from start menu it opens as administrator with saved tabs
### Actual Behavior
Terminal opens with default profile and new window with previous tabs.
This happens even with saved tab being the startup default
Contributor guide
Research direction
No file or test is named. Start by reproducing the issue with session restoration enabled and the default profile set to run as administrator, then trace the startup, saved-tab restoration, and profile-selection entry points. Done means launching from the Start menu restores the saved tabs using the configured elevated profile.
Written by the indexing model from the issue text.
Assessment
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100