Reported on behalf of another user from a supplied public-support-thread summary dated 2026-09-16. This is not a local reproduction by the filing account. Root cause and fix remain unverified.
Summary
A user can run PowerShell successfully in their Windows terminal, but requesting shell execution through the OpenClaw dashboard leads to application-startup failures. Screenshots were identified during support as showing powershell.exe and where.exe application errors with code 0xc0000142 (DLL initialization failure).
The agent's repeated claim that an empty executable allowlist caused the failure is not established by the collected evidence. Gateway effective policy and the node's saved defaults/main-agent policy were all security=full, ask=off. The node does not expose a complete resolved host policy, so those saved settings do not establish every runtime restriction.
Environment
- Gateway/CLI: OpenClaw 2026.9.3, commit 1391f7c.
- Windows node reports version 2026.7.1-4.
- Companion state directory:
%APPDATA%\OpenClawTray.
- Windows version reported earlier in the thread: 10.0.26200.9445.
- Earlier MCP crash output reported Node.js v26.8.1; the interpreter used by each current component has not been independently established.
- CLI launcher found at
%APPDATA%\npm\openclaw.cmd.
- Agent model referenced in the conversation:
minimax-portal/MiniMax-M3.
- Two paired node records with the same display name; one connected, one disconnected. Diagnostics targeted the connected node by ID.
- This is not a confirmed clean-install reproduction: troubleshooting included attempted configuration rewrites before the evidence below was collected.
The Gateway/node version difference is a diagnostic lead, not proof of incompatibility or causation.
Reported reproduction sequence
These steps describe the affected installation, not a maintainer-verified minimal reproduction.
- Connect the Windows companion node to the Gateway and open the dashboard chat.
- Ask the agent to execute:
powershell.exe -NoProfile -Command Get-Date
- Observe the Windows application-startup error during dashboard-triggered execution.
- Run the same command manually in the user's existing PowerShell terminal.
- Observe successful date output.
A subsequent dashboard-related screenshot was identified as a where.exe application error with the same code. Its complete command line and invocation context have not been captured.
Expected behavior
An authorized command should start successfully, or return an actionable error identifying the actual launch/policy failure. The same simple PowerShell command should not fail only through the companion without sufficient diagnostics to explain the difference.
Actual behavior and evidence
Manual PowerShell succeeds — direct user terminal output
PS C:\WINDOWS\system32> powershell.exe -NoProfile -Command Get-Date
Wednesday, September 16, 2026 4:16:08 PM
Dashboard execution fails — screenshots and agent summaries
The support conversation recorded screenshots of application-error dialogs for:
powershell.exe: 0xc0000142.
where.exe: 0xc0000142.
Original screenshot message links are below. The filing agent could not access the source Discord messages in this session; screenshots are not attached or independently inspected here.
The user's agent separately reported this output:
Warning: tools.exec.pathPrepend is ignored for host=node.
Access is denied.
(Command exited with code 1)
It also reported a different test ending with -1073741502, which corresponds to 0xC0000142, not 0xC000013A.
Evidence boundary: these textual tool results were copied from the agent's prose, not obtained as a complete raw tool invocation/result. The exit-1 report and the application-error reports should not be assumed to be the same attempt. Exact argv, working directory, environment, launch identity, and timestamps remain missing.
Gateway approvals — direct CLI output
Command used:
openclaw.cmd approvals get --gateway
Reported:
Defaults: security=full, ask=off, askFallback=full, autoAllowSkills=on
Agents: 0
Allowlist: 0
Effective tools.exec: security=full, ask=off
openclaw.cmd approvals pending reported no pending approvals at the time checked. This is not proof that no approval was ever requested.
Node approvals — direct CLI output and selected local file contents
The connected node's approvals report showed:
Path: %APPDATA%\OpenClawTray\exec-approvals.json
Defaults: security=full, ask=off, askFallback=deny, autoAllowSkills=off
Agents: 1
Allowlist: 0
Effective Policy
This node does not expose a complete resolved host policy, so Effective Policy is unavailable.
Reading only the file's agents field returned:
{
"main": {
"security": "full",
"ask": "off",
"askFallback": "deny"
}
}
Node capabilities — direct CLI output
Selected fields from openclaw.cmd nodes describe --node <connected-node-id> --json:
{
"platform": "windows",
"version": "2026.7.1-4",
"clientId": "node-host",
"clientMode": "node",
"deviceFamily": "Windows",
"sessionHost": false,
"approvalState": "approved",
"paired": true,
"connected": true
}
The returned command list includes system.run, system.run.prepare, system.which, and system.execApprovals.get/set. A missing advertised shell-execution capability is therefore not supported by this output. Pairing approval alone does not authorize every shell command.
Diagnostics already attempted
- Confirmed
openclaw.cmd works. Bare openclaw previously produced unexpected launcher behavior; the Windows launcher association/resolution issue was not fully diagnosed.
- Confirmed manual PowerShell launch succeeds.
- Checked Gateway policy, connected-node saved policy, and main-agent saved policy.
- Checked node connection/capabilities.
- Queried the Windows Application event log for messages containing
powershell.exe in the prior 30 minutes; no output. The query used -ErrorAction SilentlyContinue, so this does not establish that no relevant event or query error existed.
- Recursively listed
%APPDATA%\OpenClawTray\Logs, including hidden files. Only September 9 setup logs were found, not current execution logs.
- Located a Diagnostics item in the tray menu, but no resulting diagnostic report has yet been collected.
- No verified fix, clean reinstall reproduction, or successful companion execution retest has been obtained.
Configuration history / confounders
The user's agent suggested unsupported nested configuration paths involving agents.entries.main.models.…agentRuntime.tools.exec and whole-file PowerShell rewrites. A direct terminal capture shows a property-not-found error. A later save line could still have rewritten configuration after that error.
The agent also claimed backups/restoration and additional script changes; these claims have not all been independently verified. Do not treat the current state as pristine or the claimed backup as verified.
An earlier, separate MCP subprocess-cleanup crash reported:
Error: stdio process cleanup cannot confirm descendant extinction
That earlier crash should be triaged separately unless evidence links it to this launch failure.
Requested engineering investigation
- Capture a complete failing exec invocation and node-side process-launch diagnostics: executable path, argv, cwd, sanitized environment differences, process/user/session identity, launch flags, and native error/exit status.
- Identify the supported way to obtain current runtime logs from this companion build; the discovered directory only contained setup logs.
- Reproduce on the reported Gateway/companion version pair and compare with a supported matched/current pair in a controlled test.
- Compare terminal and companion launch contexts for both PowerShell and
where.exe; do not assume permissions, PATH, a specific DLL, security software, or the version mismatch is the cause without evidence.
- Preserve existing configuration and approval policy while collecting evidence. No further blanket permission widening is justified by these findings.
Source references
Discord references may require server access. Sanitized original screenshots and complete raw invocation/results remain evidence gaps.
Related reports and diagnostic leads
Please first determine whether this is expected UI-deny behavior needing clearer diagnostics, recurrence of #1143, or a separate launch-context failure. Preserve the user’s current configuration and sandbox settings while collecting that evidence. Model troubleshooting errors and the earlier MCP cleanup crash are outside this issue’s scope.
Reported on behalf of another user from a supplied public-support-thread summary dated 2026-09-16. This is not a local reproduction by the filing account. Root cause and fix remain unverified.
Summary
A user can run PowerShell successfully in their Windows terminal, but requesting shell execution through the OpenClaw dashboard leads to application-startup failures. Screenshots were identified during support as showing
powershell.exeandwhere.exeapplication errors with code0xc0000142(DLL initialization failure).The agent's repeated claim that an empty executable allowlist caused the failure is not established by the collected evidence. Gateway effective policy and the node's saved defaults/main-agent policy were all
security=full,ask=off. The node does not expose a complete resolved host policy, so those saved settings do not establish every runtime restriction.Environment
%APPDATA%\OpenClawTray.%APPDATA%\npm\openclaw.cmd.minimax-portal/MiniMax-M3.The Gateway/node version difference is a diagnostic lead, not proof of incompatibility or causation.
Reported reproduction sequence
These steps describe the affected installation, not a maintainer-verified minimal reproduction.
A subsequent dashboard-related screenshot was identified as a
where.exeapplication error with the same code. Its complete command line and invocation context have not been captured.Expected behavior
An authorized command should start successfully, or return an actionable error identifying the actual launch/policy failure. The same simple PowerShell command should not fail only through the companion without sufficient diagnostics to explain the difference.
Actual behavior and evidence
Manual PowerShell succeeds — direct user terminal output
Dashboard execution fails — screenshots and agent summaries
The support conversation recorded screenshots of application-error dialogs for:
powershell.exe:0xc0000142.where.exe:0xc0000142.Original screenshot message links are below. The filing agent could not access the source Discord messages in this session; screenshots are not attached or independently inspected here.
The user's agent separately reported this output:
It also reported a different test ending with
-1073741502, which corresponds to0xC0000142, not0xC000013A.Evidence boundary: these textual tool results were copied from the agent's prose, not obtained as a complete raw tool invocation/result. The exit-1 report and the application-error reports should not be assumed to be the same attempt. Exact argv, working directory, environment, launch identity, and timestamps remain missing.
Gateway approvals — direct CLI output
Command used:
Reported:
openclaw.cmd approvals pendingreported no pending approvals at the time checked. This is not proof that no approval was ever requested.Node approvals — direct CLI output and selected local file contents
The connected node's approvals report showed:
Reading only the file's
agentsfield returned:{ "main": { "security": "full", "ask": "off", "askFallback": "deny" } }Node capabilities — direct CLI output
Selected fields from
openclaw.cmd nodes describe --node <connected-node-id> --json:{ "platform": "windows", "version": "2026.7.1-4", "clientId": "node-host", "clientMode": "node", "deviceFamily": "Windows", "sessionHost": false, "approvalState": "approved", "paired": true, "connected": true }The returned command list includes
system.run,system.run.prepare,system.which, andsystem.execApprovals.get/set. A missing advertised shell-execution capability is therefore not supported by this output. Pairing approval alone does not authorize every shell command.Diagnostics already attempted
openclaw.cmdworks. Bareopenclawpreviously produced unexpected launcher behavior; the Windows launcher association/resolution issue was not fully diagnosed.powershell.exein the prior 30 minutes; no output. The query used-ErrorAction SilentlyContinue, so this does not establish that no relevant event or query error existed.%APPDATA%\OpenClawTray\Logs, including hidden files. Only September 9 setup logs were found, not current execution logs.Configuration history / confounders
The user's agent suggested unsupported nested configuration paths involving
agents.entries.main.models.…agentRuntime.tools.execand whole-file PowerShell rewrites. A direct terminal capture shows a property-not-found error. A later save line could still have rewritten configuration after that error.The agent also claimed backups/restoration and additional script changes; these claims have not all been independently verified. Do not treat the current state as pristine or the claimed backup as verified.
An earlier, separate MCP subprocess-cleanup crash reported:
That earlier crash should be triaged separately unless evidence links it to this launch failure.
Requested engineering investigation
where.exe; do not assume permissions, PATH, a specific DLL, security software, or the version mismatch is the cause without evidence.Source references
Discord references may require server access. Sanitized original screenshots and complete raw invocation/results remain evidence gaps.
Related reports and diagnostic leads
SetInformationJobObject(JobObjectUILimitInformation)/0x80070057. That signature is not present in this supplied evidence, so it should not be assumed to be the same defect.%LOCALAPPDATA%\OpenClawTray\openclaw-tray.log, whereas support inspected%APPDATA%\OpenClawTray\Logs. The former has not yet been collected from the affected host. Current README also documentsopenclaw://logsand redacted support-context diagnostics; availability in this exact installed build has not been verified.Please first determine whether this is expected UI-deny behavior needing clearer diagnostics, recurrence of #1143, or a separate launch-context failure. Preserve the user’s current configuration and sandbox settings while collecting that evidence. Model troubleshooting errors and the earlier MCP cleanup crash are outside this issue’s scope.