microsoft / microsoft/terminal
The new 'Run as Administrator' feature returns a 'cannot find WindowsTerminal.exe' error
- Dominant language
- C++
- Stars
- 105k
- Forks
- 9.6k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 29
Description
### Windows Terminal version
1.13.10336.0
### Windows build number
10.0.19044.1466
### Other Software
_No response_
### Steps to reproduce
Holding down Ctrl when clicking the + button to open a new window as admin opens the UAC prompt for elevation but after entering credentials, it returns an error saying WindowsTerminal.exe cannot be found.
### Expected Behavior
_No response_
### Actual Behavior
Windows cannot find 'C;\Program Files\WindowsApps\Microsoft.Windows.TerminalPreview_1.13.10336...\WindowsTerminal.exe'. Make sure you typed the name correctly, and then try again.
Contributor guide
Research direction
Start by reproducing the Ctrl-click on the + button flow described in the issue and inspect how it launches WindowsTerminal.exe after the UAC prompt. Confirm the executable path used for elevation and verify that an elevated new window opens without the “cannot find” error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100