---
title: "Installation sur Windows | Wantastic Docs"
description: "Installez wantasticd sur Windows 10/11 et Windows Server : ouvrez PowerShell en tant qu’administrateur, collez une ligne, approuvez l’appareil dans votre navigateur."
url: "https://wantastic.app/fr/docs/install-windows"
category: "Install wantasticd"
reading_time: "3 min"
---

# Installation sur Windows

Installez wantasticd sur Windows 10/11 et Windows Server : ouvrez PowerShell en tant qu’administrateur, collez une ligne, approuvez l’appareil dans votre navigateur.

> **Outcome:** wantasticd s’exécute comme service Windows automatique "Wantastic Overlay Networking", l’application de la zone de notification démarre à l’ouverture de session, et le PC apparaît Online dans la console.

## Before you start

- Windows 10, Windows 11 ou Windows Server 2016+ (x64, ARM64 ou 32 bits).
- Un compte Windows qui peut valider les demandes administrateur.
- Votre compte Wantastic (vous vous connectez une fois pendant l’installation).

## Installation rapide (4 étapes)

1. Ouvrez PowerShell en tant qu’administrateur.
2. Collez irm https://get.wantastic.app/install.ps1 | iex et appuyez sur Entrée.
3. Scannez le QR code ou Ctrl+clic sur le lien.
4. Cliquez sur Claim Device dans le navigateur. Le PC se connecte tout seul.

PowerShell (administrateur):

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

> **Tip:** Vous préférez un assistant d’installation ? Téléchargez-le sur wantastic.app/download, lancez-le, puis cliquez sur l’icône Wantastic près de l’horloge et choisissez Log in….

> **Operational note:** Les images ci-dessous montrent chaque étape.

## Ouvrir PowerShell en tant qu’administrateur

Le programme d’installation crée un service Windows : PowerShell doit donc être lancé en tant qu’administrateur.

1. Cliquez sur Démarrer (ou appuyez sur la touche Windows) et tapez powershell.
2. À droite, cliquez sur Run as administrator (Exécuter en tant qu’administrateur).
3. Windows demande "Do you want to allow this app to make changes to your device?" (Voulez-vous autoriser cette application à apporter des modifications à votre appareil ?). Cliquez sur Yes (Oui).
4. Une fenêtre bleue s’ouvre. Son titre commence par Administrator: Windows PowerShell (Administrateur : Windows PowerShell).

*Console: Démarrer → tapez powershell → Run as administrator.*

1. Tapez powershell
2. Cliquez sur Run as administrator (Exécuter en tant qu’administrateur)

*Console: La demande administrateur. Vérifiez qu’elle indique Windows PowerShell, puis cliquez sur Yes (Oui).*

1. Windows PowerShell
2. Cliquez sur Yes (Oui)

> **Tip:** Plus rapide : clic droit sur le bouton Démarrer, puis Terminal (Admin) ou Windows PowerShell (Admin).

## Coller, scanner, approuver

1. Collez la ligne dans la fenêtre administrateur et appuyez sur Entrée.
2. Un QR code et un lien s’affichent. Scannez le QR code avec votre téléphone, ou maintenez Ctrl et cliquez sur le lien.
3. Connectez-vous à Wantastic et cliquez sur Claim Device.
4. Le PC se connecte tout seul et l’icône devient verte. Il apparaît Online dans Devices.

*Administrator: Windows PowerShell: Le programme d’installation affiche un QR code et un lien de revendication. Aucun jeton nécessaire.*

```
$ 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 et le QR code remplissent la clé pour vous. Il vous suffit de cliquer sur Claim Device.*

1. Claim public key est déjà rempli
2. Laissez Wantastic server tel quel
3. Cliquez sur Claim Device

> **Operational note:** Pas de QR code ni de lien après 30 secondes ? Appuyez sur Ctrl+C et utilisez Installer avec un jeton dans Autres façons d’installer.

## Vérifier le fonctionnement

1. Ouvrez une nouvelle fenêtre PowerShell et exécutez wantasticd status. La commande affiche Status: Connected.
2. L’icône de la zone de notification (près de l’horloge) indique l’état de la connexion.
3. Ouvrez Devices dans la console. Le PC apparaît Online.

PowerShell (nouvelle fenêtre):

```powershell
wantasticd status
```

*wantasticd status: Status: Connected et une VPN IP indiquent que le tunnel est établi.*

```
$ 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: Fenêtre Devices : le nouvel appareil apparaît sous son nom et passe Online en quelques secondes.*

1. Rechercher par nom
2. Le statut indique Online
3. L’IP Overlay correspond à wantasticd status
4. Last seen se met à jour en continu

## Gérer le service

- Vous pouvez aussi utiliser services.msc → Wantastic Overlay Networking.
- Si le Pare-feu Windows demande si wantasticd.exe peut communiquer, cliquez sur Autoriser. Les connexions directes entre appareils en ont besoin.
- Si votre antivirus bloque l’adaptateur du tunnel, ajoutez une exclusion pour C:\Program Files\Wantastic\wantasticd.exe.
- Pour mettre à niveau, utilisez wantasticd update. Ne relancez pas install.ps1 sur un PC qui fonctionne.

PowerShell (administrateur):

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

## Autres méthodes d’installation

Ceci n’est utile que pour des cas particuliers.

### Assistant d’installation (.exe)

Téléchargez wantastic-setup-windows-amd64.exe (ou -arm64.exe) sur wantastic.app/download.

1. Ouvrez le fichier d’installation, cliquez sur Oui, puis sur Installer.
2. Cliquez sur l’icône Wantastic près de l’horloge et choisissez Log in….
3. Votre navigateur s’ouvre. Cliquez sur Claim Device.

> Installation silencieuse pour les déploiements : wantastic-setup-windows-amd64.exe /VERYSILENT /SUPPRESSMSGBOXES

### Installation avec un jeton

Pour de nombreux PC, ou si aucun QR code n’apparaît. Dans la console, ouvrez Account → Secrets, cliquez sur + New Secret, puis Generate, et copiez-le. Remplacez <TOKEN> ci-dessous.

PowerShell (administrateur):

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

> Traitez le jeton comme un mot de passe. Toute personne qui le détient peut ajouter des appareils à votre compte jusqu’à son expiration.

### Sans l’application de la zone de notification

Pour les serveurs et les PC partagés. Le service tourne toujours.

PowerShell (administrateur):

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

### Portail auto-hébergé

install.ps1 n’a pas d’option de portail. Installez d’abord, puis connectez-vous à votre portail et redémarrez.

PowerShell (administrateur):

```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 affiche Running.
- wantasticd status affiche Status: Connected.
- Le PC apparaît Online dans Devices, y compris après un redémarrage.

## Common issues

### Le programme d’installation s’arrête immédiatement.

```
Administrator privileges are required.
```

- **Where:** install.ps1
- **Likely cause:** PowerShell n’a pas été ouvert en tant qu’administrateur.
- **Fix:** Fermez la fenêtre. Cliquez sur Démarrer, tapez powershell, cliquez sur Run as administrator, puis sur Yes, et recollez la ligne.

PowerShell (administrateur):

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

### Aucun QR code ni lien ; le programme d’installation attend.

- **Where:** install.ps1 · === Logging in ===
- **Likely cause:** Les anciennes versions de wantasticd sous Windows ne peuvent pas afficher le QR code ni le lien de connexion.
- **Fix:** Appuyez sur Ctrl+C. Créez un jeton dans Account → Secrets et installez avec.

PowerShell (administrateur):

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

### La connexion n’a pas abouti et le service n’a pas démarré.

```
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:** L’approbation dans le navigateur n’a pas été faite à temps, a été refusée, ou le jeton était incorrect.
- **Fix:** Reconnectez-vous, approuvez l’appareil, puis démarrez le service.

PowerShell (administrateur):

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

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

### Le script ne s’exécute pas depuis un fichier enregistré.

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

- **Where:** PowerShell
- **Likely cause:** La stratégie PowerShell bloque les fichiers de script enregistrés.
- **Fix:** Utilisez plutôt l’installation en une ligne. Cette stratégie ne la bloque pas.

PowerShell (administrateur):

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

### sc.exe échoue lorsque le programme d’installation recrée le service.

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

- **Where:** install.ps1
- **Likely cause:** services.msc ou l’Observateur d’événements maintient encore l’ancien service ouvert.
- **Fix:** Fermez services.msc et l’Observateur d’événements (ou redémarrez), puis collez à nouveau le bloc d’installation.

### wantasticd n’est pas reconnu dans PowerShell.

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

- **Where:** PowerShell
- **Likely cause:** La modification du PATH ne s’applique qu’aux nouvelles fenêtres.
- **Fix:** Ouvrez une nouvelle fenêtre PowerShell.

### L’adaptateur du tunnel ne peut pas être créé.

```
Error creating interface: …
```

- **Where:** journal de débogage
- **Likely cause:** Un antivirus ou un logiciel EDR bloque le pilote du tunnel.
- **Fix:** Ajoutez une exclusion antivirus pour C:\Program Files\Wantastic\wantasticd.exe, puis redémarrez le service.

Redémarrage:

```powershell
Restart-Service wantasticd
```

### Une installation avec jeton échoue juste après le téléchargement.

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

- **Where:** install.ps1 / wantasticd login
- **Likely cause:** Le jeton est erroné, expiré, épuisé (Max Uses atteint) ou supprimé.
- **Fix:** Créez un nouveau secret dans Account → Secrets et connectez-vous avec celui-ci.

Correctif:

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

### La revendication ou la connexion est refusée.

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

- **Where:** wantasticd login / Console
- **Likely cause:** Le nombre d’appareils de votre forfait est atteint. La console affiche "You have reached the maximum number of devices for your plan."
- **Fix:** Supprimez un appareil inutilisé dans Devices (ligne → Delete) ou passez à un forfait supérieur. Revendiquez ensuite à nouveau.

### wantasticd status affiche Offline.

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

- **Where:** wantasticd status
- **Likely cause:** Le service en arrière-plan est arrêté, a planté ou est encore en cours de démarrage. La commande status ne le démarre pas.
- **Fix:** Démarrez le service.

Démarrer le service:

```powershell
Start-Service wantasticd
```

### status indique Running (tunnel down), ou peers affiche HANDSHAKE never pour (server).

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

- **Where:** journal du service
- **Likely cause:** Le réseau bloque le port UDP 51820 sortant vers le hub (wg.wantastic.app), ou le DNS ne fonctionne pas.
- **Fix:** Autorisez l’UDP 51820 sortant dans votre pare-feu, puis redémarrez le service.

Tester le DNS et redémarrer:

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

- **Verify:** wantasticd peers affiche un handshake récent (par exemple "8s ago") pour (server).

### L’accès local ne fonctionne pas sous Windows.

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

- **Where:** journal de débogage
- **Likely cause:** L’accès local fonctionne uniquement sous Linux et OpenWrt.
- **Fix:** Installez wantasticd sur un appareil Linux de ce LAN et activez l’accès local sur celui-ci.

## Continue with

- [Choose your install method](https://wantastic.app/fr/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/fr/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/fr/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/fr/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/fr/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/fr/docs/webproxy): Open a router, NAS or camera web page in the console. No port forward needed.
