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

Run as SYSTEM user #2490

Closed
STG-Tanner opened this issue Sep 2, 2022 · 2 comments
Closed

Run as SYSTEM user #2490

STG-Tanner opened this issue Sep 2, 2022 · 2 comments
Labels
Resolution-Duplicate Issue is a duplicate
Milestone

Comments

@STG-Tanner
Copy link

Brief description of your issue

Winget fails to run under the SYSTEM account. #548 appears to have been addressed in the 1.3 milestone, yet there is no change in behavior.

Steps to reproduce

Attempt to execute 'winget' under the SYSTEM user

Expected behavior

Winget should run normally under SYSTEM

Actual behavior

Executing 'winget' returns the following:
'winget' is not recognized as an internal or external command, operable program or batch file.

image

Environment

Windows Package Manager v1.3.2091
Windows: Windows.Desktop v10.0.22000.795
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.18.2091.0
@ghost ghost added the Needs-Triage Issue need to be triaged label Sep 2, 2022
@denelon
Copy link
Contributor

denelon commented Sep 2, 2022

The mechanism for running as system is being implemented as a part of the work we're doing for:

We're publishing a NuGet package that exposes an "in proc" COM API. The winget CLI is not directly available in the system context as it is delivered via MSIX in the "App Installer" package.

COM API Specification: - winget-cli/#888 - Com Api.md at master · microsoft/winget-cli (github.com)

idl: winget-cli/PackageManager.idl at master · microsoft/winget-cli (github.com)

Duplicate of #215

@ghost
Copy link

ghost commented Sep 2, 2022

@STG-Tanner we've identified this Issue as a duplicate of another one that already exists. This specific instance is being closed in favor of tracking the concern over on the referenced Issue. Thanks for your report! Be sure to add your 👍 to the other issue to help raise the priority.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution-Duplicate Issue is a duplicate
Projects
None yet
Development

No branches or pull requests

2 participants