> 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/es/ayuda/troubleshooting/winget-missing-or-broken.md).

# Falta WinGet o no funciona

Repare WinGet cuando sus aplicaciones no aparecen en UniGetUI o cuando UniGetUI muestra "WinGet malfunction detected".

En Windows, las aplicaciones de WinGet faltan en ***Paquetes instalados*** o en ***Actualizaciones de software***, WinGet aparece como no encontrado en ***Gestores de paquetes***, o UniGetUI muestra el banner ***Se ha detectado un mal funcionamiento de WinGet***.

## Por qué ocurre

WinGet (parte de App Installer de Windows) puede faltar, estar desactualizado o dañado, y sus orígenes o archivos temporales pueden estar dañados.

UniGetUI ya evita la mayoría de los problemas por sí solo: primero usa la API COM de WinGet, recurre a la línea de comandos `winget.exe` y, si WinGet no puede ejecutarse en absoluto, usa Pinget, una implementación de WinGet incluida con UniGetUI. Solo ve el banner cuando todo eso sigue sin devolver aplicaciones de WinGet.

## Corregirlo

{% stepper %}
{% step %}

### Reparar WinGet desde UniGetUI

1. En el banner ***Se ha detectado un mal funcionamiento de WinGet***, haga clic en ***Reparar WinGet***.
2. Apruebe la solicitud del administrador. UniGetUI borra los archivos temporales de WinGet, restablece sus orígenes y repara WinGet y App Installer.
3. Espere ***WinGet se ha reparado correctamente*** y reinicie UniGetUI.

¿No hay banner? Inicie la misma reparación desde ***Gestores de paquetes*** – ***WinGet*** – ***Opciones avanzadas***: haga clic en ***Restablecer*** junto a ***Reset WinGet (This may help if no packages are listed)***.

{% hint style="warning" %}
Si ***Herramienta de línea de comandos de WinGet*** estaba en ***Pinget***, la reparación lo vuelve a poner en ***Predeterminado***.
{% endhint %}
{% endstep %}

{% step %}

### Cambiar cómo se comunica UniGetUI con WinGet

Si la reparación no ayuda, vaya a ***Gestores de paquetes*** – ***WinGet*** – ***Opciones avanzadas***. El gestor se vuelve a cargar automáticamente después de un cambio.

* Aplicaciones listadas de forma incorrecta o errores COM en los registros: establezca ***API COM de WinGet*** en ***Deshabilitado***.
* El propio WinGet no se puede reparar: establezca ***Herramienta de línea de comandos de WinGet*** en ***Pinget***.

Para ver qué método está en uso, abra ***Gestores de paquetes*** – ***WinGet*** y mire la información de versión.

{% hint style="info" %}
Los administradores pueden forzar estas opciones con las variables de entorno `UNIGETUI_WINGET_CLI` (`default`, `winget`, `pinget`) y `UNIGETUI_WINGET_COM` (`default`, `enabled`, `disabled`). Tienen prioridad sobre la configuración. Consulte [Interfaz de línea de comandos](/unigetui/es/referencia/cli.md).
{% endhint %}
{% endstep %}

{% step %}

### Comprobar WinGet fuera de UniGetUI

Abra PowerShell y ejecute:

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

* Si no se reconoce `winget`, instale o actualice ***App Installer*** desde Microsoft Store.
* Si el propio WinGet falla con un paquete concreto, el problema no es UniGetUI. Infórmelo al [proyecto WinGet](https://github.com/microsoft/winget-cli).
  {% endstep %}
  {% endstepper %}

## ¿Sigue sin funcionar?

Abra ***Más*** – ***Registros del gestor de paquetes***, seleccione ***WinGet (Verbose)*** y [envíe los registros al soporte](/unigetui/es/ayuda/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/es/ayuda/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.
