# \[SOLVED\] Disable admin interface

**URL:** <https://vaultwarden.discourse.group/t/solved-disable-admin-interface/234>\
**Category:** Help\
**Created:** [August 8, 2020, 5:33pm UTC](https://vaultwarden.discourse.group/t/solved-disable-admin-interface/234 "2020-08-08T17:33:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![aponsin](https://avatars.discourse-cdn.com/v4/letter/a/91b2a8/32.png) [@aponsin](https://vaultwarden.discourse.group/u/aponsin)\
**Post date:** [August 8, 2020, 5:33pm UTC](https://vaultwarden.discourse.group/t/solved-disable-admin-interface/234/1 "2020-08-08T17:33:20Z")

</div>

Hello,

If I don’t say something wrong, Bitwarden RS has a runtime configuration. So, if I put a `"#"` in front of `ADMIN_TOKEN=P7ga5xSZKGZP` in the `.env` file and I delete the line `"admin_token": "P7ga5xSZKGZP..."` from the `data/config.json` file, the administration interface should no longer be accessible, right?

Actually it works, but I have to restart the service: `sudo systemctl restart bitwardenrs.service`, is that normal?

In advance, thanks!

---

<div class="post-metadata">

**Author:** ![dani](https://yyz2.discourse-cdn.com/free1/user_avatar/vaultwarden.discourse.group/dani/32/2_2.png) [@dani](https://vaultwarden.discourse.group/u/dani)\
**Post date:** [August 12, 2020, 3:53pm UTC](https://vaultwarden.discourse.group/t/solved-disable-admin-interface/234/2 "2020-08-12T15:53:12Z")

</div>

To change the file at runtime, you need to make the change from the admin page itself, changing the config.json file or the environment variables will always require a restart.

---

<div class="post-metadata">

**Author:** ![aponsin](https://avatars.discourse-cdn.com/v4/letter/a/91b2a8/32.png) [@aponsin](https://vaultwarden.discourse.group/u/aponsin)\
**Post date:** [August 29, 2020, 12:38pm UTC](https://vaultwarden.discourse.group/t/solved-disable-admin-interface/234/3 "2020-08-29T12:38:15Z")

</div>

OK but, to enable the admin page, the `ADMIN_TOKEN` variable must be uncommented and set with a token…

So how do I disable the administration page from the administration page itself?

In advance, thanks!

---

<div class="post-metadata">

**Author:** ![dani](https://yyz2.discourse-cdn.com/free1/user_avatar/vaultwarden.discourse.group/dani/32/2_2.png) [@dani](https://vaultwarden.discourse.group/u/dani)\
**Post date:** [August 29, 2020, 12:54pm UTC](https://vaultwarden.discourse.group/t/solved-disable-admin-interface/234/4 "2020-08-29T12:54:21Z")

</div>

You would need to remove the ADMIN\_TOKEN variable and then restart the server.
