[FEATURE] I would like to be able to run the claude windows app as a different user
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] 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_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗