---
schema_version: "1"
id: 9ab45ea6a91e099798e486605f5d79b83a995c3384777ce9b71497437ca19c44
title: tsm reset
collection: tableau
version: next
locale: en-gb
portal_url: https://docs.salesforce.com/tableau/next/en-gb/server/cli_reset_tsm.md
canonical_url: https://help.tableau.com/v0.0/server/en-gb/cli_reset_tsm.htm
source_site: help.tableau.com
content_type: documentation
content_hash: c4546ee9d7be577c206be9d0613011e6689d1fc98f2ca2ef374c8b48413de934
description: Reference for the tsm reset command to clear the initial admin user before creating a new one.
---
[Skip to main content](#main-content)

# tsm reset

Use the `tsm reset` command to clear the initial admin user so that you can enter a new one. After you run `tsm reset` you must rerun the `tabcmd [initialuser](https://help.tableau.com/v0.0/server/en-gb/tabcmd_cmd.htm#initialu)` command to create a new initial admin. The new name cannot be the same username as the previous admin user.

To use the existing initial admin user:

1. Run `tsm reset` to reset the existing initial user.
2. Run `tabcmd initialuser` to create a new initial admin.
3. Run `tsm reset` to reset the new admin user.
4. Run `tabcmd initialuser` to recreate the original initial admin.

If your organisation is using Active Directory or LDAP for the Tableau identity store, the account and password you specify must match an account in the directory.

### Synopsis

`tsm reset[option] [global options]`

### Option

\-d,--delete-all-sessions

Optional.

Delete all active user sessions when the server is reset.

\--request-timeout <timeout in seconds>

Optional.

Wait the specified amount of time for the command to finish. Default value is 1800 (30 minutes).

## Global options

\-h, --help

Optional.

Show the command help.

\-p, --password <password>

Required, along with `-u` or `--username` if no session is active.

Specify the password for the user specified in `-u` or `--username`.

If the password includes spaces or special characters, enclose it in quotes:

`--password "my password"`

\-s, --server https://<hostname>:8850

Optional.

Use the specified address for Tableau Services Manager. The URL must start with `https`, include port 8850, and use the server name not the IP address. For example `https://<tsm_hostname>:8850`. If no server is specified, `https://<localhost | dnsname>:8850` is assumed.

\--trust-admin-controller-cert

Optional.

Use this flag to trust the self-signed certificate on the TSM controller. For more information about certificate trust and CLI connections, see [Connecting TSM clients](https://help.tableau.com/v0.0/server/en-gb/tsm_overview.htm#Connecti).

\-u, --username <user>

Required if no session is active, along with `-p` or `--password`.

Specify a user account. If you do not include this option, the command is run using credentials you signed in with.