---
title: "Installation unter Windows | Wantastic Docs"
description: "wantasticd unter Windows 10/11 und Windows Server installieren: PowerShell als Administrator öffnen, eine Zeile einfügen, Gerät im Browser bestätigen."
url: "https://wantastic.app/de/docs/install-windows"
category: "Install wantasticd"
reading_time: "3 Min."
---

# Installation unter Windows

wantasticd unter Windows 10/11 und Windows Server installieren: PowerShell als Administrator öffnen, eine Zeile einfügen, Gerät im Browser bestätigen.

> **Outcome:** wantasticd läuft als automatischer Windows-Dienst "Wantastic Overlay Networking", die Tray-App startet bei der Anmeldung, und der PC wird in der Konsole als Online angezeigt.

## Before you start

- Windows 10, Windows 11 oder Windows Server 2016+ (x64, ARM64 oder 32-Bit).
- Ein Windows-Konto, das Administrator-Abfragen bestätigen darf.
- Dein Wantastic-Konto (du meldest dich während der Installation einmal an).

## Schnellinstallation (4 Schritte)

1. Öffne PowerShell als Administrator.
2. Füge irm https://get.wantastic.app/install.ps1 | iex ein und drücke Enter.
3. Scanne den QR-Code oder Strg+Klick auf den Link.
4. Klicke im Browser auf Claim Device. Der PC verbindet sich von selbst.

PowerShell (Administrator):

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

> **Tip:** Lieber ein Setup-Assistent? Lade ihn unter wantastic.app/download herunter, starte ihn und klicke dann auf das Wantastic-Symbol neben der Uhr und wähle Log in….

> **Operational note:** Die Bilder unten zeigen jeden Schritt.

## PowerShell als Administrator öffnen

Der Installer richtet einen Windows-Dienst ein, daher muss PowerShell als Administrator laufen.

1. Klicke auf Start (oder drücke die Windows-Taste) und tippe powershell.
2. Klicke rechts auf Run as administrator (Als Administrator ausführen).
3. Windows fragt "Do you want to allow this app to make changes to your device?" (Möchten Sie zulassen, dass durch diese App Änderungen an Ihrem Gerät vorgenommen werden?). Klicke auf Yes (Ja).
4. Ein blaues Fenster öffnet sich. Sein Titel beginnt mit Administrator: Windows PowerShell.

*Console: Start → powershell tippen → Run as administrator.*

1. powershell tippen
2. Auf Run as administrator (Als Administrator ausführen) klicken

*Console: Die Administrator-Abfrage. Prüfe, dass dort Windows PowerShell steht, und klicke auf Yes (Ja).*

1. Windows PowerShell
2. Auf Yes (Ja) klicken

> **Tip:** Schneller: Rechtsklick auf den Start-Button und Terminal (Administrator) oder Windows PowerShell (Administrator) wählen.

## Einfügen, scannen, bestätigen

1. Füge die Zeile in das Administrator-Fenster ein und drücke Enter.
2. Ein QR-Code und ein Link erscheinen. Scanne den QR-Code mit dem Handy oder halte Strg gedrückt und klicke auf den Link.
3. Melde dich bei Wantastic an und klicke auf Claim Device.
4. Der PC verbindet sich von selbst und das Tray-Symbol wird grün. In Devices erscheint er als Online.

*Administrator: Windows PowerShell: Der Installer zeigt einen QR-Code und einen Claim-Link. Kein Token nötig.*

```
$ 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. Die Claim URL und der QR-Code füllen den Key für dich aus. Du klickst nur auf Claim Device.*

1. Claim public key ist bereits ausgefüllt
2. Wantastic server unverändert lassen
3. Auf Claim Device klicken

> **Operational note:** Nach 30 Sekunden kein QR-Code und kein Link? Drücke Strg+C und nutze Mit Token installieren unter Andere Installationswege.

## Funktion prüfen

1. Öffne ein neues PowerShell-Fenster und führe wantasticd status aus. Es zeigt Status: Connected.
2. Das Tray-Symbol (neben der Uhr) zeigt den Verbindungsstatus.
3. Öffne Devices in der Konsole. Der PC wird als Online angezeigt.

PowerShell (neues Fenster):

```powershell
wantasticd status
```

*wantasticd status: Status: Connected und eine VPN IP bedeuten, dass der Tunnel steht.*

```
$ 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: Fenster Devices: Das neue Gerät erscheint unter seinem Namen und wird innerhalb weniger Sekunden Online.*

1. Nach Name suchen
2. Status zeigt Online
3. Overlay-IP stimmt mit wantasticd status überein
4. Last seen wird laufend aktualisiert

## Dienst verwalten

- Du kannst auch services.msc → Wantastic Overlay Networking verwenden.
- Wenn die Windows-Firewall fragt, ob wantasticd.exe kommunizieren darf, klicke auf Zugriff zulassen. Direkte Verbindungen zwischen Geräten benötigen das.
- Wenn dein Virenschutz den Tunnel-Adapter blockiert, füge eine Ausnahme für C:\Program Files\Wantastic\wantasticd.exe hinzu.
- Verwende zum Aktualisieren wantasticd update. Führe install.ps1 auf einem funktionierenden PC nicht erneut aus.

PowerShell (Administrator):

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

## Weitere Installationswege

Das brauchst du nur für Sonderfälle.

### Setup-Assistent (.exe)

Lade wantastic-setup-windows-amd64.exe (oder -arm64.exe) unter wantastic.app/download herunter.

1. Öffne die Setup-Datei, klicke auf Ja und dann auf Installieren.
2. Klicke auf das Wantastic-Symbol neben der Uhr und wähle Log in….
3. Dein Browser öffnet sich. Klicke auf Claim Device.

> Stille Installation für Rollouts: wantastic-setup-windows-amd64.exe /VERYSILENT /SUPPRESSMSGBOXES

### Mit Token installieren

Für viele PCs oder wenn kein QR-Code erscheint. Öffne in der Konsole Account → Secrets, klicke auf + New Secret, dann auf Generate, und kopiere es. Ersetze unten <TOKEN>.

PowerShell (Administrator):

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

> Behandle das Token wie ein Passwort. Jeder, der es hat, kann bis zu dessen Ablauf Geräte zu deinem Konto hinzufügen.

### Ohne Tray-App

Für Server und gemeinsam genutzte PCs. Der Dienst läuft trotzdem.

PowerShell (Administrator):

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

### Selbst gehostetes Portal

install.ps1 hat keine Portal-Option. Installiere zuerst, melde dich dann an deinem Portal an und starte neu.

PowerShell (Administrator):

```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 zeigt Running.
- wantasticd status zeigt Status: Connected.
- Der PC wird unter Devices als Online angezeigt, auch nach einem Neustart.

## Common issues

### Der Installer bricht sofort ab.

```
Administrator privileges are required.
```

- **Where:** install.ps1
- **Likely cause:** PowerShell wurde nicht als Administrator geöffnet.
- **Fix:** Schließe das Fenster. Klicke auf Start, tippe powershell, klicke auf Run as administrator, dann auf Yes, und füge die Zeile erneut ein.

PowerShell (Administrator):

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

### Kein QR-Code und kein Link; der Installer wartet.

- **Where:** install.ps1 · === Logging in ===
- **Likely cause:** Ältere wantasticd-Versionen unter Windows können QR-Code und Anmeldelink nicht anzeigen.
- **Fix:** Drücke Strg+C. Erstelle ein Token unter Account → Secrets und installiere damit.

PowerShell (Administrator):

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

### Die Anmeldung wurde nicht abgeschlossen und der Dienst startete nicht.

```
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:** Die Bestätigung im Browser kam nicht rechtzeitig, wurde abgelehnt, oder das Token war falsch.
- **Fix:** Melde dich erneut an, bestätige das Gerät und starte dann den Dienst.

PowerShell (Administrator):

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

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

### Das Skript läuft nicht aus einer gespeicherten Datei.

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

- **Where:** PowerShell
- **Likely cause:** Die PowerShell-Richtlinie blockiert gespeicherte Skriptdateien.
- **Fix:** Nutze stattdessen die Einzeilen-Installation. Diese Richtlinie blockiert sie nicht.

PowerShell (Administrator):

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

### sc.exe schlägt fehl, während der Installer den Dienst neu anlegt.

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

- **Where:** install.ps1
- **Likely cause:** services.msc oder die Ereignisanzeige hat den alten Dienst noch geöffnet.
- **Fix:** Schließe services.msc und die Ereignisanzeige (oder starte neu) und füge den Installationsblock erneut ein.

### wantasticd wird in PowerShell nicht erkannt.

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

- **Where:** PowerShell
- **Likely cause:** Die PATH-Änderung gilt nur für neue Fenster.
- **Fix:** Öffne ein neues PowerShell-Fenster.

### Der Tunnel-Adapter kann nicht erstellt werden.

```
Error creating interface: …
```

- **Where:** Debug-Log
- **Likely cause:** Virenschutz- oder EDR-Software blockiert den Tunnel-Treiber.
- **Fix:** Füge eine Virenschutz-Ausnahme für C:\Program Files\Wantastic\wantasticd.exe hinzu und starte dann den Dienst neu.

Neu starten:

```powershell
Restart-Service wantasticd
```

### Eine Token-Installation schlägt direkt nach dem Download fehl.

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

- **Where:** install.ps1 / wantasticd login
- **Likely cause:** Das Token ist falsch, abgelaufen, aufgebraucht (Max Uses erreicht) oder gelöscht.
- **Fix:** Erstelle ein neues Secret unter Account → Secrets und melde dich damit an.

Lösung:

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

### Die Zuordnung oder die Anmeldung wird abgelehnt.

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

- **Where:** wantasticd login / Konsole
- **Likely cause:** Die Geräteanzahl deines Tarifs ist ausgeschöpft. Die Konsole zeigt "You have reached the maximum number of devices for your plan." an.
- **Fix:** Lösche unter Devices ein nicht genutztes Gerät (Zeile → Delete) oder wechsle in einen höheren Tarif. Ordne das Gerät dann erneut zu.

### wantasticd status gibt Offline aus.

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

- **Where:** wantasticd status
- **Likely cause:** Der Hintergrunddienst ist gestoppt, abgestürzt oder startet noch. Der Statusbefehl startet ihn nicht.
- **Fix:** Starte den Dienst.

Dienst starten:

```powershell
Start-Service wantasticd
```

### status meldet Running (tunnel down), oder peers zeigt HANDSHAKE never für (server).

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

- **Where:** Dienst-Log
- **Likely cause:** Das Netzwerk blockiert ausgehenden UDP-Port 51820 zum Hub (wg.wantastic.app), oder DNS funktioniert nicht.
- **Fix:** Erlaube ausgehendes UDP 51820 in deiner Firewall und starte dann den Dienst neu.

DNS testen und neu starten:

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

- **Verify:** wantasticd peers zeigt für (server) einen aktuellen Handshake (zum Beispiel "8s ago").

### Lokaler Zugriff funktioniert unter Windows nicht.

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

- **Where:** Debug-Log
- **Likely cause:** Lokaler Zugriff funktioniert nur unter Linux und OpenWrt.
- **Fix:** Installiere wantasticd auf einem Linux-Gerät in diesem LAN und aktiviere dort den lokalen Zugriff.

## Continue with

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