Skip to content

winget.exe not running on Server 2019 #1251

Description

@HtHNightwolf

Brief description of your issue

winget.exe Application Alias has been installed but winget itself is not there / is not starting

Steps to reproduce

I installed the Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle on a Server 2019 with latest updates.

At the first attempts not even an Application Alias was created but after several reinstalls, it finally was there in %localappdata%\Microsoft\WindowsApps

So I started PowerShell but it reports winget is not an executable file or a valid program for this operating system

Expected behavior

I expect it to install and then be able to run it.

Actual behavior

winget.exe can not be run
Error Messages screenshot:
https://www.dropbox.com/s/j1tlygpej0wple2/winget%20error.png?dl=0

Environment

Windows Server 2019 latest patch level

[winget --info]
Fehler beim Ausführen des Programms "winget.exe": Die angegebene ausführbare Datei ist keine gültige Anwendung für
diese Betriebssystemplattform.In Zeile:1 Zeichen:1
+ winget --info
+ ~~~~~~~~~~~~~.
In Zeile:1 Zeichen:1
+ winget --info
+ ~~~~~~~~~~~~~
    + CategoryInfo          : ResourceUnavailable: (:) [], ApplicationFailedException
    + FullyQualifiedErrorId : NativeCommandFailed


Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions