---
title: "macOS- und Windows-Fehler | Wantastic Docs"
description: "launchd-, Gatekeeper-, Tray-, sc.exe- und Windows-Dienstfehler mit den einfachsten Lösungen."
url: "https://wantastic.app/de/docs/errors-macos-windows"
category: "Troubleshooting"
reading_time: "6 Min."
---

# macOS- und Windows-Fehler

launchd-, Gatekeeper-, Tray-, sc.exe- und Windows-Dienstfehler mit den einfachsten Lösungen.

> **Outcome:** Der wantasticd-Dienst startet beim Booten und wantasticd status zeigt Connected.

## Before you start

- sudo unter macOS oder PowerShell als Administrator unter Windows.

## Bevor du beginnst

- macOS: Installiere und ordne mit der Schnellinstallation zu. Logs liegen in /Library/Logs/Wantastic/wantasticd.log.
- Windows: Installiere mit einem Token. Der Zuordnungs-QR-Code wird unter Windows nicht angezeigt.
- Windows hat keine Logdatei. Führe den Dienst einmal im Vordergrund aus, um den Fehler zu sehen.

### macOS

Terminal:

```bash
curl -fsSL https://get.wantastic.app/install.sh | sudo sh; sudo wantasticd genkey
# after "Device claimed": press Ctrl+C, then:
sudo launchctl kickstart -k system/com.wantastic.wantasticd
```

### Windows

Öffne PowerShell als Administrator (Start → powershell tippen → Run as administrator → Yes), füge diese Zeile ein und bestätige das Gerät im Browser.

PowerShell (Admin):

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

## Was zu prüfen ist

### macOS

Terminal:

```bash
wantasticd status
tail -n 50 /Library/Logs/Wantastic/wantasticd.log
sudo launchctl kickstart -k system/com.wantastic.wantasticd
```

### Windows

PowerShell (Admin):

```powershell
sc.exe query wantasticd
sc.exe stop wantasticd
& "C:\Program Files\Wantastic\wantasticd.exe" connect --config "C:\ProgramData\Wantastic\config.conf" --tray=false -v *> "$env:TEMP\wantasticd.log"
Get-Content "$env:TEMP\wantasticd.log" -Tail 50
```

*Fehler: normales PowerShell-Fenster: Das Fenster hat keine Administratorrechte, daher bricht der Installer ab.*

```
$ PS C:\Users\you> irm https://get.wantastic.app/install.ps1 | iex
Administrator privileges are required.
Right-click PowerShell, choose 'Run as administrator', and run again:
```

*Behoben: Administrator: Windows PowerShell: Dieselbe Zeile in einem mit Run as administrator geöffneten Fenster, dann im Browser bestätigen.*

```
$ PS C:\Windows\system32> irm https://get.wantastic.app/install.ps1 | iex
wantasticd v1.0.54+377f3c0 is installed and running as a Windows Service.
```

## Kurzübersicht

| Fehler | Einfachste Lösung |
| --- | --- |
| Error: on macOS the installer needs root. | Setze sudo vor sh. |
| Interface name must be utun[0-9]* | WANTASTIC_TUN_NAME entfernen. |
| Killed by Gatekeeper / „cannot be opened“ | Quarantäne entfernen und signieren. |
| Tray „Status: Daemon not running“ | Dienst neu starten. |
| Failed to <action> (sc.exe exit code N). | services.msc schließen oder neu starten. |
| The service is installed but not started because this device is not logged in yet. | wantasticd login --no-connect, then Start-Service wantasticd. |
| Administrator privileges are required. | PowerShell mit Run as administrator (Als Administrator ausführen) öffnen. |
| Error creating interface: … (Wintun) | Als Administrator ausführen; im Virenscanner erlauben. |

## Verify the result

- wantasticd status zeigt Connected.
- Das Gerät ist unter Devices „Online“.

## Common issues

### macOS-Installation bricht sofort ab.

```
Error: on macOS the installer needs root.
```

- **Where:** install.sh (macOS)
- **Likely cause:** Der Installer wurde nicht mit sudo ausgeführt.
- **Fix:** Führe die Schnellinstallation mit sudo vor sh aus und ordne dann das Gerät zu.

1. Führe den Befehl aus.
2. Öffne die Claim URL, melde dich an und klicke auf Claim Device.
3. Drücke nach „Device claimed“ Ctrl+C.
4. Führe aus: sudo launchctl kickstart -k system/com.wantastic.wantasticd

Terminal:

```bash
curl -fsSL https://get.wantastic.app/install.sh | sudo sh; sudo wantasticd genkey
```

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

### macOS: zugeordnet, aber das Gerät bleibt „Offline“.

- **Where:** wantasticd genkey (macOS)
- **Likely cause:** genkey lief ohne sudo, daher wurde die Konfiguration in ~/Library/Application Support/Wantastic gespeichert, das der Dienst nicht liest.
- **Fix:** Führe genkey erneut mit sudo aus, ordne erneut zu und starte dann den Dienst neu.

Terminal:

```bash
sudo wantasticd genkey
# after "Device claimed": press Ctrl+C, then:
sudo launchctl kickstart -k system/com.wantastic.wantasticd
```

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

### macOS lehnt einen benutzerdefinierten TUN-Namen ab.

```
Interface name must be utun[0-9]*
```

- **Where:** wantasticd-Logs (macOS)
- **Likely cause:** WANTASTIC_TUN_NAME ist auf einen Namen gesetzt, der nicht mit utun beginnt.
- **Fix:** Entferne die Einstellung. macOS wählt selbst einen utun-Namen.

Terminal:

```bash
unset WANTASTIC_TUN_NAME
sudo launchctl kickstart -k system/com.wantastic.wantasticd
```

- **Verify:** wantasticd status zeigt Mode TUN (utunN).

### macOS beendet die Binärdatei oder meldet, dass sie nicht geöffnet werden kann.

- **Where:** macOS Gatekeeper
- **Likely cause:** Die Datei hat nach einer manuellen Kopie das Quarantäne-Flag oder eine ungültige Signatur.
- **Fix:** Entferne das Quarantäne-Flag und signiere die Binärdatei.

Terminal:

```bash
sudo xattr -d com.apple.quarantine /usr/local/bin/wantasticd
sudo codesign -f -s - /usr/local/bin/wantasticd
sudo launchctl kickstart -k system/com.wantastic.wantasticd
```

- **Verify:** wantasticd version läuft.

### Ein Gerät ist gelistet, aber vom Mac aus nicht erreichbar.

- **Where:** macOS
- **Likely cause:** Der Tunnel ist down, oder die Route führt nicht über utun.
- **Fix:** Starte den Dienst neu und prüfe dann die Route.

Terminal:

```bash
sudo launchctl kickstart -k system/com.wantastic.wantasticd
wantasticd status
route -n get <peer-ip>
```

- **Verify:** route -n get zeigt interface: utunN.

### Tray meldet, dass der Daemon nicht läuft.

```
Status: Daemon not running
```

- **Where:** macOS-Menüleisten-App
- **Likely cause:** Der Dienst wurde gestoppt oder ist abgestürzt.
- **Fix:** Starte den Dienst neu und prüfe das Log.

Terminal:

```bash
sudo launchctl kickstart -k system/com.wantastic.wantasticd
tail -n 50 /Library/Logs/Wantastic/wantasticd.log
```

- **Verify:** Das Tray zeigt Connected.

### macOS-Firewall blockiert P2P.

```
[P2P] Could not add … to the application firewall
```

- **Where:** wantasticd-Logs (macOS)
- **Likely cause:** Die macOS-Firewall hat die Regel abgelehnt. „Could not allow …“ ist ähnlich.
- **Fix:** Erlaube unter System Settings → Network → Firewall → Options eingehende Verbindungen für wantasticd.

- **Verify:** wantasticd peers zeigt direkte Pfade.

### WLAN-Name wird als geschwärzt angezeigt.

- **Where:** Konsole / Geräteinfo (macOS)
- **Likely cause:** Location Services ist für wantasticd deaktiviert.
- **Fix:** Aktiviere Location Services für wantasticd unter System Settings → Privacy & Security.

- **Verify:** Der WLAN-Name ist sichtbar.

### Alter Log-Speicherort.

- **Where:** macOS
- **Likely cause:** Vor Version 1.0.50 lag das Log unter /var/log/wantasticd.log.
- **Fix:** Verwende bei aktuellen Versionen /Library/Logs/Wantastic/wantasticd.log.

- **Verify:** Die Logdatei enthält aktuelle Zeilen.

### sc.exe-Schritt schlägt während der Installation fehl.

```
Failed to <action> (sc.exe exit code N).
```

- **Where:** install.ps1
- **Likely cause:** Meist Exitcode 1072: Services (services.msc) oder ein anderes Tool hält den Dienst offen.
- **Fix:** Schließe Services, Task-Manager und Ereignisanzeige oder starte neu. Führe dann install.ps1 erneut aus.

PowerShell (Admin):

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

- **Verify:** Der Installer wird abgeschlossen.

### Windows-Dienst läuft nach der Installation nicht.

```
The wantasticd service did not reach the Running state.
```

- **Where:** install.ps1
- **Likely cause:** Der Login ist fehlgeschlagen, daher ist die Konfiguration nur ein Platzhalter.
- **Fix:** Melde dich mit einem neuen Token an und starte dann den Dienst neu.

PowerShell (Admin):

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

- **Verify:** sc.exe query wantasticd zeigt RUNNING.

### Dienst startet nicht beim Booten.

```
The wantasticd service was not configured for automatic startup.
```

- **Where:** install.ps1
- **Likely cause:** Die Einstellung ist fehlgeschlagen oder eine Richtlinie hat sie geändert.
- **Fix:** Stelle den automatischen Start manuell ein.

PowerShell (Admin):

```powershell
sc.exe config wantasticd start= auto
```

- **Verify:** sc.exe qc wantasticd zeigt AUTO_START.

### Dienst fehlt nach der Installation.

```
The wantasticd service was not found after installation.
```

- **Where:** install.ps1
- **Likely cause:** PowerShell wurde nicht als Administrator ausgeführt, oder eine Richtlinie hat es blockiert.
- **Fix:** Führe install.ps1 erneut in PowerShell als Administrator aus.

PowerShell (Admin):

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

- **Verify:** sc.exe query wantasticd funktioniert.

### Login schlägt bei der Windows-Installation fehl.

```
Login did not complete (exit N).
```

- **Where:** install.ps1
- **Likely cause:** Die Bestätigung im Browser kam nicht rechtzeitig oder wurde abgelehnt, oder ein Token wurde abgewiesen.
- **Fix:** Melde dich erneut an und bestätige das Gerät, dann starte den Dienst.

PowerShell (Admin):

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

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

### Der Installer bricht sofort ab.

```
Administrator privileges are required.
```

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

PowerShell (Admin):

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

- **Verify:** Der Installer wird abgeschlossen.

### Fehler des Windows-Dienstmanagers.

```
windows service failed: …
```

- **Where:** Ereignisanzeige / Ausführung im Vordergrund
- **Likely cause:** Der Dienst-Wrapper ist fehlgeschlagen. „failed to determine if interactive session“ hängt damit zusammen.
- **Fix:** Führe im Vordergrund mit -v aus, um den eigentlichen Fehler zu sehen, und installiere dann als Administrator neu.

- **Verify:** Der Dienst läuft.

### Wintun-Adapter kann nicht erstellt werden.

```
Error creating interface: …
```

- **Where:** wantasticd (Windows)
- **Likely cause:** PowerShell läuft nicht mit erhöhten Rechten, oder der Virenscanner blockiert den Wintun-Treiber.
- **Fix:** Führe als Administrator aus und erlaube C:\Program Files\Wantastic in deiner Sicherheitssoftware.

- **Verify:** wantasticd status zeigt Mode TUN (wantastic0).

### Unter Windows ist kein QR-Code und keine Login-Aufforderung sichtbar.

- **Where:** install.ps1 · wantasticd login (Windows)
- **Likely cause:** Ältere wantasticd-Versionen unter Windows können nicht in PowerShell ausgeben.
- **Fix:** Drücke Strg+C, erstelle ein Token unter Account → Secrets und installiere damit.

PowerShell (Admin):

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

- **Verify:** Der Installer meldet, dass der Dienst läuft.

### Deinstallation unter Windows.

- **Where:** Windows
- **Likely cause:** Es gibt kein Deinstallationsskript.
- **Fix:** Stoppe und lösche den Dienst und entferne dann die Ordner.

PowerShell (Admin):

```powershell
sc.exe stop wantasticd; sc.exe delete wantasticd
Remove-ItemProperty -Path HKLM:\Software\Microsoft\Windows\CurrentVersion\Run -Name Wantastic -ErrorAction SilentlyContinue
Remove-Item -Recurse -Force "C:\Program Files\Wantastic","C:\ProgramData\Wantastic"
```

- **Verify:** sc.exe query wantasticd meldet, dass der Dienst nicht existiert.

## Continue with

- [Troubleshooting: start here](https://wantastic.app/de/docs/troubleshooting): Fix most problems in 3 steps. If that does not work, find your exact error in the table and open the matching guide.
- [Install on macOS](https://wantastic.app/de/docs/install-macos): Install wantasticd on a Mac (Apple silicon or Intel) in 2 minutes: one Terminal command, scan a QR code, click Claim Device.
- [Install on Windows](https://wantastic.app/de/docs/install-windows): Install wantasticd on Windows 10/11 and Windows Server: open PowerShell as Administrator, paste one line, approve the device in your browser.
- [Installer errors (install.sh and install.ps1)](https://wantastic.app/de/docs/errors-installer): Every message the Wantastic installers print when they stop, what it means and the easiest fix.
- [Update and rollback errors](https://wantastic.app/de/docs/errors-update): Fix self-update failures, read the update log and roll back to the previous binary.
