Skip to content

Shared Password Hash

When using the Shared Password feature, the password is not stored in plain text. Instead, only a secure hash of the password is stored.

Hashing is performed using the Argon2id algorithm, which is designed to resist brute-force and rainbow table attacks. This makes recovering the original password from the stored hash computationally impractical, provided the password is sufficiently strong.

If you need to set or change the shared password hash manually (for example, when deploying settings via Group Policy), you can generate the hash using the following command:

tls -hash <YourPassword>

Replace <YourPassword> with the desired shared password. If the password contains spaces or special characters, enclose it in quotes as required by your command-line shell.

The command also supports use in scripts, including pipelines and output redirection.