microsoft / microsoft/winget-cli

Enable user operations when group policy blocks winget

Open
#5,728 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Issue-Bug Needs-Attention
Dominant language
C++
Stars
26.4k
Forks
1.8k
Avg merge
1d 11h
Merged PRs (30d)
15

Description

Relevant area(s)

WinGet CLI

Relevant command(s)

No response

Brief description of your issue

When trying to execute winget commands Windows now complains:
Dieser Vorgang wird von Gruppenrichtlinie deaktiviert: Windows-Paket-Manager aktivieren

Steps to reproduce

winget upgrade --all --scope user

Expected behavior

if scope is user: install, upgrade ... should be allowed

Actual behavior

winget stops with Dieser Vorgang wird von Gruppenrichtlinie deaktiviert: Windows-Paket-Manager aktivieren

Environment
[winget --info]
Windows-Paket-Manager v1.11.430
Copyright (c) Microsoft Corporation. Alle Rechte vorbehalten.

Windows: Windows.Desktop v10.0.26100.3775
Systemarchitektur: X64
Paket: Microsoft.DesktopAppInstaller v1.26.430.0

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named. Start by reproducing winget upgrade --all --scope user under the reported group policy and trace the WinGet CLI handling of the policy error. Done means user-scoped install and upgrade operations are allowed while the policy still governs other operations.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli, operating-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.