Skip to content

[Bug]: [Severe] Windows gateway install may spawn repeated console windows that make the desktop unusable #26487

@nekwo

Description

@nekwo

Bug Description

On Windows, hermes gateway install / hermes gateway start can enter an unstable lifecycle where repeated gateway starts or stale Scheduled Task behavior spawn duplicate gateway/subprocess windows.

In severe cases this repeatedly opens or flashes cmd.exe, powershell.exe, or hermes.exe windows, stealing focus and making the desktop difficult or effectively impossible to use while the gateway is running.

This is more than a cosmetic console-flash issue: it can block normal PC usage, disrupt typing/clicking, and interfere with messaging/cron gateway reliability. Duplicate gateway processes can also conflict with polling-based integrations such as Telegram.

Steps to Reproduce

1 run hermes profile gateway install on windows 10

Expected Behavior

It should install the gateway and prompt if you want system md on start and to start the gateway then show priveledge escalation RUN dialogue

Actual Behavior

Spams shell windows and there is no priveledge escalation window

Affected Component

Gateway (Telegram/Discord/Slack/WhatsApp)

Messaging Platform (if gateway-related)

Telegram

Debug Report

there is no logs it's just the hermes.exe vnv spamming

Operating System

windows 10 windows 11

Python Version

No response

Hermes Version

No response

Additional Logs / Traceback (optional)

Root Cause Analysis (optional)

No response

Proposed Fix (optional)

No response

Are you willing to submit a PR for this?

  • I'd like to fix this myself and submit a PR

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1High — major feature broken, no workaroundcomp/cliCLI entry point, hermes_cli/, setup wizardcomp/gatewayGateway runner, session dispatch, deliverytype/bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions