microsoft / microsoft/winget-cli
0x80070490 Element not found
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
I am successfully running winget in system context using psexec64 for testing on most of machines, but I have a single computer which has this issue. It does view content from Winget repository, but fails install or upgrade any app specified.
Steps to reproduce
- Update Winget from https://cdn.winget.microsoft.com/cache/source.msix or https://aka.ms/getwinget
- Attach Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle to system with Add-AppxProvisionedPackage
- Winget search 7zip.7zip from winget repo and get results fine.
- Winget install 7zip.7zip gives the error "0x80070490 Element not found" only on one machine but with any app attempted from winget repo.
I also tried:
Install-Module Microsoft.WinGet.Client
Repair-WinGetPackageManager -Force -Latest
Expected behavior
To get 7zip or any other app installed.
Actual behavior
Environment
Winget is v1.8
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
The report names no source file or test. Start by reproducing the system-context install on the affected machine and compare it with a working machine, including the listed WinGet and provisioning steps. Done means identifying why installs fail with 0x80070490 and documenting or validating a project-level fix.
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