I’ve been using OpenClaw on Windows, and I keep running into a really annoying issue:
every time I open, minimize, maximize, or switch focus on the OpenClaw window, multiple ComandPrompt terminals flash open and close.
At first I thought this was a bug or something wrong with my system, but after digging into it deeply, here’s what I found:
Why this happens
OpenClaw (version 2.x) always tries to invoke cmdop.exe internally, even if you don’t use cloud features.
On Windows, this internal call is executed through PowerShell, which causes:
-
a PowerShell window to open for a split second
-
immediately close
-
repeat whenever the GUI changes state (minimize, maximize, focus change)
Even if you delete or move cmdop.exe, OpenClaw still attempts the call.
So the flashing still happens — OpenClaw just fails the call instead of running it.
What doesn’t fix it
-
Removing
cmdop.exe -
Moving
cmdop.exeto another folder -
Clearing PATH
-
Deleting AppData copies
-
Reinstalling OpenClaw
-
Running OpenClaw with a different prefix
None of these stop the flashing, because the root cause is OpenClaw’s GUI itself.
The real cause
OpenClaw 2.x has no CLI-only mode.
Launching OpenClaw always launches the GUI, and the GUI always triggers internal cmdop checks.
This behavior is baked into the design.
Actual solutions
There are only two real ways to stop the flashing:
1. Don’t use the OpenClaw GUI (recommended if you want fully local use)
OpenClaw 2.x doesn’t provide a CLI agent runner, so the GUI is unavoidable.
If you need a local-only agent without PowerShell flashing, you must:
-
switch to OpenClaw 1.x, which had CLI support
or -
build your own local agent using Ollama + Python/Flask, etc.
2. Accept the flashing as part of OpenClaw 2.x’s design
If you stay on OpenClaw 2.x, the PowerShell flashing cannot be disabled.
Summary
The PowerShell windows are not a bug — they’re a side effect of how OpenClaw 2.x handles internal cmdop calls on Windows.
If you need a fully local, non-flashing setup, you must downgrade to OpenClaw 1.x or build your own local agent.
