Skip to main content

# Shutdown and Uninstall

## Stop the Service​

- Tray mode: choose `Exit` from the tray menu.
- Terminal mode: close the window launched by `start-backend.cmd`, `start-backend.command`, or `start-backend.sh`, or stop the backend process directly.
- Docker mode: run `docker compose down`.

## Back Up Before Uninstalling​

If you still need your scripts, resources, reports, or schedule history, back up the app data directory first. Common things worth keeping include:

- `scripts/`: scripts and script packages
- `files/`: resources, screenshots, installer packages, and other assets
- `reports/`: batch authorization reports and exported schedule logs
- device lists, KVDB, TableDB, schedules, and other saved data

## Uninstall Steps​

1. Stop the running service.
2. Remove shortcuts and auto-start entries.
3. Delete the extracted app directory.
4. Delete the app data directory only if you no longer need the saved data.
5. If you used `Settings → MCP Install`, it is recommended to remove those integrations before uninstalling the app.

## Common Data Directory Locations​

- macOS: `~/Library/Application Support/XXTLanControl`
- Windows: `%APPDATA%/XXTLanControl`
- Linux: `$XDG_DATA_HOME/XXTLanControl` or `~/.local/share/XXTLanControl`