[BUG] Session history lost after restarting Windows
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?
Title: Session history lost after restarting Windows
Describe the bug
All previous chat sessions disappeared after restarting Windows 11. The left sidebar under the project only shows the current session; all historical sessions are gone and cannot be recovered.
To reproduce
Open Claude Code desktop app on Windows 11
Have multiple chat sessions under a project
Restart the computer
Reopen Claude Code — all previous sessions are missing
Expected behavior
Session history should persist across computer restarts.
Environment
OS: Windows 11 Home (10.0.26200)
Claude Code: Desktop App
Mode: Code
What Should Happen?
Session history should persist across computer restarts and be visible in the left sidebar.
Error Messages/Logs
Steps to Reproduce
- Open Claude Code desktop app on Windows
- Start multiple chat sessions under a project
- Restart the computer
- Reopen Claude Code
- All previous sessions are gone from the left sidebar
Claude Model
Opus
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.139 (Claude Code)
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Cursor
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗