What version of the Codex App are you using (From “About Codex” dialog)?
26.305.950.0
What subscription do you have?
Go, Planning to go Pro if I can get it to work
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 x64
What issue are you seeing?
Summary
Codex desktop is unable to run any shell command on Windows because its managed PowerShell host fails during initialization.
This blocks all repo access and file operations from the assistant, even for trivial commands like Get-Location.
Environment
- OS: Windows
- App: Codex desktop
- Shell configured in session: PowerShell
- Workspace: local repo on Windows filesystem
What I Expected
Codex should be able to start the shell host and run normal commands in the workspace, for example:
Get-Location
Get-ChildItem -Force
git status --short
What Actually Happened
`Every command fails before execution with the same PowerShell host startup error.
Observed errors:
Internal Windows PowerShell error. Loading managed Windows PowerShell failed with error 8009001d.
Also saw once during earlier attempts:
CreateProcessWithLogonW failed: 1056
Impact
This makes the coding agent unusable for local development tasks because it cannot:
- inspect files
- search the repo
- edit code
- run tests
- run git commands
Result
The command does not run. The shell host fails immediately with:
Internal Windows PowerShell error. Loading managed Windows PowerShell failed with error 8009001d.
Troubleshooting Already Tried
- Restarted Codex
- Restarted the session/thread
- Granted full access
- Rebooted Windows
- Installed Windows updates
- Ran sfc /scannow with no issues found
- Reinstalled the Codex desktop app
Additional Notes
PowerShell itself appears to work normally outside Codex. Running this manually succeeds:
powershell -NoProfile -Command "Write-Output ok"
That suggests the problem is specific to the Codex desktop shell host / PowerShell integration rather than Windows PowerShell itself.
Request
Please investigate the Windows PowerShell host initialization path in Codex desktop, specifically around the managed host startup and any crypto/profile-related dependency that could trigger error 8009001d.
What steps can reproduce the bug?
Steps To Reproduce
- Open Codex desktop on Windows.
- Open any local workspace.
- Start a new chat/session.
- Ask the agent to run any simple shell command in the workspace, examples:
Get-Location
Get-ChildItem -Force
git status --short
What is the expected behavior?
What I Expected
Codex should be able to start the shell host and run normal commands in the workspace, for example:
Get-Location
Get-ChildItem -Force
git status --short
Additional information
No response
What version of the Codex App are you using (From “About Codex” dialog)?
26.305.950.0
What subscription do you have?
Go, Planning to go Pro if I can get it to work
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 x64
What issue are you seeing?
Summary
Codex desktop is unable to run any shell command on Windows because its managed PowerShell host fails during initialization.
This blocks all repo access and file operations from the assistant, even for trivial commands like
Get-Location.Environment
What I Expected
Codex should be able to start the shell host and run normal commands in the workspace, for example:
What Actually Happened
`Every command fails before execution with the same PowerShell host startup error.
Observed errors:
Also saw once during earlier attempts:
Impact
This makes the coding agent unusable for local development tasks because it cannot:
Result
The command does not run. The shell host fails immediately with:
Troubleshooting Already Tried
Additional Notes
PowerShell itself appears to work normally outside Codex. Running this manually succeeds:
That suggests the problem is specific to the Codex desktop shell host / PowerShell integration rather than Windows PowerShell itself.
Request
Please investigate the Windows PowerShell host initialization path in Codex desktop, specifically around the managed host startup and any crypto/profile-related dependency that could trigger error 8009001d.
What steps can reproduce the bug?
Steps To Reproduce
What is the expected behavior?
What I Expected
Codex should be able to start the shell host and run normal commands in the workspace, for example:
Additional information
No response