> 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 Devolutions UniGetUI o cuando Devolutions UniGetUI muestra "WinGet malfunction detected".

En Windows, faltan aplicaciones de WinGet en ***Paquetes instalados*** o ***Actualizaciones de software***, WinGet aparece como ***No encontrado*** en ***Gestores de paquetes***, o Devolutions 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.

Devolutions 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 no se encuentra `winget.exe`, usa Pinget, una implementación de WinGet incluida con Devolutions UniGetUI. El banner aparece cuando WinGet está listo pero sigue sin devolver ninguna aplicación instalada.

## Corregirlo

{% stepper %}
{% step %}

### Reparar WinGet desde Devolutions UniGetUI

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

¿No hay banner? Inicie la misma reparación desde ***Gestores de paquetes*** – ***WinGet***: en ***Opciones avanzadas***, haga clic en ***Restablecer*** junto a ***Restablecer WinGet (Esto puede ayudar si no se enumera ningún paquete)***.

{% 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 Devolutions UniGetUI con WinGet

Si la reparación no ayuda, vaya a ***Gestores de paquetes*** – ***WinGet*** y mire en ***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***. Devolutions UniGetUI usa entonces la línea de comandos `winget.exe`.
* El propio WinGet no se puede reparar: establezca ***Herramienta de línea de comandos de WinGet*** en ***Pinget***. La API COM no se usa con Pinget.
* Devolutions UniGetUI usa Pinget aunque WinGet está instalado y funciona: establezca ***Herramienta de línea de comandos de WinGet*** en ***WinGet***.

Para ver qué método está en uso, abra ***Gestores de paquetes*** – ***WinGet*** y mire la información de versión: indica la API COM, la línea de comandos de WinGet o Pinget.

{% 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](https://docs.devolutions.net/unigetui/es/referencia/cli.md).
{% endhint %}
{% endstep %}

{% step %}

### Comprobar WinGet fuera de Devolutions 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 Devolutions 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)*** en ***Nivel de registro:*** y [envíe los registros al soporte](https://docs.devolutions.net/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.
