terminal: error 0x80070002 when launching `powershell.exe'
Environment
Windows build number: 10.0.18363.778
Windows Terminal version: 1.0.1401.0 Store/GitHub & 1.0.1402.0 Preview
Steps to reproduce
Open Windows Terminal or open new tab Windows PowerShell
Expected behavior
Windows PowerShell is open
Actual behavior
Error message: [error 0x80070002 when launching `powershell.exe’]
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 9
- Comments: 27 (3 by maintainers)
Links to this issue
Commits related to this issue
- Hardcode the paths to Windows PowerShell and CMD Occasionally, we get users with corrupt PATH environment variables: they can't lauch PowerShell, because for some reason it's dropped off their PATH. ... — committed to microsoft/terminal by DHowett 4 years ago
- Hardcode the paths to Windows PowerShell and CMD (#6684) Occasionally, we get users with corrupt PATH environment variables: they can't lauch PowerShell, because for some reason it's dropped off the... — committed to microsoft/terminal by DHowett 4 years ago
- Hardcode the paths to Windows PowerShell and CMD (#6684) Occasionally, we get users with corrupt PATH environment variables: they can't lauch PowerShell, because for some reason it's dropped off thei... — committed to microsoft/terminal by DHowett 4 years ago
- Hardcode the paths to Windows PowerShell and CMD (#6684) Occasionally, we get users with corrupt PATH environment variables: they can't lauch PowerShell, because for some reason it's dropped off thei... — committed to microsoft/terminal by DHowett 4 years ago
- Update Fork (#1) * Draw the cursor underneath text, and above the background (#6337) ## Summary of the Pull Request ![textAboveCursor003](https://user-images.githubusercontent.com/18356694/8368... — committed to ThunderPower/terminal by ThunderPower 4 years ago
Thank you. It works!
%systemroot%\System32\WindowsPowerShell\v1.0
Just add the path of the power shell to the environment variable
guys I found solution! basicly go to C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_1.0.1811.0_x64__8wekyb3d8bbwe //or wherever You app is instaled
copy the content to another folder, somewhere where You definitely have access to modify, i used new folder on my desktop
last step run WindowsTerminal.exe from that folder as admin.
Same error here