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
- Redditor seeks real-world stacks for a persistent-memory personal AI that answers texts and emails — BrooksomidusGG · 2026-10-27
- Practical tip: use max effort for planning, xhigh for implementation in Claude Code — majidmanzarpour · 2026-10-27
- Chrome team explains WebMCP: agents get tools from your website, not a replacement for MCP — rseroter · 2026-10-27
- Agent-Native apps: why agents bypassing your UI can break business rules — rseroter · 2026-10-27
- 'My intelligence stack': developer splits AI coding work across Opus 5.5, Fable and Astra with human review gates — sh_reya · 2026-10-27
- Baseten webinar: evaluate open models for coding agents by benchmarking on your own merged PRs — baseten · 2026-10-27