Claude Code Desktop remote control fails on Windows with undefined session_url error
ShokuSo-GitHub02 · ghdev · 2026-07-19
A Windows user reports that Claude Code Desktop's /remote-control flow fails before a connection is ever established.
Error
The app throws:
Remote Control failed to disconnect: Cannot read properties of undefined (reading 'sessionurl')
The odd part is that the message mentions disconnecting even when the session was never connected, suggesting the client is trying to read sessionurl from an undefined state object.
Reproduction
- Open Claude Code Desktop on Windows 11
- Enable remote control by default in settings
- Run /remote-control
- The error appears immediately
Notes
The reporter says this is not the same as another issue where disconnect succeeds despite the error. In this case, the connection never succeeds at all, and the mobile app's Code tab never shows the session as connectable.
More from coding & agent
- Bugbot rejects an MCP permission flag because it would break path-scoped isolation — zeeg · 2026-07-27
- One GPT-5.6 agent is guarding a Blink security system while another makes a parody rap album — repligate · 2026-07-27
- An agent got unblocked by reusing a logged-in browser, not stealth tricks — armanidev_ · 2026-07-27
- Paper argues graph topology can become the core operating system for AI agents — theomitsa · 2026-07-27
- Claude Code desktop adds UI markup feedback for smoother visual editing — EricBuess · 2026-07-27
- Anthropic says Claude Code can drop 80% of its system prompt with no coding loss — krishnan · 2026-07-27