Summary
When PowerShell 7 is installed as an MSIX package, pwsh is not available in non-interactive system contexts. MSIX packages register per-user only — the SYSTEM account and other service identities cannot locate or invoke pwsh.
Affected scenarios
- Scheduled tasks running as SYSTEM
- Windows Services running as LocalSystem or a service account
- MDM-deployed scripts (Intune, ConfigMgr)
- Deployment agents and automation pipelines running in non-interactive contexts
Repro
From an elevated prompt:
Expected: PowerShell 7 launches.
Actual: The system cannot find the file specified.
Context
This is a known architectural constraint of MSIX packaging. We are working with the relevant Windows engineering teams on a resolution. We have internal tracking for this work and will update this issue as progress is made.
This is a blocker for the PS7 inboxing initiative.
Summary
When PowerShell 7 is installed as an MSIX package,
pwshis not available in non-interactive system contexts. MSIX packages register per-user only — the SYSTEM account and other service identities cannot locate or invokepwsh.Affected scenarios
Repro
From an elevated prompt:
Expected: PowerShell 7 launches.
Actual:
The system cannot find the file specified.Context
This is a known architectural constraint of MSIX packaging. We are working with the relevant Windows engineering teams on a resolution. We have internal tracking for this work and will update this issue as progress is made.
This is a blocker for the PS7 inboxing initiative.