Skip to content

Can't run winget.exe: "Access is denied" #1328

Description

@rasa

Brief description of your issue

Typing:
c:\> winget
returns
Access is denied

I can run winget logged in as the original local administrator user. It's failing when I login as a different user who's also an local adminstrator. I've tried resetting the rights to winget.exe using takeout and icalcs /reset /c /q, but that didn't help. I've uninstalled/reinstalled it several times, but nothing helps. Can't the installer reset the rights, so it just works?

Steps to reproduce

See above.

Expected behavior

winget runs without reporting errors

Actual behavior

See above

Environment

Windows 10 x64 10.0.19042

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-BugIt either shouldn't be doing this or needs an investigation.

    Type

    No type

    Projects

    Status
    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions