[BUG] Claude Desktop v1.1.7714 fails to launch — "Failed to get 'documents' path" on Windows 11

Resolved 💬 2 comments Opened Mar 20, 2026 by negra1m Closed Mar 23, 2026

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?

Environment

  • OS: Windows 11 Pro 10.0.26200
  • Claude Desktop: v1.1.7714 (installed via winget Anthropic.Claude)

Steps to reproduce

  1. Have the Windows Documents folder redirected to OneDrive (common on Windows 11)
  2. OneDrive folder exists in registry but the physical path doesn't exist on disk
  3. Install and launch Claude Desktop

Expected

App opens normally.

Actual

Dialog: "Claude Desktop failed to launch. Please check for updates and try again."

Root cause

Found in %APPDATA%\Claude\logs\launch-failure.err:

Error: Failed to get 'documents' path
{}
at Object.<anonymous> (...app.asar/.vite/build/index.js:716:73346)

The Electron main process crashes on startup when calling app.getPath('documents').
The Windows registry key HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Personal
was pointing to C:\Users\<user>\OneDrive\Documentos — but that folder did not exist on disk.
Electron's getPath('documents') fails silently (returns empty/null) instead of throwing,
causing an unhandled exception that prevents launch.

Workaround

Create the missing folder manually:

mkdir "C:\Users\<user>\OneDrive\Documentos"

After creating the folder, Claude Desktop launches normally.

Suggested fix

Wrap app.getPath('documents') in a try/catch with a fallback to app.getPath('home')
or path.join(os.homedir(), 'Documents'), so the app doesn't crash when the Documents
path is misconfigured or the folder doesn't exist.

What Should Happen?

Claude Desktop should launch normally, falling back to a default path if Documents is unavailable

Error Messages/Logs

Steps to Reproduce

  1. On Windows 11, have Documents folder redirected to OneDrive via registry (HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Personal = C:\Users\<user>\OneDrive\Documentos)
  2. Ensure that folder does NOT exist on disk (OneDrive not synced / folder deleted)
  3. Install Claude Desktop v1.1.7714
  4. Launch the app

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.63 (Claude Code)

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

_No response_

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗