microsoft / microsoft/winget-cli
Program 'winget.exe' failed to run: The process has no package identityAt line:1 char:1
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 26.4k
- Forks
- 1.8k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 15
Description
Brief description of your issue
To clean my computer, I ran a Windows format using the "Remove everything" option.
The App Installer (Winget) command is no longer working since the initial bootup.

Program 'winget.exe' failed to run: The process has no package identityAt line:1 char:1
+ winget
+ ~~~~~~.
At line:1 char:1
+ winget
+ ~~~~~~
+ CategoryInfo : ResourceUnavailable: (:) [], ApplicationFailedException
+ FullyQualifiedErrorId : NativeCommandFailed
Steps to reproduce
-
PS> winget -
Using #1370
-
PATH environment variables:

-
App execution aliases

-
Using PsExec I tried to download the latest release msixbundle v1.3.2091 and to install it using PowerShell command:
Add-AppxPackage -Path "C:\Users\$USERPROFILE\Downloads\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle"

-
Read the troubleshooting
-
Get-AppxPackage microsoft.desktopappinstaller

Expected behavior
Winget should work, as expected
Actual behavior
cannot launch Winget
Environment
OS Name Microsoft Windows 11 Home
Version 10.0.22621 Build 22621
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the reported winget failure on Windows 11 and compare the steps in issue #1370 with the linked troubleshooting documentation. Reproduce winget, Get-AppxPackage microsoft.desktopappinstaller, and the reported Add-AppxPackage attempt in the stated environment. Done means identifying a confirmed cause and documenting or validating a reliable resolution for the missing package identity.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100