> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/unigetui/it/aiuto/troubleshooting/winget-missing-or-broken.md).

# WinGet manca o non funziona

Ripari WinGet quando le sue applicazioni non sono elencate in UniGetUI o quando UniGetUI mostra "WinGet malfunction detected".

In Windows, le applicazioni di WinGet mancano in ***Pacchetti installati*** o in ***Aggiorna pacchetti***, WinGet risulta non trovato in ***Gestori pacchetti***, oppure UniGetUI mostra il banner ***Malfunzionamento di WinGet rilevato***.

## Perché succede

WinGet (parte di App Installer di Windows) può mancare, essere obsoleto o danneggiato, e le sue origini o i file temporanei possono essere danneggiati.

UniGetUI aggira già da solo la maggior parte dei problemi: usa prima l'API COM di WinGet, ricorre alla riga di comando `winget.exe` e, se WinGet non può essere eseguito affatto, usa Pinget, un'implementazione di WinGet inclusa con UniGetUI. Il banner compare solo quando tutto questo non restituisce ancora alcuna applicazione di WinGet.

## Correggere

{% stepper %}
{% step %}

### Riparare WinGet da UniGetUI

1. Nel banner ***Malfunzionamento di WinGet rilevato***, faccia clic su ***Ripara WinGet***.
2. Approvi la richiesta dell'amministratore. UniGetUI cancella i file temporanei di WinGet, reimposta le origini e ripara WinGet e App Installer.
3. Attenda ***WinGet è stato riparato correttamente***, quindi riavvii UniGetUI.

Nessun banner? Avvii la stessa riparazione da ***Gestori pacchetti*** – ***WinGet*** – ***Opzioni avanzate***: faccia clic su ***Reimposta*** accanto a ***Reset WinGet (This may help if no packages are listed)***.

{% hint style="warning" %}
Se ***Strumento da riga di comando WinGet*** era impostato su ***Pinget***, la riparazione lo riporta su ***Predefinito***.
{% endhint %}
{% endstep %}

{% step %}

### Cambiare come UniGetUI comunica con WinGet

Se la riparazione non aiuta, vada in ***Gestori pacchetti*** – ***WinGet*** – ***Opzioni avanzate***. Il gestore si ricarica automaticamente dopo una modifica.

* Applicazioni elencate in modo errato o errori COM nei registri: imposti ***API COM di WinGet*** su ***Disabilitato***.
* WinGet stesso non può essere riparato: imposti ***Strumento da riga di comando WinGet*** su ***Pinget***.

Per vedere quale metodo è in uso, apra ***Gestori pacchetti*** – ***WinGet*** e guardi le informazioni sulla versione.

{% hint style="info" %}
Gli amministratori possono forzare queste scelte con le variabili d'ambiente `UNIGETUI_WINGET_CLI` (`default`, `winget`, `pinget`) e `UNIGETUI_WINGET_COM` (`default`, `enabled`, `disabled`). Hanno la precedenza sulle impostazioni. Veda [Interfaccia della riga di comando](/unigetui/it/riferimento/cli.md).
{% endhint %}
{% endstep %}

{% step %}

### Controllare WinGet al di fuori di UniGetUI

Apra PowerShell ed esegua:

```powershell
winget --version
winget list
```

* Se `winget` non viene riconosciuto, installi o aggiorni ***App Installer*** da Microsoft Store.
* Se WinGet stesso non riesce con un pacchetto specifico, il problema non è UniGetUI. Lo segnali al [progetto WinGet](https://github.com/microsoft/winget-cli).
  {% endstep %}
  {% endstepper %}

## Ancora non funziona?

Apra ***Altro*** – ***Log gestore pacchetti***, selezioni ***WinGet (Verbose)*** e [invii i registri al supporto](/unigetui/it/aiuto/troubleshooting/send-logs-to-support.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.devolutions.net/unigetui/it/aiuto/troubleshooting/winget-missing-or-broken.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
