Skip to content

[Bug]: Windows Scheduled Task launches visible Gateway window even after: $env:OPENCLAW_WINDOWS_TASK_HIDDEN_LAUNCHER="1" openclaw gateway install --force openclaw gateway start #95079

Description

@Hugues-Le-Roy

Bug type

Behavior bug (incorrect output/state without crash)

Beta release blocker

No

Summary

Windows Scheduled Task launches visible Gateway window even after:
$env:OPENCLAW_WINDOWS_TASK_HIDDEN_LAUNCHER="1"
openclaw gateway install --force
openclaw gateway start

OpenClaw: 2026.6.8
Windows host
Gateway status: Connectivity probe OK
Expected: hidden/background service
Actual: foreground Gateway PowerShell/CMD window pops up

Steps to reproduce

Windows Scheduled Task launches visible Gateway window even after:
$env:OPENCLAW_WINDOWS_TASK_HIDDEN_LAUNCHER="1"
openclaw gateway install --force
openclaw gateway start

OpenClaw: 2026.6.8
Windows host
Gateway status: Connectivity probe OK
Expected: hidden/background service
Actual: foreground Gateway PowerShell/CMD window pops up

Expected behavior

Windows Scheduled Task launches visible Gateway window even after:
$env:OPENCLAW_WINDOWS_TASK_HIDDEN_LAUNCHER="1"
openclaw gateway install --force
openclaw gateway start

OpenClaw: 2026.6.8
Windows host
Gateway status: Connectivity probe OK
Expected: hidden/background service
Actual: foreground Gateway PowerShell/CMD window pops up

Actual behavior

Windows Scheduled Task launches visible Gateway window even after:
$env:OPENCLAW_WINDOWS_TASK_HIDDEN_LAUNCHER="1"
openclaw gateway install --force
openclaw gateway start

OpenClaw: 2026.6.8
Windows host
Gateway status: Connectivity probe OK
Expected: hidden/background service
Actual: foreground Gateway PowerShell/CMD window pops up

OpenClaw version

OpenClaw: 2026.6.8

Operating system

Winidows 11

Install method

No response

Model

openrouter/free

Provider / routing chain

openrouter/free

Additional provider/model setup details

Windows Scheduled Task launches visible Gateway window even after:
$env:OPENCLAW_WINDOWS_TASK_HIDDEN_LAUNCHER="1"
openclaw gateway install --force
openclaw gateway start

OpenClaw: 2026.6.8
Windows host
Gateway status: Connectivity probe OK
Expected: hidden/background service
Actual: foreground Gateway PowerShell/CMD window pops up

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

Windows Scheduled Task launches visible Gateway window even after:
$env:OPENCLAW_WINDOWS_TASK_HIDDEN_LAUNCHER="1"
openclaw gateway install --force
openclaw gateway start

OpenClaw: 2026.6.8
Windows host
Gateway status: Connectivity probe OK
Expected: hidden/background service
Actual: foreground Gateway PowerShell/CMD window pops up

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Normal backlog priority with limited blast radius.bugSomething isn't workingbug:behaviorIncorrect behavior without a crashimpact:crash-loopCrash, hang, restart loop, or process-level availability failure.

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions