<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Jayanth Artham</title>
    <description>The latest articles on DEV Community by Jayanth Artham (@arthamjayanth).</description>
    <link>https://dev.to/arthamjayanth</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4068049%2F5d7eff7c-a3f4-4e83-9b40-f43c0ea3b40a.jpg</url>
      <title>DEV Community: Jayanth Artham</title>
      <link>https://dev.to/arthamjayanth</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/arthamjayanth"/>
    <language>en</language>
    <item>
      <title>Fixing Claude Code's /desktop on Windows: "Claude Desktop is not installed" (Microsoft Store/MSIX installs)</title>
      <dc:creator>Jayanth Artham</dc:creator>
      <pubDate>Fri, 07 Aug 2026 20:14:17 +0000</pubDate>
      <link>https://dev.to/arthamjayanth/fixing-claude-codes-desktop-on-windows-claude-desktop-is-not-installed-microsoft-storemsix-130a</link>
      <guid>https://dev.to/arthamjayanth/fixing-claude-codes-desktop-on-windows-claude-desktop-is-not-installed-microsoft-storemsix-130a</guid>
      <description>&lt;p&gt;If you use the Claude Code CLI on Windows and type &lt;code&gt;/desktop&lt;/code&gt; to hand your session to the Claude Desktop app, you may hit this — even while Claude Desktop is literally open on your screen:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Claude Desktop is not installed.
Download now? (y/n)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;(Or on some versions: &lt;code&gt;Failed to open Claude Desktop. Please try opening it manually.&lt;/code&gt;)&lt;/p&gt;

&lt;p&gt;Answering &lt;code&gt;y&lt;/code&gt; just re-downloads the same package you already have. Here's the actual cause, and a fix that takes one folder.&lt;/p&gt;

&lt;h2&gt;
  
  
  Who this affects
&lt;/h2&gt;

&lt;p&gt;Anyone on Windows with Claude Desktop installed as the &lt;strong&gt;Microsoft Store / MSIX package&lt;/strong&gt; — which is what claude.ai/download delivers on Windows today. Verified on CLI &lt;code&gt;2.1.224&lt;/code&gt; with Desktop package &lt;code&gt;1.26832.0.0&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  TL;DR — the fix
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="c"&gt;# 1) Confirm the registry key the CLI checks (MSIX installs have it):&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;reg&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;query&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;HKEY_CLASSES_ROOT\claude&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;/ve&lt;/span&gt;&lt;span class="w"&gt;

&lt;/span&gt;&lt;span class="c"&gt;# 2) Get your installed Desktop version:&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;Get-AppxPackage&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-Name&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"Claude"&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;|&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;Select-Object&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-ExpandProperty&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;Version&lt;/span&gt;&lt;span class="w"&gt;

&lt;/span&gt;&lt;span class="c"&gt;# 3) Create the version folder the CLI reads — use YOUR version from step 2:&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;New-Item&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-ItemType&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;Directory&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-Force&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-Path&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="nv"&gt;$&lt;/span&gt;&lt;span class="nn"&gt;env&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="nv"&gt;LOCALAPPDATA&lt;/span&gt;&lt;span class="s2"&gt;\AnthropicClaude\app-1.26832.0.0"&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Close the terminal, open a fresh one, &lt;code&gt;claude --resume&lt;/code&gt;, pick a session, &lt;code&gt;/desktop&lt;/code&gt; — it opens in the Desktop app with the full conversation.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why this happens
&lt;/h2&gt;

&lt;p&gt;On Windows, &lt;code&gt;/desktop&lt;/code&gt; in CLI 2.1.224 does exactly three things:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Detection&lt;/strong&gt; — one registry query: &lt;code&gt;reg query HKEY_CLASSES_ROOT\claude /ve&lt;/code&gt; (exit 0 = installed). Nothing else. The MSIX package registers this key, so detection passes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Version gate&lt;/strong&gt; — it lists &lt;code&gt;%LOCALAPPDATA%\AnthropicClaude\&lt;/code&gt; and parses &lt;code&gt;app-X.Y.Z&lt;/code&gt; subfolder names as the Desktop version, requiring at least &lt;strong&gt;1.1.9669&lt;/strong&gt;. This folder layout comes from the old Win32 (Squirrel) installer. &lt;strong&gt;MSIX installs never create it&lt;/strong&gt; — the app's real binary lives under the protected &lt;code&gt;C:\Program Files\WindowsApps\&lt;/code&gt; directory instead. Missing or too-old folder → blocked.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Launch&lt;/strong&gt; — &lt;code&gt;cmd /c start "" claude://resume?session=&amp;lt;sessionId&amp;gt;&lt;/code&gt;, i.e. the plain &lt;code&gt;claude://&lt;/code&gt; protocol, which the Store app handles perfectly.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;So the pipe was never broken — the CLI is checking a version signal from an installer format Anthropic no longer ships. Creating the folder with your real version satisfies the gate, and everything downstream just works.&lt;/p&gt;

&lt;h2&gt;
  
  
  Bonus: the deep-link format
&lt;/h2&gt;

&lt;p&gt;That launch step reveals something useful — you can hand &lt;strong&gt;any&lt;/strong&gt; saved session to the Desktop app without the CLI:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="n"&gt;Start-Process&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"claude://resume?session=&amp;lt;sessionId&amp;gt;"&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Session IDs are the &lt;code&gt;.jsonl&lt;/code&gt; filenames under &lt;code&gt;%USERPROFILE%\.claude\projects\&amp;lt;encoded-project-path&amp;gt;\&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  How I found this
&lt;/h2&gt;

&lt;p&gt;The known workaround (a shim exe + an Uninstall registry key, from &lt;a href="https://github.com/anthropics/claude-code/issues/59692#issuecomment-4469197341" rel="noopener noreferrer"&gt;this GitHub comment&lt;/a&gt; — credit to its author) was written against CLI 2.1.143 and no longer worked on 2.1.224. So I asked Claude Code to inspect its own installed binary and report exactly what the &lt;code&gt;/desktop&lt;/code&gt; path checks. It came back with the registry key, the version-folder gate and its minimum constant, and the launch command — everything above.&lt;/p&gt;

&lt;h2&gt;
  
  
  Undo
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="n"&gt;Remove-Item&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="nv"&gt;$&lt;/span&gt;&lt;span class="nn"&gt;env&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="nv"&gt;LOCALAPPDATA&lt;/span&gt;&lt;span class="s2"&gt;\AnthropicClaude"&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-Recurse&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-Force&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Caveats
&lt;/h2&gt;

&lt;p&gt;Verified on my machine only (Windows 11 x64, CLI 2.1.224, Store Desktop 1.26832.0.0). These are internal details and they clearly move between releases — the older workaround breaking is the proof — so date-stamp your expectations. Hopefully Anthropic ships the proper fix (fall back to &lt;code&gt;ShellExecute("claude://...")&lt;/code&gt; and read the MSIX version via &lt;code&gt;Get-AppxPackage&lt;/code&gt;); the open issue is &lt;a href="https://github.com/anthropics/claude-code/issues/59692" rel="noopener noreferrer"&gt;anthropics/claude-code#59692&lt;/a&gt;, where I've posted these findings: &lt;a href="https://github.com/anthropics/claude-code/issues/59692#issuecomment-5221532326" rel="noopener noreferrer"&gt;https://github.com/anthropics/claude-code/issues/59692#issuecomment-5221532326&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>windows</category>
      <category>debugging</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
