# Manage or Restore the Default Administrator Account

This page provides instructions for managing the default admin user account.

## Reset the Default Administrator Account

When you install YouTrack for the first time, you set the username and password for the default administrator account. This account is assigned the System Admin role in the Global project.

If you forget the credentials for the default administrator account or have inherited an installation configured by another administrator, you can reset the username and password for the account to their default values. You can also set the system properties for the default administrator when you restore the account.

You can also use this procedure when two-factor authentication is enabled and the default administrator no longer has access to the authentication app that is paired with the account. Resetting the default administrator account to its default state also disables two-factor authentication.

If you've forgotten the password for the default admin user account, you can restore it using the `Djetbrains.youtrack.admin.restore=true` parameter. For more information, see [Configuration Parameters](youtrack-java-start-parameters.html).

Procedure: To restore the default admin user account:

1. Stop YouTrack:

```CONSOLE
docker stop <containerId>
```

2. Execute the following command:

> **Note:**
> To make sure you see information that is relevant to your installation, select the tab that corresponds with the operating system used in your host environment.

Linux (Bash):

```CONSOLE
docker run --rm -it \
-v <path to conf directory>:/opt/youtrack/conf \
jetbrains/youtrack:<version> \
configure-next-start --J-Djetbrains.youtrack.admin.restore=true
```

Windows (PowerShell):

```SHELL
docker run --rm --it `
-v <path to conf directory>:/opt/youtrack/conf `
jetbrains/youtrack:<version> `
configure-next-start --J-Djetbrains.youtrack.admin.restore=true
```

* Replace `<path to conf directory>` with the full path to the conf directory on the Docker host that is mapped to `/opt/youtrack/conf` in the container.

* Replace `<version>` with the current version and build of your YouTrack server.

3. Start YouTrack:

```CONSOLE
docker start <containerId>
```

* When YouTrack starts, the username and password for the default administrator account are reset to their default values (`admin/admin`).

* The permissions that are granted to this account are reset to their defaults as well.

4. Log in to the application and change the system administrator password.

