1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Claude Desktop が設定ファイルを読み込んでくれない時の対処法(Windows)

1
Posted at

事象

Claude Desktop 使用時、設定ファイル(claude_desktop_config.json)を更新しても反映されない事象に会いました。

原因

:bulb: MSIXの「ファイルシステム仮想化」が影響しています。

Claude Desktop インストール時に作成されるアプリケーションフォルダは以下の通りです。
C:\Users\xxx\AppData\Roaming\Claude\ (通常パス)

しかし、WindowsはMSIX形式のアプリケーションに対して、以下の通りアプリケーションフォルダを仮想的に作成します。
C:\Users\xxx\AppData\Local\Packages\Claude_...\LocalCache\Roaming\Claude\ (仮想化パス)
※Claude Desktop はMSIX形式

その上で、アプリケーション(Claude Desktop)がアプリケーションフォルダを参照しようとすると、Windowsが自動的に仮想化パスにリダイレクトするようです。

結果的に、私たちが通常パス配下の設定ファイルを更新しても、アプリケーションが見ているのは仮想化パス配下の設定ファイルのため、設定内容が反映されないのです。

解決策

仮想化パス配下の設定ファイルを最新化する必要があります。

:pick: PowerShellで以下コマンドを叩けばOKです。

$pkg = Get-AppxPackage -Name "Claude" | Select-Object -First 1
$msixPath = "$env:LOCALAPPDATA\Packages\$($pkg.PackageFamilyName)\LocalCache\Roaming\Claude"
Copy-Item "$env:APPDATA\Claude\claude_desktop_config.json" "$msixPath\claude_desktop_config.json" -Force

通常パス配下の設定ファイルをコピーして、仮想化パス配下の設定ファイルを上書きしています。

動作環境

  • Windows 11 25H2
  • Claude Desktop 1.1.3541 (1e65e4)
1
0
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?