microsoft / microsoft/terminal
error 0x80070780 when starting pwsh.exe
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 105k
- Forks
- 9.6k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 29
Description
### Windows Terminal version
1.24
### Windows build number
10.0.26200.8246
### Other Software
Powershell Core 7
### Steps to reproduce
Starting terminal as administrator from Windows start (right click) - probably after restart (?)
### Expected Behavior
opens default shell (Powershell core)
### Actual Behavior
the terminal opens but just shows this message:
[Fehler 2147944320 (0x80070780) beim Start von `"C:\Users\.....\AppData\Local\Microsoft\WindowsApps\Microsoft.PowerShell_8wekyb3d8bbwe\pwsh.exe"']
I tried to open another Powershell Core tab, same error.
I can, however, open a tab with cmd and start pwsh.exe there manually. From this moment on, I can add a real PowerShell core tab. And I can reopen a new terminal windows via start menu as before. And it works!
Note: I'm working as a "normal" user without admin rights. Need to enter credentials for local admin, when I open terminal as admin.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure when Windows Terminal is opened as administrator from the Windows Start menu and its default profile launches pwsh.exe. Compare that path with launching cmd first and then pwsh.exe; done means identifying why the administrator launch differs and verifying that the default PowerShell tab opens normally afterward.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, powershell
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100