[error 0x800700c1 when launching `C:\Program Files\PowerShell\7\pwsh.exe'] #14369

Open
opened 2026-01-31 04:08:26 +00:00 by claunia · 0 comments
Owner

Originally created by @darrenjrobinson on GitHub (Jun 30, 2021).

Windows Terminal version (or Windows build number)

1.8.1521.0, 1.9.1523.0

Other Software

Windows 10 Pro
Version 2004 (OS Build 19041.1052)

Windows Terminal Version 1 8 1521 0

Windows Terminal Version 1 9 1523 0

Steps to reproduce

Windows Terminal

  • PowerShell installed in C:\Program Files\PowerShell\7
  • PowerShell the default windows terminal profile
  • Open Windows Terminal with PowerShell as the default profile.

error 0x800700c1 when launching pwsh exe

Expected Behavior

Windows Terminal open PowerShell console.

PowerShell Opening as Default in Windows Terminal

Actual Behavior

error 0x800700c1 when launching pwsh exe

Workaround
Find the 8.3 path to the directory with the space (dir /x)
Update the Windows Terminal Profile for PowerShell to use the 8.3 Path

Updated Path for PWSH in Windows Terminal Default Profile PowerShell

Success

Originally created by @darrenjrobinson on GitHub (Jun 30, 2021). ### Windows Terminal version (or Windows build number) 1.8.1521.0, 1.9.1523.0 ### Other Software Windows 10 Pro Version 2004 (OS Build 19041.1052) ![Windows Terminal Version 1 8 1521 0](https://user-images.githubusercontent.com/384733/123900256-167fab00-d9ac-11eb-8bf8-e79f136fb1ca.png) ![Windows Terminal Version 1 9 1523 0](https://user-images.githubusercontent.com/384733/123900451-71b19d80-d9ac-11eb-9159-162a8fd05874.png) ### Steps to reproduce Windows Terminal * PowerShell installed in C:\Program Files\PowerShell\7 * PowerShell the default windows terminal profile * Open Windows Terminal with PowerShell as the default profile. ![error 0x800700c1 when launching pwsh exe](https://user-images.githubusercontent.com/384733/123900339-3d3de180-d9ac-11eb-8f6a-f5e71a6abd7d.png) ### Expected Behavior Windows Terminal open PowerShell console. ![PowerShell Opening as Default in Windows Terminal](https://user-images.githubusercontent.com/384733/123900354-429b2c00-d9ac-11eb-9ecd-df656c58e1ab.png) ### Actual Behavior ![error 0x800700c1 when launching pwsh exe](https://user-images.githubusercontent.com/384733/123900162-e2a48580-d9ab-11eb-9175-25511322fcaa.png) **Workaround** Find the 8.3 path to the directory with the space (dir /x) Update the Windows Terminal Profile for PowerShell to use the 8.3 Path ![Updated Path for PWSH in Windows Terminal Default Profile PowerShell](https://user-images.githubusercontent.com/384733/123900232-0bc51600-d9ac-11eb-8ebb-042a75f6e6b7.png) Success
claunia added the Needs-TriageNeeds-Tag-FixNeeds-Attention labels 2026-01-31 04:08:26 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#14369