microsoft / microsoft/winget-cli

0x80070490 Element not found

Open
#4,922 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Command-Upgrade Context-System Issue-Bug
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

Image
Image

  1. Update Winget from https://cdn.winget.microsoft.com/cache/source.msix or https://aka.ms/getwinget
  2. Attach Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle to system with Add-AppxProvisionedPackage
  3. Winget search 7zip.7zip from winget repo and get results fine.
  4. 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

Image

Environment

Winget is v1.8

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.