[BUG] 2026-06-29 14:52:24.517 [info] From claude: 2026-06-29T09:22:24.518Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: C:\Program Files\ClaudeCode\managed-settings.json
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?
2026-06-29 14:52:24.517 [info] From claude: 2026-06-29T09:22:24.518Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: C:\Program Files\ClaudeCode\managed-settings.json
026-06-29 14:52:24.518 [info] From claude: Your organization requires remote managed settings to load, but they could not be loaded. Run claude auth login to re-authenticate, check your network connection, or contact your administrator.
2026-06-29 14:52:24.566 [info] Closing Claude on channel: vku21w2j39m
2026-06-29 14:52:24.566 [error] Error spawning Claude (on channel vku21w2j39m): Error: Claude Code process exited with code 1
2026-06-29 14:52:24.566 [info] OAuth tokens found in secure storage
2026-06-29 14:52:24.566 [error] Failed to load config cache: Error: Claude Code process exited with code 1
2026-06-29 14:52:24.568 [info] Getting authentication status
2026-06-29 14:52:24.568 [info] OAuth tokens found in secure storage
2026-06-29 14:52:24.568 [info] Getting authentication status
2026-06-29 14:52:24.568 [info] OAuth tokens found in secure storage
2026-06-29 14:52:24.569 [error] Error processing client request: Error: Claude Code process exited with code 1
2026-06-29 14:52:24.590 [info] Received message from webview: {"type":"interrupt_claude","channelId":"ttnlydn2iqe"}
2026-06-29 14:52:24.591 [warning] Channel not found: ttnlydn2iqe
2026-06-29 14:52:29.719 [info] Received message from webview: {"type":"request","requestId":"j73zxoaozr","request":{"type":"open_url","url":"https://claude.ai/code"}}
2026-06-29 14:55:39.998 [info] Received message from webview: {"type":"request","requestId":"04uu8ba7ickn","request":{"type":"open_output_panel"}}
What Should Happen?
when i am trying to login then auth is not happening
Error Messages/Logs
vscode\extensions\anthropic.claude-code-2.1.195-win32-x64\resources\native-binary\claude.exe, resume: undefined
2026-06-29 14:52:22.936 [info] From claude: 2026-06-29T09:22:22.936Z [DEBUG] MDM settings load completed in 63ms
2026-06-29 14:52:22.983 [info] From claude: 2026-06-29T09:22:22.984Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: C:\Program Files\ClaudeCode\managed-settings.json
2026-06-29 14:52:22.988 [info] From claude: 2026-06-29T09:22:22.989Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: c:\Users\prakhar.r.gupta\Downloads\Dev2\.claude\settings.json
2026-06-29 14:52:22.990 [info] From claude: 2026-06-29T09:22:22.991Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: c:\Users\prakhar.r.gupta\Downloads\Dev2\.claude\settings.local.json
2026-06-29 14:52:22.990 [info] From claude: 2026-06-29T09:22:22.991Z [DEBUG] CA certs: Config fallback - globalEnv keys: , settingsEnv keys: none
2026-06-29 14:52:23.009 [info] From claude: 2026-06-29T09:22:23.009Z [DEBUG] [init] configureGlobalMTLS starting
2026-06-29 14:52:23.009 [info] From claude: 2026-06-29T09:22:23.009Z [DEBUG] [init] configureGlobalMTLS complete
2026-06-29T09:22:23.010Z [DEBUG] [init] configureGlobalAgents starting
2026-06-29 14:52:23.009 [info] From claude: 2026-06-29T09:22:23.010Z [DEBUG] CA certs: stores=bundled,system, extraCertsPath=undefined
2026-06-29 14:52:23.010 [info] From claude: 2026-06-29T09:22:23.011Z [DEBUG] CA certs: Loaded 120 bundled root certificates
2026-06-29 14:52:23.053 [info] From claude: 2026-06-29T09:22:23.053Z [DEBUG] CA certs: Loaded 296 system CA certificates
2026-06-29 14:52:23.053 [info] From claude: 2026-06-29T09:22:23.054Z [DEBUG] mTLS: Creating HTTPS agent with custom certificates
2026-06-29 14:52:23.053 [info] From claude: 2026-06-29T09:22:23.054Z [DEBUG] [init] configureGlobalAgents complete
2026-06-29 14:52:23.341 [error] Error fetching remote sessions: AxiosError: Request failed with status code 401
2026-06-29 14:52:23.705 [info] From claude: 2026-06-29T09:22:23.706Z [DEBUG] Git Bash not found; BashTool will be unavailable
2026-06-29 14:52:23.709 [info] From claude: 2026-06-29T09:22:23.710Z [DEBUG] Git remote URL: null
2026-06-29T09:22:23.710Z [DEBUG] No git remote URL found
2026-06-29 14:52:23.758 [info] From claude: 2026-06-29T09:22:23.759Z [DEBUG] Error log sink initialized
2026-06-29 14:52:24.408 [info] From claude: 2026-06-29T09:22:24.409Z [ERROR] Failed to fetch oauth profile from OAuth token: [REDACTED] Request failed with status code 401
2026-06-29 14:52:24.485 [info] From claude: 2026-06-29T09:22:24.485Z [DEBUG] Remote settings: Using stale cache after fetch failure
2026-06-29 14:52:24.489 [info] From claude: 2026-06-29T09:22:24.490Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: c:\Users\prakhar.r.gupta\Downloads\Dev2\.claude\settings.json
2026-06-29 14:52:24.491 [info] From claude: 2026-06-29T09:22:24.492Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: c:\Users\prakhar.r.gupta\Downloads\Dev2\.claude\settings.local.json
2026-06-29 14:52:24.499 [info] From claude: 2026-06-29T09:22:24.500Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: C:\Program Files\ClaudeCode\managed-settings.json
2026-06-29 14:52:24.501 [info] From claude: 2026-06-29T09:22:24.502Z [DEBUG] Programmatic settings change notification for policySettings
2026-06-29 14:52:24.509 [info] From claude: 2026-06-29T09:22:24.510Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: c:\Users\prakhar.r.gupta\Downloads\Dev2\.claude\settings.json
2026-06-29 14:52:24.510 [info] From claude: 2026-06-29T09:22:24.511Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: c:\Users\prakhar.r.gupta\Downloads\Dev2\.claude\settings.local.json
2026-06-29 14:52:24.517 [info] From claude: 2026-06-29T09:22:24.518Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: C:\Program Files\ClaudeCode\managed-settings.json
2026-06-29 14:52:24.518 [info] From claude: Your organization requires remote managed settings to load, but they could not be loaded. Run `claude auth login` to re-authenticate, check your network connection, or contact your administrator.
2026-06-29 14:52:24.566 [info] Closing Claude on channel: vku21w2j39m
2026-06-29 14:52:24.566 [error] Error spawning Claude (on channel vku21w2j39m): Error: Claude Code process exited with code 1
2026-06-29 14:52:24.566 [info] OAuth tokens found in secure storage
2026-06-29 14:52:24.566 [error] Failed to load config cache: Error: Claude Code process exited with code 1
2026-06-29 14:52:24.568 [info] Getting authentication status
2026-06-29 14:52:24.568 [info] OAuth tokens found in secure storage
2026-06-29 14:52:24.568 [info] Getting authentication status
2026-06-29 14:52:24.568 [info] OAuth tokens found in secure storage
2026-06-29 14:52:24.569 [error] Error processing client request: Error: Claude Code process exited with code 1
2026-06-29 14:52:24.590 [info] Received message from webview: {"type":"interrupt_claude","channelId":"ttnlydn2iqe"}
2026-06-29 14:52:24.591 [warning] Channel not found: ttnlydn2iqe
2026-06-29 14:52:29.719 [info] Received message from webview: {"type":"request","requestId":"j73zxoaozr","request":{"type":"open_url","url":"https://claude.ai/code"}}
2026-06-29 14:55:39.998 [info] Received message from webview: {"type":"request","requestId":"04uu8ba7ickn","request":{"type":"open_output_panel"}}
Steps to Reproduce
- try /login. giving output as 1
Claude Model
Sonnet (default)
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.195
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
PowerShell
Additional Information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗