---
title: "Instalar en Windows | Wantastic Docs"
description: "Instala wantasticd en Windows 10/11 y Windows Server: abre PowerShell como administrador, pega una línea y aprueba el dispositivo en tu navegador."
url: "https://wantastic.app/es/docs/install-windows"
category: "Install wantasticd"
reading_time: "3 min"
---

# Instalar en Windows

Instala wantasticd en Windows 10/11 y Windows Server: abre PowerShell como administrador, pega una línea y aprueba el dispositivo en tu navegador.

> **Outcome:** wantasticd se ejecuta como el servicio automático de Windows "Wantastic Overlay Networking", la app de la bandeja se inicia al iniciar sesión y el PC aparece como Online en la consola.

## Before you start

- Windows 10, Windows 11 o Windows Server 2016+ (x64, ARM64 o 32 bits).
- Una cuenta de Windows que pueda aprobar avisos de administrador.
- Tu cuenta de Wantastic (inicias sesión una vez durante la instalación).

## Instalación rápida (4 pasos)

1. Abre PowerShell como administrador.
2. Pega irm https://get.wantastic.app/install.ps1 | iex y pulsa Enter.
3. Escanea el código QR o haz Ctrl+clic en el enlace.
4. Haz clic en Claim Device en el navegador. El PC se conecta solo.

PowerShell (administrador):

```powershell
irm https://get.wantastic.app/install.ps1 | iex
```

> **Tip:** ¿Prefieres un asistente de instalación? Descárgalo en wantastic.app/download, ejecútalo y luego haz clic en el icono de Wantastic junto al reloj y elige Log in….

> **Operational note:** Las imágenes de abajo muestran cada paso.

## Abre PowerShell como administrador

El instalador crea un servicio de Windows, así que PowerShell debe ejecutarse como administrador.

1. Haz clic en Inicio (o pulsa la tecla Windows) y escribe powershell.
2. A la derecha, haz clic en Run as administrator (Ejecutar como administrador).
3. Windows pregunta "Do you want to allow this app to make changes to your device?" (¿Quieres permitir que esta aplicación haga cambios en el dispositivo?). Haz clic en Yes (Sí).
4. Se abre una ventana azul. Su título empieza por Administrator: Windows PowerShell (Administrador: Windows PowerShell).

*Console: Inicio → escribe powershell → Run as administrator.*

1. Escribe powershell
2. Haz clic en Run as administrator (Ejecutar como administrador)

*Console: El aviso de administrador. Comprueba que dice Windows PowerShell y haz clic en Yes (Sí).*

1. Windows PowerShell
2. Haz clic en Yes (Sí)

> **Tip:** Más rápido: haz clic derecho en el botón Inicio y elige Terminal (Admin) o Windows PowerShell (Admin).

## Pegar, escanear, aprobar

1. Pega la línea en la ventana de administrador y pulsa Enter.
2. Aparecen un código QR y un enlace. Escanea el QR con tu teléfono o mantén Ctrl y haz clic en el enlace.
3. Inicia sesión en Wantastic y haz clic en Claim Device.
4. El PC se conecta solo y el icono de la bandeja se pone verde. Aparece Online en Devices.

*Administrator: Windows PowerShell: El instalador muestra un código QR y un enlace para reclamar. No hace falta token.*

```
$ PS C:\Windows\system32> irm https://get.wantastic.app/install.ps1 | iex
Wantastic Agent - Windows Installer
Version: v1.0.54+377f3c0
Installed to C:\Program Files\Wantastic\wantasticd.exe
█▀▀▀▀▀█ ▄▀▄ █▀▀▀▀▀█   (QR code)
wantasticd v1.0.54+377f3c0 is installed and waiting to be added to your account.
Scan the QR code above, or open this link, and approve the device:
  https://console.wantastic.app/#desktop?claim_public_key=Vd3hK1oQ…%3D
It connects by itself as soon as it is claimed (the tray icon turns green).
```

*Console: Claim Wantastic Device. La Claim URL y el código QR rellenan la clave por ti. Solo tienes que hacer clic en Claim Device.*

1. Claim public key ya está rellenado
2. Deja Wantastic server como aparece
3. Haz clic en Claim Device

> **Operational note:** ¿Sin código QR ni enlace tras 30 segundos? Pulsa Ctrl+C y usa Instalar con un token en Otras formas de instalar.

## Comprueba que funciona

1. Abre una nueva ventana de PowerShell y ejecuta wantasticd status. Muestra Status: Connected.
2. El icono de la bandeja (junto al reloj) muestra el estado de la conexión.
3. Abre Devices en la consola. El PC aparece como Online.

PowerShell (ventana nueva):

```powershell
wantasticd status
```

*wantasticd status: Status: Connected y una VPN IP indican que el túnel está activo.*

```
$ PS C:\> wantasticd status
Status:        Connected
Version:       v1.0.54+377f3c0
Mode:          TUN (wantastic0)
VPN IPs:       10.200.0.14/32
Public key:    q7ZkV3m1yH0dTn8pXo2bLwR4sE6uJ9cA1fG5hK8iN0M=
Server:        wg.wantastic.app:51820
Exit node:     false
Local access:  false
Auto update:   true
Traffic:       ↓ 18.4 KiB  ↑ 9.2 KiB
Peers:         2 (direct 1, relay 1)
Uptime:        4m12s
```

*Console: Ventana Devices: el nuevo dispositivo aparece con su nombre y pasa a Online en pocos segundos.*

1. Buscar por nombre
2. Status muestra Online
3. La IP de Overlay coincide con wantasticd status
4. Last seen se sigue actualizando

## Gestionar el servicio

- También puedes usar services.msc → Wantastic Overlay Networking.
- Si el Firewall de Windows pregunta si wantasticd.exe puede comunicarse, haz clic en Allow. Las conexiones directas entre dispositivos lo necesitan.
- Si tu antivirus bloquea el adaptador del túnel, añade una exclusión para C:\Program Files\Wantastic\wantasticd.exe.
- Para actualizar, usa wantasticd update. No vuelvas a ejecutar install.ps1 en un PC que funciona.

PowerShell (administrador):

```powershell
Restart-Service wantasticd
Stop-Service wantasticd
Start-Service wantasticd
Get-Service wantasticd
```

## Otras formas de instalar

Solo lo necesitas para casos especiales.

### Asistente de instalación (.exe)

Descarga wantastic-setup-windows-amd64.exe (o -arm64.exe) en wantastic.app/download.

1. Abre el archivo de instalación, haz clic en Sí y luego en Instalar.
2. Haz clic en el icono de Wantastic junto al reloj y elige Log in….
3. Se abre tu navegador. Haz clic en Claim Device.

> Instalación silenciosa para despliegues: wantastic-setup-windows-amd64.exe /VERYSILENT /SUPPRESSMSGBOXES

### Instalar con un token

Para muchos PC, o si no aparece el código QR. En la consola, abre Account → Secrets, haz clic en + New Secret, luego en Generate, y cópialo. Sustituye <TOKEN> abajo.

PowerShell (administrador):

```powershell
& ([scriptblock]::Create((irm https://get.wantastic.app/install.ps1))) -Token <TOKEN>
```

> Trata el token como una contraseña. Quien lo tenga puede añadir dispositivos a tu cuenta hasta que caduque.

### Sin la app de la bandeja

Para servidores y PC compartidos. El servicio sigue ejecutándose.

PowerShell (administrador):

```powershell
& ([scriptblock]::Create((irm https://get.wantastic.app/install.ps1))) -NoTray
```

### Portal autoalojado

install.ps1 no tiene opción de portal. Instala primero, luego inicia sesión en tu portal y reinicia.

PowerShell (administrador):

```powershell
& "C:\Program Files\Wantastic\wantasticd.exe" login --no-connect --portal-url https://wantastic.example.com --token <TOKEN>
Restart-Service wantasticd
```

## Verify the result

- Get-Service wantasticd muestra Running.
- wantasticd status muestra Status: Connected.
- El PC aparece como Online en Devices, también tras un reinicio.

## Common issues

### El instalador se detiene de inmediato.

```
Administrator privileges are required.
```

- **Where:** install.ps1
- **Likely cause:** PowerShell no se abrió como administrador.
- **Fix:** Cierra la ventana. Haz clic en Inicio, escribe powershell, haz clic en Run as administrator, luego en Yes, y vuelve a pegar la línea.

PowerShell (administrador):

```powershell
irm https://get.wantastic.app/install.ps1 | iex
```

### No aparece ningún código QR ni enlace; el instalador espera.

- **Where:** install.ps1 · === Logging in ===
- **Likely cause:** Las versiones antiguas de wantasticd en Windows no pueden mostrar el código QR ni el enlace de inicio de sesión.
- **Fix:** Pulsa Ctrl+C. Crea un token en Account → Secrets e instala con él.

PowerShell (administrador):

```powershell
& ([scriptblock]::Create((irm https://get.wantastic.app/install.ps1))) -Token <TOKEN>
```

### El inicio de sesión no terminó y el servicio no arrancó.

```
Login did not complete (exit 1).
The service is installed but not started because this device is not logged in yet.
```

- **Where:** install.ps1
- **Likely cause:** La aprobación en el navegador no se completó a tiempo, se rechazó o el token era incorrecto.
- **Fix:** Vuelve a iniciar sesión, aprueba el dispositivo y arranca el servicio.

PowerShell (administrador):

```powershell
wantasticd login --no-connect
Start-Service wantasticd
```

- **Verify:** wantasticd status muestra Connected.

### El script no se ejecuta desde un archivo guardado.

```
install.ps1 cannot be loaded because running scripts is disabled on this system.
```

- **Where:** PowerShell
- **Likely cause:** La política de PowerShell bloquea los archivos de script guardados.
- **Fix:** Usa la instalación de una sola línea. Esta política no la bloquea.

PowerShell (administrador):

```powershell
irm https://get.wantastic.app/install.ps1 | iex
```

### sc.exe falla mientras el instalador vuelve a crear el servicio.

```
Failed to create the Windows service (sc.exe exit code 1072).
```

- **Where:** install.ps1
- **Likely cause:** services.msc o el Visor de eventos todavía tiene abierto el servicio anterior.
- **Fix:** Cierra services.msc y el Visor de eventos (o reinicia) y vuelve a pegar el bloque de instalación.

### wantasticd no se reconoce en PowerShell.

```
wantasticd : The term 'wantasticd' is not recognized as the name of a cmdlet, function, script file, or operable program.
```

- **Where:** PowerShell
- **Likely cause:** El cambio en PATH solo se aplica a las ventanas nuevas.
- **Fix:** Abre una nueva ventana de PowerShell.

### No se puede crear el adaptador del túnel.

```
Error creating interface: …
```

- **Where:** registro de depuración
- **Likely cause:** Un antivirus o software EDR bloquea el controlador del túnel.
- **Fix:** Añade una exclusión del antivirus para C:\Program Files\Wantastic\wantasticd.exe y luego reinicia el servicio.

Reiniciar:

```powershell
Restart-Service wantasticd
```

### Una instalación con token falla justo después de la descarga.

```
Login failed: registration rejected (401): invalid or expired login token
```

- **Where:** install.ps1 / wantasticd login
- **Likely cause:** El token es incorrecto, ha caducado, se ha agotado (se alcanzó Max Uses) o se ha eliminado.
- **Fix:** Crea un secreto nuevo en Account → Secrets e inicia sesión con él.

Solución:

```powershell
& "C:\Program Files\Wantastic\wantasticd.exe" login --no-connect --token <NEW_TOKEN>
Restart-Service wantasticd
```

### Se rechaza la reclamación o el inicio de sesión.

```
Login failed: account has reached its device limit — upgrade your plan or remove an existing device
```

- **Where:** wantasticd login / Consola
- **Likely cause:** Tu plan ha alcanzado el número máximo de dispositivos. La consola muestra "You have reached the maximum number of devices for your plan."
- **Fix:** Elimina un dispositivo que no uses en Devices (fila → Delete) o mejora tu plan. Luego reclama de nuevo.

### wantasticd status muestra Offline.

```
Status: Offline — daemon not running (start: sc.exe start wantasticd)
```

- **Where:** wantasticd status
- **Likely cause:** El servicio en segundo plano está detenido, ha fallado o todavía está arrancando. El comando status no lo inicia.
- **Fix:** Inicia el servicio.

Iniciar el servicio:

```powershell
Start-Service wantasticd
```

### status indica Running (tunnel down), o peers muestra HANDSHAKE never para (server).

```
Device health check failed: …
```

- **Where:** registro del servicio
- **Likely cause:** La red bloquea el puerto UDP 51820 saliente hacia el hub (wg.wantastic.app), o el DNS no funciona.
- **Fix:** Permite UDP 51820 saliente en tu firewall y luego reinicia el servicio.

Probar DNS y reiniciar:

```powershell
nslookup wg.wantastic.app
Restart-Service wantasticd
```

- **Verify:** wantasticd peers muestra un handshake reciente (por ejemplo "8s ago") para (server).

### El acceso local no funciona en Windows.

```
automatic local-access subnet routing is not supported on Windows yet
```

- **Where:** registro de depuración
- **Likely cause:** El acceso local solo funciona en Linux y OpenWrt.
- **Fix:** Instala wantasticd en un dispositivo Linux de esa LAN y activa allí el acceso local.

## Continue with

- [Choose your install method](https://wantastic.app/es/docs/install-overview): Find your device in one table and copy one command. Most devices install in 2 minutes: install, scan a QR code, click Claim Device.
- [wantasticd CLI reference and operations](https://wantastic.app/es/docs/wantasticd): The most used wantasticd commands first, then every command and flag, environment variables, config and state paths per OS, log lines, local access, exit node, and the claim flow (genkey / --wait-claim).
- [Update, roll back and uninstall](https://wantastic.app/es/docs/update-and-uninstall): Update or uninstall wantasticd with one line per OS. Also: how auto-update works, turning it off, rolling back to the previous binary, and purging all data.
- [macOS and Windows errors](https://wantastic.app/es/docs/errors-macos-windows): launchd, Gatekeeper, tray, sc.exe and Windows service errors with the easiest fixes.
- [Login, token and claim errors](https://wantastic.app/es/docs/errors-login-claim): Fix claim problems (genkey, QR code, Claim Device), "Login failed: …" messages and token errors.
- [WebProxy for device web UIs](https://wantastic.app/es/docs/webproxy): Open a router, NAS or camera web page in the console. No port forward needed.
