[BUG] Claude Code / Claude Desktop does not relaunch after waking the PC from sleep
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
After waking the computer from sleep, Claude does not come back up on its own, while other applications that were open before sleep are still present and running normally. This happens consistently, not as a rare one-off.
This may be related to the window-restore behavior described in the closed/locked #39336 (main window doesn't reappear after closing, only a non-functional quick-entry bar via the tray icon, left-click). That issue is specifically about closing the window; this report is about the same kind of "window doesn't come back" symptom, but triggered by sleep/wake instead.
What Should Happen?
Claude should relaunch/reappear automatically after the PC wakes from sleep, the same way other applications that were running before sleep do.
Error Messages/Logs
Steps to Reproduce
- Have Claude Desktop / Claude Code running normally, with other applications also open.
- Put the PC to sleep (or let it go to sleep automatically).
- Wake the PC.
- Other applications that were open before sleep are still present and running.
- Claude does not come back up on its own.
This happens consistently across sleep/wake cycles, not as an occasional glitch.
Claude Model
None
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
Not captured automatically in this environment - reporter to confirm via claude --version
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
PowerShell
Additional Information
_No response_
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗