Skip to content

Can't enable automatic updates on Windows with the "manually fix permissions on current npm prefix" option #103

Closed

Description

@evanwon

Platform: Windows 11 24H2
Shell: Git CLI (MINGW64)
npm version: 10.9.2
node version: 22.14.0
Claude Code: v0.2.9

When I run Claude Code, I get the "Enable automatic updates?" prompt.

When I select "Manually fix permissions on current npm prefix (Recommended)", it gives me the following command to run:

Run this command in your terminal:                                                                               │
│     icacls "" /grant "%USERNAME%:(OI)(CI)F"                                                                          │
│     After running the command, restart Claude Code 

Running this command as-is yields:

C:\Users\evanw\src\claude-test>icacls "" /grant "%USERNAME%:(OI)(CI)F"
: The system cannot find the path specified.
Successfully processed 0 files; Failed processing 1 files

Which I'm assuming is because of the empty quotes after icacls, but I'm not sure. Since the command fails, I cannot enable automatic updats.

Activity

  1. ashwin-ant commented on Feb 26, 2025

    @ashwin-ant
    Collaborator

    Are you running in WSL or plain Windows? We only support WSL on Windows at the moment.

  2. evanwon commented on Feb 26, 2025

    @evanwon
    Author

    Ah thank you for clarifying, I'm running this on Windows - I'll move over to WSL then. I'll close this ticket as user error :)

  3. github-actions commented on Aug 9, 2025

    @github-actions

    This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.

  4. locked as resolved and limited conversation to collaborators on Aug 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions