[BUG] /desktop command fails when Claude Desktop is installed via Anthropic's MSIX installer (Windows)

Resolved 💬 2 comments Opened May 29, 2026 by Awesomeyer Closed Jun 2, 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?

/desktop command fails when Claude Desktop is installed via Anthropic's MSIX installer

What Should Happen?

Claude Desktop should open

Error Messages/Logs

Failed to open Claude Desktop. Please try opening it manually.

Steps to Reproduce

  1. Download and install Claude Desktop from the Anthropic website (MSIX installer)
  2. Open a Claude Code CLI session
  3. Run /desktop

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

Claude Code CLI: 2.1.156 Claude Desktop version: 1.9659.2.0

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

Likely cause: CLI looks for %LOCALAPPDATA%\AnthropicClaude\claude.exe (traditional installer path), doesn't check the MSIX/WindowsApps location

Install path: C:\Program Files\WindowsApps\Claude_1.9659.2.0_x64__pzs8sxrjxfjjc\

View original on GitHub ↗

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