[BUG] /desktop fails on Windows - "Failed to open Claude Desktop" despite app being installed and running
Open 💬 8 comments Opened May 16, 2026 by Slimand
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?
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
This issue has 8 comments on GitHub. Read the full discussion on GitHub ↗