microsoft / microsoft/winget-cli

Add support for SYSTEM account when using Winget PowerShell Module

Open
#4,422 15 comments 15 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Context-System Issue-Feature
Dominant language
C++
Stars
26.4k
Forks
1.8k
Avg merge
1d 11h
Merged PRs (30d)
15

Description

Description of the new feature / enhancement

Hello,

I have been following along with the development of the PS Module and I can now see that it's working for PS 7 and PS5.1 however it does not work when running PowerShell with the SYSTEM account:
image

This would be really good it it worked as Microsoft Intune relies heavily on using the SYSTEM account deploying applications and scripts. At the very least it would be great if the Get-WinGetPackage was working as I would use this in my detection scripts.

Proposed technical implementation details

I don't have the technical details, just to emulate how it's working now but for SYSTEM.

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

Start by reproducing the Winget PowerShell Module behavior under the SYSTEM account, focusing on the Get-WinGetPackage entry point and the existing PS 7 and PS 5.1 behavior described in the issue. Done means the module supports SYSTEM execution, with Get-WinGetPackage working for Intune detection scripts and coverage demonstrating that behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.