Claude shell commands fail on Windows with EPERM opening temporary task output
### What happened
Claude Code repeatedly failed to use its shell in the T3 Windows desktop app with a local server, on v0.0.45 and v0.1.1.
Running T3 as Administrator resolved the failures for the user. The user enabled this setting in the launcher's Properties and believes it was lost after updating. That update behavior has not been independently verified.
The error provides no clear recovery guidance.
Diagnosis
Read-only inspection found that %LOCALAPPDATA%\Temp\claude is owned by Administrators. Its listed permissions grant:
- SYSTEM: Full Control.
- Administrators: Full Control.
- A logon SID: Read and Execute.
No write permission for the ordinary user account is listed. This is consistent with elevation bypassing a folder permission problem. The origin of these permissions is unknown, and this does not establish that T3 generally requires administrator privileges.
In the v0.1.1 source, T3 invokes the Anthropic Agent SDK. T3's reader for Claude's temporary task output skips Windows through this code path.
The original output file was not found, and no matching error appeared in the available trace rotations. The exact failure and a permission repair have not been tested during triage.
Steps to reproduce
User-reported sequence; no deterministic reproduction established:
- Launch T3 Windows desktop without elevation.
- Use Claude Code for work involving shell commands.
- Observe repeated EPERM errors opening temporary task-output files.
- Launch T3 as Administrator. The user reports shell operations work.
Version and environment
- Affected T3 versions: v0.0.45 and v0.1.1.
- Verified local server: v0.1.1.
- Windows 10 x64, build 10.0.19045.
- Currently installed Claude CLI: 2.1.306. Version at the original failures is unknown.
- Triage CLI: v0.1.1, using Node v26.8.2.
No stable release newer than v0.1.1 was listed during investigation.
Evidence
Error: EPERM: operation not permitted, open
'C:\Users\<USERNAME>\AppData\Local\Temp\claude\<PROJECT>\<SESSION>\tasks\<TASK>.output'
Related issues
Claude Code issue #51468 reports the same Windows task-output error. It was closed for inactivity without a confirmed fix and is locked. The same underlying cause has not been established.
A focused search found no matching T3 issue.
Workaround and requested improvement
The existing workaround is running T3 as Administrator. No permissions or settings were changed during triage.
Please detect inaccessible Claude temporary folders and provide actionable recovery guidance for Windows users.
Prepared by Codex, GPT-6, via T3 triage.
Checked current main at 3b95e7831b on Linux x86_64. This VM has no Windows runtime, so the non-elevated Windows desktop sequence and the reported ACL failure could not be reproduced. No matching duplicate was found among the open issues.
Please capture one fresh failure without elevation on the latest available T3 release: the shell command/prompt that triggers it, T3 and Claude versions, and the provider/server log excerpt around the EPERM error. From the same non-elevated Windows session, include the output of icacls "%LOCALAPPDATA%\Temp\claude" and whether the same shell command fails in standalone Claude Code. Redact account/project names and secrets. This will distinguish a Claude temporary-folder access failure from a T3-specific failure; the existing report has no surviving failure trace or deterministic reproduction.
Checked on main at a452c2dfdc. The failing open is done by the Claude CLI itself, not by T3. Claude Code writes each Bash tool's output to <temp>\claude\<project>\<session>\tasks\<task>.output. T3 never creates or writes that folder; its live-output reader only reads it, and it is skipped entirely on Windows. The T3 Windows installer is a per-user install and does not run elevated.
Reproduced with standalone Claude Code 2.1.303 on Linux, without T3: after making a session's tasks folder non-writable, resuming the session and running echo through the Bash tool fails with EACCES: permission denied, open '…/<task>.output', the Linux form of the EPERM you saw.
The ACL you listed (SYSTEM and Administrators Full Control, logon SID Read and Execute, owner Administrators) is what Windows gives a folder created by an elevated process. So %LOCALAPPDATA%\Temp\claude was created while Claude ran as Administrator, and a non-elevated Claude can no longer write into it. To recover:
- Close T3 and remove "Run as administrator" from the shortcut's Properties.
- In an elevated Command Prompt, delete the folder, using your own user's path:
rmdir /s /q "C:\Users\<you>\AppData\Local\Temp\claude". It only holds temporary tool output. - Start T3 normally. Claude recreates the folder with your user's permissions.
Running T3 elevated again will recreate an admin-only folder. Closing this as an upstream Claude Code / local permissions issue (anthropics/claude-code#51468 is the same error without T3).