---
title: Disconnect the setup interface
project: OpenSync
version: 1.0
section: guides
language: en
license: MIT
url: https://totaljs.es/docs/opensync/1-0/guides/disconnect-setup/
updated: 2026-11-19T09:22:07.710Z
---

# Disconnect the setup interface

> Lock the setup interface for everyone, and open it again from the data folder.

When your instance is ready, you can lock the setup interface. Nobody can then open it, not even with the setup token. OpenSync keeps working with the access tokens you created.

## Disconnect it

1. On the **Setup** page, check **Disconnect the setup interface**. The **Setup token** field disappears.
2. Click **APPLY**.

From now on:

- `/setup/` answers `401` for every token.
- The setup token cannot connect as a client.
- The [access tokens](../access-tokens/) keep working.

## Open it again

You need access to the server and the [data folder](../../reference/data-folder/).

**1.** Stop OpenSync.

**2.** Open `databases/preferences.json` in a text editor and change `disconnected` to `false`:

```json
"disconnected": false
```

**3.** Start OpenSync and open `/setup/?token=` with your setup token. The setup token is the `token` value in the same file.
