Guide details how to migrate Claude Code settings and history to a new PC
A technical guide from Cycle Bridge Okinawa explains how to move a Claude Code installation to a new Windows PC without losing settings or conversation history.
Key points
- Copy .claude folder, .claude.json, working folder, and automation scripts; leave credentials, tokens, cache, and binaries
- Conversation logs only continue if the working folder path matches exactly, including username
- Verify scheduled tasks actually ran before migrating; registered does not mean working
The article, based on a client migration completed on November 28, 2026, identifies four items to copy: the ".claude" folder (settings, skills, chat logs), the ".claude.json" file (account details and MCP registrations), the working folder, and automation scripts. It warns against transferring ".credentials.json", DPAPI-encrypted automation tokens, cache, and the application binary, as these must be recreated on the new machine.
A key finding is that conversation logs are stored in folders named after the working directory path. To resume chats as continuations, the working folder must sit at the exact same path on the new PC, including the username. The guide also stresses verifying that scheduled tasks actually ran before migrating, noting that a registered task may have failed silently due to expired tokens. The author tested the path-naming behavior on a company PC on November 29, 2026, but did not perform a full restore on separate hardware. Logs older than the default 30-day cleanup period are pruned automatically.

The headline, key points and digest above were generated by Digest AI's editorial model from the linked sources. Automated summaries can contain errors: the sources are the record. Spotted a mistake? Tell us. Published by Martin K., who runs Digest AI and handles corrections.
More in Agents & Tools
All →- Anthropic launches Claude Ship, Sheets, Whiteboards, and Meetings · 5 src
- Latest 2026 Claude Code Techniques: Expanding the Development Experience with Audio Understanding Tool "Earshot" · 1 src
- Andrej Karpathy uses Claude to build US strategy game map · 1 src
- Claude Code uses HyperFrames and Google Workspace CLI to automate workflows · 1 src
- Author builds Claude-powered health coach using Fitbit Air data · 1 src
Comments
via GitHub Discussions