Skip to content

While in SSH, running WinGet raises the ResourceUnavailable error. #513

Description

@asifmohtesham

Brief description of your issue

While in Windows 10 Pro using SSH, running WinGet raises an error stating that the file cannot be accessed by the system. Otherwise (without SSH), the command runs just fine.

Steps to reproduce

  1. Start an SSH using an administrator's credentials
  2. Run WinGet

Expected behavior

Should be execute and be accessible by the system as we usually would without using SSH.

Actual behavior

ResourceUnavailable: Program 'winget.exe' failed to run: The file cannot be accessed by the system.

Environment

[winget --info]
Windows Package Manager v0.1.41821 Preview
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.19041.388
Package: Microsoft.DesktopAppInstaller v1.0.41821.0

Any other software?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-ExternalIssue outside of winget-cli sourceIssue-BugIt either shouldn't be doing this or needs an investigation.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions