Windows forensic artifactGitHubCopilot
GitHub Copilot CLI and Copilot Chat (VS Code) agent sessions, prompt history, configuration, and MCP settings
Look for session-store.db, command-history-state, copilot-instructions.md, *.json, *.lock
in %UserProfile%\.copilot\session-state, %UserProfile%\.copilot, %UserProfile%\.copilot\command-history-state and 12 more folders.
- 18 paths
- Per-user data
- Version 1.0
- Eric Capuano
Paths on disk
18 paths
Notes
Copilot CLI stores its state under %USERPROFILE%\.copilot\ (override: COPILOT_HOME). Its binary cache lives in
%LOCALAPPDATA%\copilot\pkg\ (override: COPILOT_CACHE_HOME) and is not collected. The root location and the
session-state, session-store.db, logs and config.json layout were confirmed on Windows Server 2025 with Copilot CLI 1.0.82.
Copilot Chat inside VS Code persists conversations through VS Code core chat storage (chatSessions per workspace,
emptyWindowChatSessions globally) and the extension keeps its own SQLite session store under globalStorage.
The workspaceStorage folder name is an MD5-style hash of the workspace path; the sibling workspace.json (collected by
VisualStudioCode.tkape) maps it back to the folder.
Deliberately not collected: .copilot\mcp-secrets\ and .copilot\mcp-oauth-config\ (tokens), installed-plugins\ and
extensions\ (plugin source trees), %LOCALAPPDATA%\copilot\pkg\ (binary cache).
References
7 links
- docs.github.com/en/copilot/reference/copilot-cli-reference/cli-config-dir-reference%20-%20Official%20list%20of%20everything%20under%20the%20Copilot%20CLI%20config%20directory(opens in new tab)
- docs.github.com/en/copilot/how-tos/copilot-cli/set-up-copilot-cli/configure-copilot-cli%20-%20COPILOT_HOME%20and%20COPILOT_CACHE_HOME%20overrides(opens in new tab)
- docs.github.com/en/copilot/how-tos/copilot-cli/cli-best-practices%20-%20session-state%20layout%20(events.jsonl,%20workspace.yaml,%20plan.md,%20checkpoints,%20files)(opens in new tab)
- docs.github.com/en/copilot/concepts/agents/copilot-cli/chronicle%20-%20session-store.db(opens in new tab)
- github.com/microsoft/vscode/blob/main/src/vs/workbench/contrib/chat/common/model/chatSessionStore.ts%20-%20chatSessions,%20emptyWindowChatSessions,%20transferredChatSessions(opens in new tab)
- github.com/microsoft/vscode/blob/main/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingSessionStorage.ts%20-%20chatEditingSessions%20state.json%20and%20contents(opens in new tab)
- github.com/microsoft/vscode/blob/main/extensions/copilot/src/extension/extension/vscode-node/services.ts%20-%20github.copilot-chat%20session-store.db(opens in new tab)
Related artifacts
Often collected in the same investigation
- ClaudeCodeClaude Code (Anthropic agentic coding CLI) session transcripts, prompt history, configuration, hooks, and IDE integration artifacts
- ClineCline (VS Code AI coding agent) task conversation histories, MCP settings, checkpoints, and global state
- CursorCursor AI editor agent chat history, composer data, local file history, MCP and hook configuration, and logs
- GeminiCLIGoogle Gemini CLI chat session logs, prompt history, shell history, checkpoints, and configuration
- OpenAICodexOpenAI Codex CLI (agentic coding CLI) session rollouts, prompt history, state databases, and configuration
- OpenCodeOpenCode (open-source terminal coding agent) session database, logs, snapshots, and configuration
- RooCodeRoo Code (VS Code AI coding agent, archived May 2026) task conversation histories, MCP settings, custom modes, and checkpoints
- VisualStudioCodeVisual Studio Code artifacts