Get current plesk admin password or reset plesk admin password

Retrieving the current Plesk administrator password depends on the operating system and Plesk version.
For Windows servers:
  • Connect to the server via Remote Desktop.
  • Open Command Prompt: From the Start menu, select “Run…” and type cmd.
  • Navigate to the Plesk bin directory:
Code
    cd "C:\Program Files (x86)\Plesk\admin\bin"

(Note: The path might vary slightly depending on your Plesk installation location.) retrieve the password.

Code
    plesksrvclient.exe -get

This command will display the Plesk admin password. You can also redirect the output to a file for later viewing:

Code
    plesksrvclient.exe -get -nogui > plesk_password.txt

For Linux servers:

The method to retrieve the password varies by Plesk version: Plesk versions prior to 10.
Code
    cat /etc/psa/.psa.shadow
Plesk versions 11 – 12.5.
Code
    plesk bin admin --show-password

Plesk versions 17 and higher.

Code
    plesk login

This command will generate a one-time login link that can be used to access the Plesk panel without needing the password directly.

Important Considerations:
  • Security:
    Be cautious when retrieving or displaying passwords in plain text, especially in shared environments.
  • Alternative:
    If you are unable to retrieve the password, you can reset it using specific commands provided by Plesk documentation for your version. For example, on Linux, you can use plesk bin admin --set-admin-password -passwd "YOUR_NEW_PASSWORD".

Similar Posts