Preflight Checklist
What's Wrong?
The /desktop command in Claude Code CLI always fails with "Failed to open Claude Desktop. Please try opening it manually." even though Claude Desktop is fully installed and running.
What Should Happen?
/desktop should detect Claude Desktop and open it successfully.
Error Messages/Logs
> /desktop
Error: Failed to open Claude Desktop. Please try opening it manually.
Steps to Reproduce
- Install Claude Desktop on Windows 11 (fresh install)
- Verify Claude Desktop opens manually - it works fine
- Open Claude Code CLI
- Type /desktop
- Error appears every time
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
No response
Claude Code Version
2.1.143 (Claude Code)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
- AnthropicClaude folder exists at correct path
- claude.exe found at: %LOCALAPPDATA%\AnthropicClaude\app-1.7196.1\claude.exe
- Claude Desktop runs fine manually (10 processes visible in Task Manager)
- Tried creating symlink at %LOCALAPPDATA%\AnthropicClaude\claude.exe - did not help
- Tried CLAUDE_DESKTOP_PATH environment variable - did not help
- Reinstalled Claude Desktop multiple times - same result every time
Preflight Checklist
What's Wrong?
The /desktop command in Claude Code CLI always fails with "Failed to open Claude Desktop. Please try opening it manually." even though Claude Desktop is fully installed and running.
What Should Happen?
/desktop should detect Claude Desktop and open it successfully.
Error Messages/Logs
> /desktop Error: Failed to open Claude Desktop. Please try opening it manually.Steps to Reproduce
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
No response
Claude Code Version
2.1.143 (Claude Code)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information