Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better support for system context #4365

Open
denelon opened this issue Apr 9, 2024 · 4 comments
Open

Better support for system context #4365

denelon opened this issue Apr 9, 2024 · 4 comments
Labels
Context-System Related to system context (nt authority/session 0) Issue-Feature This is a feature request for the Windows Package Manager client.
Milestone

Comments

@denelon
Copy link
Contributor

denelon commented Apr 9, 2024

Description of the new feature / enhancement

When customers are using WinGet via the system context, several challenges arise.

One of the challenges is installing, updating WinGet in the system context. The other class of problems is related to installers that require a logged in user (MSIX packages), or packages installed in user context (HKCU registry keys).

Proposed technical implementation details

No response

@denelon denelon added the Issue-Feature This is a feature request for the Windows Package Manager client. label Apr 9, 2024
@denelon denelon added this to the 1.9 Client milestone Apr 9, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage Issue need to be triaged label Apr 9, 2024
@denelon denelon removed the Needs-Triage Issue need to be triaged label Apr 9, 2024
Copy link

github-actions bot commented Apr 9, 2024

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@mdanish-kh
Copy link
Contributor

[Policy] Context-System

@microsoft-github-policy-service microsoft-github-policy-service bot added the Context-System Related to system context (nt authority/session 0) label Apr 10, 2024
@denelon denelon modified the milestones: 1.9 Client, 1.10 Client Jul 24, 2024
@denelon
Copy link
Contributor Author

denelon commented Oct 9, 2024

Try:

Install-WinGetPackage <package ID> -Scope System for MSIX based applications. This should set the package up to be registered for each user upon login.

@denelon
Copy link
Contributor Author

denelon commented Oct 22, 2024

In the system context, only packages supporting "machine" scope should be allowed by default.

If a user specifies "--force" this can be overridden, but the installer may not honor the user's intent.

There may be scenarios for some portable packages where it makes sense for the system context, but that will need to be investigated.

@denelon denelon added this to WinGet Oct 22, 2024
@denelon denelon moved this to To Do in WinGet Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Context-System Related to system context (nt authority/session 0) Issue-Feature This is a feature request for the Windows Package Manager client.
Projects
Status: To Do
Development

No branches or pull requests

2 participants