claude-code - 💡(How to fix) Fix [FEATURE] I would like to be able to run the claude windows app as a different user

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Root Cause

I want to protect my local data from being accidentally corrupted. To this end, I want to sandbox claude as a separate windows user that has limited disk access. I can't do that today, because I can't use runas, because the claude app is an MSIX application. This likely works with the CLI, but I want this for the whole windows desktop app.

RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing requests and this feature hasn't been requested yet
  • This is a single feature request (not multiple features)

Problem Statement

I want to protect my local data from being accidentally corrupted. To this end, I want to sandbox claude as a separate windows user that has limited disk access. I can't do that today, because I can't use runas, because the claude app is an MSIX application. This likely works with the CLI, but I want this for the whole windows desktop app.

Proposed Solution

I'd like to be able to run runas /user:SandboxUser claude.exe and have it launch the windows application in the context of the SandboxUser

Alternative Solutions

This is likely possible using just the claude code cli, but that's not what I want. I want the whole windows application. I'm working around this by being exceptionally careful with the commands I allow claude to execute, but even that isn't enough, as it might simply not ask me, due to some bug.

An alternative solution might be to run the UI as my normal user, but to connect to some other component as another user (similar to how the SSH connection likely works today)

Priority

Medium - Would be very helpful

Feature Category

Other

Use Case Example

No response

Additional Context

No response

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [FEATURE] I would like to be able to run the claude windows app as a different user